Answers for "get current location in path in python"

9

get path to current directory python

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

how to get location using python

import os
os.system('echo $PWD')
Posted by: Guest on May-23-2021

Code answers related to "get current location in path in python"

Python Answers by Framework

Browse Popular Code Answers by Language