My Tech Notes
Python: Get file absolute path
Use
os.path.abspath
function:
import os
os.path.abspath('abc/abc.txt')
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment