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>