2021-04-19 20:24:26 +00:00

9 lines
310 B
Python

from sys import argv
script, first, second, third = argv
print("The script is called: ", script)
print(f"The first variable was: {first}")
print(f"The second variable was: {second}\nThe third variable was : {third}")
#To run this script you must call it from the terminal via - python ex13.py Arg1 Arg2 Arg3