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


Groups > comp.lang.python > #80909

What does this line of code mean?

Date 2014-11-16 22:45 +0100
Subject What does this line of code mean?
From Abdul Abdul <abdul.sw84@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15905.1416174334.18130.python-list@python.org> (permalink)

Show all headers | 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