I have a Python script with a few functions.
Is it possible to launch the script from terminal and then leap straight to a particular function, following conditions within the script? I.e. python3 script.py function
.
I was thinking this would be a good alternative to asking the user to answer Y/N to starting functions within script.