What does this line of code mean?

Thomas 'PointedEars' Lahn PointedEars at web.de
Sun Nov 16 23:07:41 CET 2014

Abdul Abdul wrote:

> 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?


An Python IDE like PyDev will also display the docstring of the method when 
you position the pointer cursor over the symbol.


Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

More information about the Python-list mailing list