Answers for "current path of script python"

2

python get script path

os.getcwd()
Posted by: Guest on June-03-2020
-3

get pyhton file path python

import os

os.path.realpath(__file__)
Posted by: Guest on October-13-2020

Code answers related to "current path of script python"

Python Answers by Framework

Browse Popular Code Answers by Language