Answers for "os.path.basename(__file__) python"

1

python get base directory

import os
os.path.dirname(os.path.realpath(__file__))
Posted by: Guest on May-11-2020

Code answers related to "os.path.basename(__file__) python"

Python Answers by Framework

Browse Popular Code Answers by Language