How to launch python script with arguments


I've tried to launch a python script using the "Execute Shell Scrip/Task" or "Run Real JavaScript" but I don't know how to pass my variable (generated by user input) to my python script as an argument.

Use shell script, in the code section type:
python3 /path/to/your/ -option argument -option2 argument2

Edit: Sorry, didn't notice the variable is entered by the user, then the best way is to use applescript, once you obtain the value, simply use
do shell script "copy the code above"
to run python script.