-
Pet Projects
Tag Archives: file handling
Another Python post! I am still learning the language. Since I cannot remember everything, I am posting it here for future reference. Get the Current Working Directory To get the “current working directory” do this: import os current_dir = os.getcwd() … Continue reading
Posted in General
Tagged abspath(), exists(), file, file handling, getcwd(), isdir(), isfile(), python
Leave a comment