代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/444698/7608160
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:\python24\include
PYTHON_LIB = c:\python24\libs\python24.lib
www.eeworm.com/read/442749/7645682
py break.py
#!/usr/bin/env python
# Filename: break.py
while True:
s=raw_input('Enter something : ')
if s=='quit':
break
print 'Length of the string is',len(s)
print 'Done'
www.eeworm.com/read/442749/7645683
py mymodule_demo.py
#!/usr/bin/env python
# Filename: mymodule_demo.py
import mymodule
mymodule.sayhi()
print 'Version', mymodule.version
www.eeworm.com/read/442749/7645688
py using_name.py
#!/usr/bin/env python
# Filename: using_name.py
if __name__=='__main__':
print 'This program is being run by itself'
else:
print 'I am being imported from another module'
www.eeworm.com/read/442749/7645694
py continue.py
#!/usr/bin/env python
# Filename: continue.py
while True:
s=raw_input('Enter something : ')
if s=='quit':
break
if len(s)