Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80909

What does this line of code mean?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <abdul.sw84@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.172
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.03; 'subject:code': 0.07; 'thanks.': 0.20; 'code:': 0.26; 'message-id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; 'subject:?': 0.36; 'skip:o 20': 0.38; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'kindly': 0.61; 'subject:this': 0.83
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=f4khfEXtQucE1KnA1BdJEnkjxFR+h3/3p7CUlD/eY4c=; b=koTR0w6AIrJhOxufhP2jL6R7HjqY/Y1NrICj8fJjj6wJRmKEaaFz87tdpNjewk00g5 VEjczLtIU7t/YwZUKemo+gW0Cws0okEQganDVeUef2h00LnbZT5zijhQyEA4sjUZAjOf ezb1F5NCOmsoyt33eTqOIIAUk9GTzU5qT3WK+uh1u6Gxu/clHcPz9hRCcWhNhc72MrUm tJLRTfntUAaSRb7BNljjVRgIe0T9Hr6BIETw8tcoB/RJ7RYby03Mdd0+vqlbY7HlSI6H s2Yipbt7DpfS5H2hbQmevlm2EymzifZ7sVijig9RyeHCQhVPkQ2GulktGti+0vb5Z5h1 u/1g==
MIME-Version 1.0
X-Received by 10.182.230.169 with SMTP id sz9mr20420997obc.31.1416174332485; Sun, 16 Nov 2014 13:45:32 -0800 (PST)
Date Sun, 16 Nov 2014 22:45:32 +0100
Subject What does this line of code mean?
From Abdul Abdul <abdul.sw84@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=001a11c32d0a072b80050800c8c5
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15905.1416174334.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416174334 news.xs4all.nl 2934 [2001:888:2000:d::a6]:42948
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80909

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I just came across the following line of code:

outputfile = os.path.splitext(infile)[0] + ".jpg"

Can you kindly explain to me what those parts mean?

Thanks.

Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

What does this line of code mean? Abdul Abdul <abdul.sw84@gmail.com> - 2014-11-16 22:45 +0100
  Re: What does this line of code mean? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-16 23:07 +0100
  Re: What does this line of code mean? Rick Johnson <rantingrickjohnson@gmail.com> - 2014-11-19 19:42 -0800

csiph-web