代码搜索:Python

找到约 10,000 项符合「Python」的源代码

代码结果 10,000
www.eeworm.com/read/442749/7645701

py mymodule_demo2.py

#!/usr/bin/env python # Filename: mymodule_demo2.py from mymodule import sayhi,version # Alternative: # from mymodule import * sayhi() print 'Version',version
www.eeworm.com/read/442749/7645712

py func_default.py

#!/usr/bin/env python # Filename: func_default.py def say(message,times=1): print message*times say('Hello') say('World',5)
www.eeworm.com/read/442749/7645721

py func_return.py

#!/usr/bin/env python # Filename: func_return.py def maximum(x,y): if x>y: return x else: return y print maximum(2,3)
www.eeworm.com/read/442749/7645723

py lambda.py

#!/usr/bin/env python # Filename: lambda.py def make_repeater(n): return lambda s: s*n twice=make_repeater(2) print twice('word') print twice(5)
www.eeworm.com/read/442749/7645724

py using_sys.py

#!/usr/bin/env python # Filename: using_sys.py import sys print 'The command line arguments are:' for i in sys.argv: print i print '\n\nThe PYTHONPATH is',sys.path,'\n'
www.eeworm.com/read/441394/7671114

win makefile.win

#You must ensure nmake.exe, cl.exe, link.exe are in system path. #VCVARS32.bat #Under dosbox prompt #nmake -f Makefile.win PYTHON_INC = c:\python23\include PYTHON_LIB = c:\python23\libs\python23.lib
www.eeworm.com/read/438419/7731557

html 3.html

第三章 基本使用
www.eeworm.com/read/438419/7731558

html 9.html

第九章 类
www.eeworm.com/read/438419/7731561

html 7.html

第七章 输入输出
www.eeworm.com/read/435264/7794712

html ch03s03.html