Answers for "full path of python script"

2

python get script path

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

python how to get directory of script

import os
print(os.path.abspath(''))
Posted by: Guest on December-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language