python get location of script

53

python get location of script -

import os

file_path = os.path.realpath(__file__)

Comments

Submit
0 Comments