代码搜索结果
找到约 10,000 项符合
Python 的代码
helloworld.py
#!/usr/bin/env python
# Filename : helloworld.py
print 'Hello World'
func_key.py
#!/usr/bin/env python
# Filename: func_key.py
def func(a,b=5,c=10):
print 'a is',a,'and b is',b,'and c is',c
func(3,7)
func(25,c=24)
func(c=50,a=100)
using_dict.py
#!/usr/bin/env python
# Filename: using_dict.py
# 'ab' is short for 'a'ddress'b'ook
ab={ 'Swaroop' : 'swaroopch@byteofpython.info',
'Larry' : 'larry@wall.org',
'Matsumoto' : 'matz@ruby-lan
piedata.xml
Java
15.4
C++
pgm16_11.txt
#
# This file contains the Python code from Program 16.11 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R
pgm12_01.txt
#
# This file contains the Python code from Program 12.1 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R.
pgm09_07.txt
#
# This file contains the Python code from Program 9.7 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R.