Using import argv

fallenapples

In Runtime
Messages
386
Location
Toronto, Ontario
I am stumped here. My python code is not display completely. This is my code
Code:
from sys import argv

script, first, second, third = argv

print ("The script is called: {}".format(script))
print ("Your first variable is: {}".format(first))
print ("Your second variable is: {}".format(second))
print ("Your third variable is: {}".format(third))

And when I run it in cm it displays the following
 

Attachments

  • 2.jpg
    2.jpg
    46.5 KB · Views: 3
Back
Top Bottom