Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
get the previous working directory in python
AJO
Programming language:
Python
2021-06-09 01:11:48
0
Q:
get the previous working directory in python
Dylan
Code:
Python
2021-07-08 01:36:31
path = os.path.dirname(__file__) print(path)
0
Tags
python
get
Related
How do I get the parent directory in Python?
python get current user windows
how do i get parent directory python
get directory of file python
python find specific file in directory
python ctypes get current window
get path to current directory python
os get current directory
change the current working directory in python
get current working directory python
working directory python
python get parent directory
get working directory python
change working directory python
how to check in which directory python in running
python list files in current directory
New to Communities?
Join the community