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?
RTFM: <https://docs.python.org/3/search.html?q=splitext&check_keywords=yes&area=default> An Python IDE like PyDev will also display the docstring of the method when you position the pointer cursor over the symbol. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail. -- https://mail.python.org/mailman/listinfo/python-list