python get location of script

46

python get location of script -

import os

file_path = os.path.realpath(__file__)

Comments

Submit
0 Comments