代码搜索结果
找到约 10,000 项符合
Python 的代码
expression.py
#!/usr/bin/env python
# Filename: expression.py
length=5
breadth=2
area=length*breadth
print 'Area is',area
print 'Perimeter is',2*(length+breadth)
mymodule.py
#!/usr/bin/env python
# Filename: mymodule.py
def sayhi():
print 'Hi, this is mymodule speaking.'
version='0.1'
# End of mymodule.py
page82.html
Python Lists and Arrays
Data Structure
pgm15_19.txt
#
# This file contains the Python code from Program 15.19 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R
pgm15_17.txt
#
# This file contains the Python code from Program 15.17 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R
pgm14_11.txt
#
# This file contains the Python code from Program 14.11 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R
pgm11_18.txt
#
# This file contains the Python code from Program 11.18 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R
unicode.py
import wx
#----------------------------------------------------------------------
# Some unicode strings
chi_uni = (u'Python \u662f\u6700\u597d\u7684\u7de8\u7a0b\u8a9e\u8a00\uff01',