Get name of current script in Python
I’m trying to get the name of the Python script that is currently running.
I’m trying to get the name of the Python script that is currently running.
If I just use basename {} .txt, it will work:
Suppose I have a directory structure as follows
I am trying out shellcheck.