代码搜索结果

找到约 10,000 项符合 Python 的代码

pluraltest1.py

"""Unit test for plural1.py This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __author__ = "Ma

odbchelper.py

"""odbchelper.py sample script This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. All this stuff at

pluraltest.py

"""Unit test for plural.py This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __author__ = "Mar

fibonacci.py

"""Fibonacci sequences using generators This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __au

regression.py

"""Regression testing framework This module will search for scripts in the same directory named XYZtest.py. Each such script should be a test suite that tests a module through PyUnit. (As of Python

urllister.py

"""Extract list of URLs in a web page This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __auth

第四章 流程控制 suzhe (转).txt

作者:softrain email: softrain@edu.21cn.com 日期:2001-7-21 9:54:49 第四章 流程控制 前面我们已经见到了如何由用while结构控制流程运行。这一章我们介绍更多的控制结构 。Python具有和其它语言类似的控制结构但略有差别。 4.1 If 语句 If 语句可能是最基本的程序分支语句了。例如: >>> if x < 0

readme

This directory contains some tools that can be used to help develop python applications. There is a graphical front end to the profiler and debugger, and a graphical python console, and a 'module bro

svm_struct_api_types.h

/***********************************************************************/ /* */ /* svm_struct_api.h

for.py

#!/usr/bin/python # Filename: for.py for i in range(1, 5): print i else: print 'The for loop is over'