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.
-- https://mail.python.org/mailman/listinfo/python-list
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.
-- https://mail.python.org/mailman/listinfo/python-list