InterviewSolution
Saved Bookmarks
| 1. |
What Is The Purpose Of __filename Variable? |
|
Answer» The __filename represents the FILENAME of the code being executed. This is the resolved absolute path of this code file. For a MAIN program this is not necessarily the same filename used in the command line. The value INSIDE a MODULE is the path to that module file.
The __filename represents the filename of the code being executed. This is the resolved absolute path of this code file. For a main program this is not necessarily the same filename used in the command line. The value inside a module is the path to that module file.
|
|