代码搜索结果

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

www7.py

#! /usr/bin/env python # www7.py -- display the contents of a URL in a Text widget # - set window title # - make window resizable # - update display while reading import sys import urllib from Tkint

www6.py

#! /usr/bin/env python # www6.py -- display the contents of a URL in a Text widget # - set window title # - make window resizable import sys import urllib from Tkinter import * def main(): if len(

video2rgb.py

#! /usr/bin/env python # Convert CMIF movie file(s) to a sequence of rgb images # Help function def help(): print 'Usage: video2rgb [options] [file] ...' print print 'Options:' print '-q

vedit.py

#! /usr/bin/env python # Edit CMIF movies interactively -- copy one or more files to an output file # XXX To do: # # - convert between formats (grey, rgb, rgb8, ...) # - change size # - cut out a g

sendcd.py

# Read CD audio data from the SCSI CD player and send it as UDP # packets to "recvcd.py" on another host. # # Usage: python sendcd.py [options] host [track | minutes seconds [frames]] # # Options: # "

03_restore_badfilename_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test description: # Negative Test: # Test for restoring domain with non existent fil

02_restore_badparm_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test description: # Negative Test: # Test for restoring domain with non existent opt

02_save_badparm_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test description: # Negative Test: # Test for saving domain with non existent option

01_pause_basic_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Paul Larson # Description: # Positive Tests: # Tests for xm pause # 1) Create domain, verify

01_dmesg_basic_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Woody Marvel import re from XmTestLib import * status, output = traceCommand("xm dmesg")