Answers for "python get name of file that is currently running"

1

get self file name in python

import os

os.path.basename(__file__)
Posted by: Guest on May-26-2020

Code answers related to "python get name of file that is currently running"

Python Answers by Framework

Browse Popular Code Answers by Language