代码搜索结果

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

tkmessagebox.py

# # Instant Python # $Id: tkMessageBox.py,v 1.1.1.1 2000/12/22 01:25:40 jcollins Exp $ # # tk common message boxes # # this module provides an interface to the native message boxes # available in Tk 4

test_al.py

#! /usr/bin/env python """Whimpy test script for the al module Roger E. Masse """ import al from test_support import verbose alattrs = ['__doc__', '__name__', 'getdefault', 'getminmax', 'getname',

test_imageop.py

#! /usr/bin/env python """Test script for the imageop module. This has the side effect of partially testing the imgfile module as well. Roger E. Masse """ from test_support import verbose, un

regex_tests.py

# Regex test suite and benchmark suite v1.5a2 # Due to the use of r"aw" strings, this file will # only work with Python 1.5 or higher. # The 3 possible outcomes for each pattern [SUCCEED, FAIL, SYN

test_errno.py

#! /usr/bin/env python """Test the errno module Roger E. Masse """ import errno from test_support import verbose errors = ['E2BIG', 'EACCES', 'EADDRINUSE', 'EADDRNOTAVAIL', 'EADV', 'EAF

test_ima.py

#! /usr/bin/env python """Test script for the imageop module. This has the side effect of partially testing the imgfile module as well. Roger E. Masse """ from test_support import verbose, un

test_err.py

#! /usr/bin/env python """Test the errno module Roger E. Masse """ import errno from test_support import verbose errors = ['E2BIG', 'EACCES', 'EADDRINUSE', 'EADDRNOTAVAIL', 'EADV', 'EAF

telnetli.py

"""TELNET client class. Based on RFC 854: TELNET Protocol Specification, by J. Postel and J. Reynolds Example: >>> from telnetlib import Telnet >>> tn = Telnet('www.python.org', 79) # connect to

regex_te.py

# Regex test suite and benchmark suite v1.5a2 # Due to the use of r"aw" strings, this file will # only work with Python 1.5 or higher. # The 3 possible outcomes for each pattern [SUCCEED, FAIL, SYN

mimeviewer.py

#! /usr/bin/env python # View a single MIME multipart message. # Display each part as a box. import string from types import * from Tkinter import * from ScrolledText import ScrolledText class Mime