Ask a question to get started
Enter to send•Shift+Enter new line
invoked_name() -> str
Return the command name this process was launched with.
Cached: sys.argv[0] and the launch environment are fixed for the life of the process. Tests that vary either must call invoked_name.cache_clear().
sys.argv[0]
invoked_name.cache_clear()