Answers for "print current path python of working directory"

17

python get current directory

import os

print(os.getcwd())
Posted by: Guest on March-02-2021
9

get path to current directory python

import os
os.path.abspath(os.getcwd())
Posted by: Guest on September-16-2020

Code answers related to "print current path python of working directory"

Python Answers by Framework

Browse Popular Code Answers by Language