Subash Chandran posted: ">> python script.py var1 var2 import sys # contains the script name sys.argv[0] # contains the first variable (var1) sys.argv[1] # contains the second variable (var2) sys.argv[2]"
|

Subash Chandran posted: ">> python script.py var1 var2 import sys # contains the script name sys.argv[0] # contains the first variable (var1) sys.argv[1] # contains the second variable (var2) sys.argv[2]"
|
Write a newfangled code fragment at an earlier stage to use it. Then call another method and make sure their input is the correct one. The s...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.