how to find out exact path of file using python? -
How to find the correct path of the file in Python. It's very basic but I'm new to Python
If my file name is file.txt
path = "D: \\ utilities \\ folder \\ dragon \\ Model \\ file .txt How to get the exact path by giving only the filename?
abspath (path) in particular <=> "text" << P> os.path , which: back one The normalized full path name is the version of path .
Comments
Post a Comment