在Python中自定义的函数可以有三类不同的参数 formal parameters positional arguments Keyword Arguments When a final formal parameter of the form **name is present, it receives a dictionary (see Mapping Types — dict) containing all keyword arguments except for those corre…
https://docs.python.org/2.7/tutorial/modules.html Modules If you quit from the Python interpreter and enter it again, the definitions you have made (functions and variables) are lost. Therefore, if you want to write a somewhat longer program, you are…