代码搜索:Python

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

代码结果 10,000
www.eeworm.com/read/200523/5064763

py curves.py

#!/usr/bin/python import Gnuplot,crng,Gnuplot.PlotItems import os,sys gnuplotver = 4 def readfile(number): data = [] anchors = [] ref = [] guesses = [] truepos = None highest = 0.0 for x i
www.eeworm.com/read/199950/5074339

py example1.py

#!/usr/bin/python import sys sys.path.append("..") from gpstkPython import * try: time = DayTime() print 'Hello world!' print 'The current GPS week is', time.GPSfullweek() print 'T
www.eeworm.com/read/193974/5137939

py mailbox.py

#! /usr/bin/env python """Classes to handle Unix style, MMDF style, and MH style mailboxes.""" import rfc822 import os __all__ = ["UnixMailbox","MmdfMailbox","MHMailbox","Maildir","BabylMailbox",
www.eeworm.com/read/193974/5138044

py utf_7.py

""" Python 'utf-7' Codec Written by Brian Quinlan (brian@sweetapp.com). """ import codecs ### Codec APIs class Codec(codecs.Codec): # Note: Binding these as C functions will result in the clas
www.eeworm.com/read/193974/5138125

py __init__.py

# Copyright (C) 2001,2002 Python Software Foundation # Author: barry@zope.com (Barry Warsaw) """A package for parsing, handling, and generating email messages. """ __version__ = '2.5.3' __all__ = [
www.eeworm.com/read/193974/5138168

py mimemultipart.py

# Copyright (C) 2002 Python Software Foundation # Author: barry@zope.com (Barry Warsaw) """Base class for MIME multipart/* type messages. """ from email import MIMEBase class MIMEMultipart(MIMEB
www.eeworm.com/read/193974/5138188

py test_bufio.py

from test_support import verify, TestFailed, TESTFN # Simple test to ensure that optimizations in fileobject.c deliver # the expected results. For best testing, run this under a debug-build # Python
www.eeworm.com/read/193974/5138248

py test_descrtut.py

# This contains most of the executable examples from Guido's descr # tutorial, once at # # http://www.python.org/2.2/descrintro.html # # A few examples left implicit in the writeup were fleshed ou
www.eeworm.com/read/193974/5138340

py test_capi.py

# Run the _testcapi module tests (tests for the Python/C API): by defn, # these are all functions _testcapi exports whose name begins with 'test_'. import sys import test_support import _testcapi f
www.eeworm.com/read/193974/5138372

py test_exceptions.py

# Python test set -- part 5, built-in exceptions from test_support import * from types import ClassType import warnings import sys, traceback warnings.filterwarnings("error", "", OverflowWarning, __