Hello,
In that case, I would use a filter that return os.path.splitext(myfile.path)[1] (the result will be '.jpeg' with your example).
Regards,
Michel
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment