Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Program-name/00-TASK.txt
Normal file
8
Task/Program-name/00-TASK.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
The task is to programmatically obtain the name used to invoke the program. (For example determine whether the user ran "python hello.py", or "python hellocaller.py", a program importing the code from "hello.py".)
|
||||
|
||||
Sometimes a [[multiline shebang]] is necessary in order to provide the script name to a language's internal ARGV.
|
||||
|
||||
See also [[Command-line arguments]]
|
||||
|
||||
Examples from [https://github.com/mcandre/scriptname GitHub].
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue