#! /usr/bin/python
'''区分argv与 '%s' 字符串传递之间的区别
argv 只是在最后传递参数
%s 字符串传递可以在任何位置传入。'''
script = raw_input("input the script file name:")
first = raw_input("input the first argv:")
second = raw_input("input the second argv:")
third = raw_input("input the third argv:")
na='kayson'
print "#" * 20
print "let's ta%slk about ." % na
print "-" * 20
print "The script is %s called:" % script
print "Your first variable is: ",first
print "your second variable is: ",second
print "%s Your third variable is: " % third
阅读(1560) | 评论(1) | 转发(0) |