What does this line of code mean?

Abdul Abdul abdul.sw84 at gmail.com
Sun Nov 16 16:45:32 EST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141116/ca7fa15f/attachment.html>


More information about the Python-list mailing list