代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/143979/12825436
py setselection.py
#!/usr/bin/env python
# example setselection.py
import pygtk
pygtk.require('2.0')
import gtk
import time
class SetSelectionExample:
# Callback when the user toggles the selection
def select
www.eeworm.com/read/143979/12825470
py checkbutton.py
#!/usr/bin/env python
# example checkbutton.py
import pygtk
pygtk.require('2.0')
import gtk
class CheckButton:
# Our callback.
# The data passed to this method is printed to stdout
def
www.eeworm.com/read/143979/12825474
py togglebutton.py
#!/usr/bin/env python
# example togglebutton.py
import pygtk
pygtk.require('2.0')
import gtk
class ToggleButton:
# Our callback.
# The data passed to this method is printed to stdout
de
www.eeworm.com/read/143979/12825487
py uimerge.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
class UIMergeExample:
ui0 = '''
www.eeworm.com/read/329960/12923601
py unfair-casino.py
#/usr/bin/env python2.3
from ghmm import *
throws = IntegerRange(1,6)
dist = DiscreteDistribution(throws)
m = HMMFromMatrices(throws,dist,
[[0.9,0.1],[0.2,0.8]],
www.eeworm.com/read/325023/13231398
py eclipse.py
#!/usr/bin/python
"""
Eclipse.py by Bruce Eckel, for Thinking in Java 4e
Modify or insert package statments so that Eclipse is happy with the code tree.
Run this with no arguments from the root of
www.eeworm.com/read/148359/5714756
py docmaker.py
#!/usr/bin/env python
#
# DocMaker 0.2 (c) 2002 David Turner
#
# This program is a re-write of the original DocMaker took used
# to generate the API Reference of the FreeType fon
www.eeworm.com/read/148153/5717314
py radiusd_test.py
#
# Python module test
# Miguel A.L. Paraz
import radiusd
def instantiate(p):
print "*** instantiate ***"
print p
def authorize(p):
print "*** authorize ***"
print
rad
www.eeworm.com/read/144314/5750482
py radiusd_test.py
#
# Python module test
# Miguel A.L. Paraz
import radiusd
def instantiate(p):
print "*** instantiate ***"
print p
def authorize(p):
print "*** authorize ***"
print
rad
www.eeworm.com/read/141297/5773870
py qa_mute.py
#!/usr/bin/env python
#
# Copyright 2004,2005 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the t