代码搜索结果
找到约 10,000 项符合
Python 的代码
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:
# "
cutfox.py
################# cutfox.py ################
#!/usr/bin/python
# -*- coding: gbk -*-
from __future__ import generators
import string, sys, os, time, os.path
import email, email.Header, email.Util
objlist.py
#!/usr/bin/env python
# Make a list of all .obj files in the directory
"""
C to C++ Translator
Convert a C program or whole project to C++
Copyright (C) 2001 D.G Sureau
Th
mklist.py
#!/usr/bin/env python
"""
Make List
C to C++ tools (c) 2001-2005 by D.G. Sureau
Contructs the list of all sources included in a project
from the file holding the main function
strings.c
/*
* Poor developer's strings.
* (c) 2002, Sean D. True, WebReply.Com, Inc.
* Use freely, under the Python license
* In short: use with or without attribution as you like, but
* no warranty of fi
test-database
#!/usr/bin/python
import time
import dbus
bus = dbus.SystemBus()
xml = ' \
\
\
\
\
apitest
#!/usr/bin/env python
import dbus
import dbus.decorators
import dbus.glib
import gobject
import sys
import getopt
from signal import *
mgr_cmds = [ "InterfaceVersion", "ListAdapters", "DefaultAdapte