how to find exact path of file in python.? This is very basic. But i am new to python
if my filename is file.txt
 path = "D:\\Utilities\\folder\\python\\model\\file.txt
how to get the exact path by giving only the filename?
how to find exact path of file in python.? This is very basic. But i am new to python
if my filename is file.txt
 path = "D:\\Utilities\\folder\\python\\model\\file.txt
how to get the exact path by giving only the filename?
Look into the os.path module, specifically abspath(path), which:
return[s] a normalized absolutized version of the pathname
path.
