摘要:
1 from sys import argv 2 3 script, frist, second, third = argv 4 5 print ("the script is called:",script) 6 print ("Your frist bus is:",frist) 7 print ("your second variable is:",second) ... 阅读全文
摘要:
1 # -*-coding:utf-8 -*- 2 from sys import argv 3 4 script, user_name, city = argv 5 rompt = ">>" #巧妙的提示符的运用 取一个变量名就ok了 6 7 print ("Hi %s, I'm the %s script." %(user_name, script)) 8 pr... 阅读全文