Answers for "how to know python directory"

15

working directory python

import os
cwd = os.getcwd()
Posted by: Guest on March-09-2020
3

get python directiory

import sys
print('n'.join(sys.path))
Posted by: Guest on May-09-2020

Code answers related to "how to know python directory"

Python Answers by Framework

Browse Popular Code Answers by Language