Pay attention, this is important! Your email is your login to use Learn Python 3 The Hard Way. If it is wrong you will have problems accessing it, viewing receipts, and downloading content.
If your email is wrong then just email help@learncodethehardway.org and ask to have it changed. If you meant to give this to someone else, then just ask to change it to their email, but you can't do this if you've downloaded everything.
Product Name | Learn Python 3 The Hard Way |
---|---|
Product Website | http://learnpythonthehardway.org/python3/ |
All Contents | In your customer service page. |
Your Receipt/Invoice | https://shop.learncodethehardway.org/customers/recinvoipt/ |
Your Account Information | https://shop.learncodethehardway.org/customers/ |
Copyright | All files are Copyright by Zed A. Shaw and all rights are reserved. By purchasing or downloading any file you agree to use them only for personal use and to not redistribute them. The use of the term "as you see fit" is intended to mean "on any devices you personally own", and does not consitute a redistribution license at all in the future or in the past. |
ex13.py
from sys import argv
script, first, second, third = argv
print("argv is:",argv) print("") print("The script name is:", script) print("The 1st arg is:", first) print("The 2nd arg is:", second) print("The 3rd arg is:", third) print("") print("The script name is:", argv[0]) print("The 1st arg is:", argv[1]) print("The 2nd arg is:", argv[2]) print("The 3rd arg is: " + argv[3]) print("") print(first, second, third) print(first+ second+ third)