Answers for "get full path to current directory python"

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 "get full path to current directory python"

Python Answers by Framework

Browse Popular Code Answers by Language