SyntaxFix
Write A Post
Hire A Developer
Questions
You can get it like this also.
filepath = os.path.abspath(f.name)