programming-examples/python/_Basics/Get the path and name of the file that is currently executing.py
2019-11-15 12:59:38 +01:00

2 lines
71 B
Python

import os
print("Current File Name : ",os.path.realpath(__file__))