代码搜索:PY
找到约 10,000 项符合「PY」的源代码
代码结果 10,000
www.eeworm.com/read/357707/10202619
py
www.eeworm.com/read/417349/10993683
py
www.eeworm.com/read/304706/13789024
py
www.eeworm.com/read/273921/10894727
py py_test.py
#!/usr/bin/python
import sys
from string import *
FILE_NAME = "/dev/my_devfs"
def main():
while 1 :
print "Send me numbers from 0 to 127"
print "or type Enter to return"
num_str = sys.stdin.
www.eeworm.com/read/468225/6995095
py py_class.py
'''py_class.py - Python source designed to demonstrate the use of python embedding'''
class Multiply:
def __init__(self):
self.a = 6
self.b = 5
def multiply(self):
c = self.a
www.eeworm.com/read/468225/6995097
py py_function.py
'''py_function.py - Python source designed to demonstrate the use of python embedding'''
def multiply():
c = 12345*6789
print 'The result of 12345 x 6789 :', c
return c
def multip
www.eeworm.com/read/468225/6995102
py py_thread.py
''' Demonstrate the use of python threading'''
import time
import threading
def ThreadFunc():
for i in range(15):
print '...Printed from my thread.'
time.sleep(1)
class MyThread(thre
www.eeworm.com/read/461717/7221378
py aardvark_py.py
#==========================================================================
# Aardvark Interface Library
#--------------------------------------------------------------------------
# Copyright (c)
www.eeworm.com/read/5581/47294
py gl_py.py
www.eeworm.com/read/438718/1823071
py py_compi.py
"""Routine to "compile" a .py file to a .pyc (or .pyo) file.
This module has intimate knowledge of the format of .pyc files.
"""
import imp
MAGIC = imp.get_magic()
def wr_long(f, x):
"Internal;