代码搜索结果
找到约 10,000 项符合
Python 的代码
domstart.py
#! /usr/bin/python
# domstart - make sure a given domU is running, if not start it
import libvirt
import sys
import os
import libxml2
import pdb
# Parse the XML description of domU from FNAME
# and
buildpkg.py
#!/usr/bin/env python
"""buildpkg.py -- Build OS X packages for Apple's Installer.app.
This is an experimental command-line tool for building packages to be
installed with the Mac OS X Installe
wxproject.py
#!/usr/bin/env python
"""
This sample comes from an IBM developerWorks article at
http://www-106.ibm.com/developerworks/library/l-wxpy/index.html
This small program was adapted to demonstrate
lexpython.cxx
// Scintilla source code edit control
/** @file LexPython.cxx
** Lexer for Python.
**/
// Copyright 1998-2002 by Neil Hodgson
// The License.txt file describes the conditi
pysqlrdb.py
#! /usr/bin/env python
# Copyright (c) 2000 Roman Milner
# See the file COPYING for more information
import sys
from time import localtime, time, mktime
import exceptions
import weakref
from SQLRela
info3cache.py
#!/usr/bin/python
#
# Upon a winbindd authentication, test that an info3 record is cached in
# netsamlogon_cache.tdb and cache records are removed from winbindd_cache.tdb
#
import comfychair, stf
fro
svn-bdb-view.py
#!/usr/bin/python
#
# This is a pretty-printer for subversion BDB repository databases.
#
import sys, os, re, codecs, textwrap
import skel, svnfs
# Parse arguments
if len(sys.argv) == 2:
dbhome =
mailer-tweak.py
#!/usr/bin/env python
#
# mailer-tweak.py: tweak the svn:date properties on all revisions
#
# We need constant dates for the revisions so that we can consistently
# compare an output against a known q
verify-po.py
#!/usr/bin/env python
"""This is a pre-commit hook that checks whether the contents of PO files
committed to the repository are encoded in UTF-8.
"""
import codecs
import string
import sys
from svn i
case-insensitive.py
#!/usr/bin/python
# A pre-commit hook to detect case-insensitive filename clashes.
#
# What this script does:
# - Detects new paths that 'clash' with existing, or other new, paths.
# - Ignores exis