def function2(): """2nd """ pass
执行情况:
>>> import test02 >>> help(test02) Help on module test02: NAME test02 DESCRIPTION author:Zhhellop this is an absolute test program. FUNCTIONS function1() function2() 2nd DATA __all__ = ['function1', 'function2'] FILE c:\users\****\documents\python scripts\python_spider\csdn例子\test02.py >>>