Answers for "python how to get the current file name"

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 how to get the current file name"

Python Answers by Framework

Browse Popular Code Answers by Language