代码搜索:py
找到约 10,000 项符合「py」的源代码
代码结果 10,000
www.eeworm.com/read/356022/3043685
py py_codegen.py
# py_codegen.py: python code generator
# $Id: py_codegen.py,v 1.66 2007/08/07 12:15:21 agriggio Exp $
#
# Copyright (c) 2002-2007 Alberto Griggio
# License: MIT (see l
www.eeworm.com/read/174332/9595146
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/174332/9595150
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/174332/9595152
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