代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/337282/12379358
py scribble.py
#!/usr/bin/env python
#this is a simple translation of the scribble example that comes with GTK+
import gtk
pixmap = None
def configure_event(widget, event):
global pixmap
win = widget.win
www.eeworm.com/read/337282/12379378
py appwindow.py
#!/usr/bin/env python
'''Application main window
Demonstrates a typical application window, with menubar, toolbar, statusbar.'''
# pygtk version: Maik Hertha
import gobject
i
www.eeworm.com/read/337282/12379391
py pixbufs.py
#!/usr/bin/env python
'''Pixbufs
A GdkPixbuf represents an image, normally in RGB or RGBA format.
Pixbufs are normally used to load files from disk and perform image scaling.
This demo is not all tha
www.eeworm.com/read/337282/12379439
py menu.py
#!/usr/bin/env python
'''Menu
This example demonstrates the use of various menu types in gtk. It
demonstrates the new submenu navigation and scrolling menu features of
gtk 2.0.'''
import gtk
def c
www.eeworm.com/read/337098/12391210
py make_i2cconfig.py
#!/usr/bin/python
import sys
Output = []
Addr = []
Address = ""
Value = ""
i = 0
try:
# Check argument is given
if (len(sys.argv) < 2):
print "Call make_config.py name"
www.eeworm.com/read/131204/14156827
txt config.txt
;;HarvestMan Configuration File version 2.0
;;project related variables
project.url http://www.python.org/doc/current/tut/tut.html
project.name pytut
proj
www.eeworm.com/read/131204/14156835
txt config.txt
;;HarvestMan Configuration File version 2.0
;;project related variables
project.url http://www.python.org/doc/current/tut/tut.html
project.name pytut
proj
www.eeworm.com/read/118194/14882347
py showtbls.py
import htmllib, urllib, formatter, sys
def Usage():
print """
Usage: python showtbls.py URL
"""
class myHTMLParser(htmllib.HTMLParser):
def __init__(self, f):
htmllib.HTML