How to get an absolute file path in Python,os.path.abspath('mydir/myfile.txt')