代码搜索结果
找到约 10,000 项符合
Python 的代码
double_event_one.py
#!/usr/bin/env python
import wx
class DoubleEventFrame(wx.Frame):
def __init__(self, parent, id):
wx.Frame.__init__(self, parent, id, 'Frame With Button',
size=(300, 100
missing.py
#! /usr/bin/env python
# Author: Gustavo Carneiro
# Modified by: Alvaro J. Iradier
# Use: missing.py langXX
# lists all missing translations keys in language
import string
import sys
import getopt
#
core_delete_module.py
#!/usr/bin/python
# This tests the facilities for deleting modules.
import BoostBuild
t = BoostBuild.Tester(pass_toolset=0)
t.write("file.jam", """
module foo
{
rule bar { }
va
test_all.py
#!/usr/bin/python
import os, sys, string
from BoostBuild import get_toolset
# clear environment for testing
#
for s in (
'BOOST_ROOT','BOOST_BUILD_PATH','JAM_TOOLSET','BCCROOT',
'MSVC
bump_version.py
#!/usr/bin/python
# This script is used to bump version of bjam. It takes a single argument, e.g
#
# ./bump_version.py 3.1.9
#
# and updates all necessary files. For the time being, it's ass
net_to_stdout.py
#!/usr/bin/python
import struct
import getprops
import netevents
class client:
def handle_event(self, data, eventid, tv):
# unpack the node id
tmp = struct.unpack("!i", data[0:
deluge.py
#!/usr/bin/python
import sys, cPickle, os, re
# structure of data:
#
# stuff.startTime - time experiment started
# stuff.finishTime - time experiment ended
# stuff.stats[id] - map nodes to packet
umakefil
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: Umakefil,v 1.9.8.1 2004/07/09 02:08:08 hubbe Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks, Inc. All
clntcoredll_symbian.pcf
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: clntcoredll_symbian.pcf,v 1.5.8.2 2004/07/09 02:05:57 hubbe Exp $
#
# Portions Copyright (c) 1995-2004 RealNetwo
umakefil.upp
### UMAKE PRE-PROCESSOR OUTPUT: DO NOT CHECK INTO CVS
### -*- Mode: Python -*-
### files: symbian.pcf -> Umakefil
project.AddDefines("HELIX_CONFIG_UNLOAD_DEAD_DLLS");
UmakefileVersion(2,2)
proj