In this we are going to see a basic program to check the path of the file using special variables in Python Programming Language.
def func():
print("The File Location is : " + __file__)
if __name__ == '__main__':
func()
# Coded By DHIRAJ SHELKE
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP