代码搜索结果
找到约 10,000 项符合
Python 的代码
enforcer.conf
# -*- coding:utf-8;mode:python;mode:font-lock -*-
##
# Example configuration for enforcer.
##
# Copyright (c) 2005 Wilfredo Sanchez Vega .
# All rights reserved.
#
# Permission
copy_tests.py
#!/usr/bin/env python
#
# copy_tests.py: testing the many uses of 'svn cp' and 'svn mv'
#
# Subversion is a tool for revision control.
# See http://subversion.tigris.org for more information.
#
__init__.py
__all__ = ["main", "tree", "actions"]
import sys
if sys.hexversion < 0x2000000:
sys.stderr.write('[SKIPPED] at least Python 2.0 is required')
# note: exiting is a bit harsh for a library module,
check-license.py
#!/usr/bin/env python
#
# check if a file has the proper license in it
#
# USAGE: check-license.py [-C] file1 file2 ... fileN
#
# A 'file' may in fact be a directory, in which case it is recursively
#
mlpatch.py
#!/usr/bin/python
# mlpatch.py: Run with no arguments for usage
import sys, os
import sgmllib
from htmlentitydefs import entitydefs
import fileinput
from urllib2 import urlopen
CHUNKSIZE = 8 * 1024
swig.m4
dnl check to see if SWIG is current enough.
dnl
dnl if it is, then check to see if we have the correct version of python.
dnl
dnl if we do, then set up the appropriate SWIG_ variables to build the
dn
enforcer.conf
# -*- coding:utf-8;mode:python;mode:font-lock -*-
##
# Example configuration for enforcer.
##
# Copyright (c) 2005 Wilfredo Sanchez Vega .
# All rights reserved.
#
# Permission
copy_tests.py
#!/usr/bin/env python
#
# copy_tests.py: testing the many uses of 'svn cp' and 'svn mv'
#
# Subversion is a tool for revision control.
# See http://subversion.tigris.org for more information.
#
__init__.py
__all__ = ["main", "tree", "actions"]
import sys
if sys.hexversion < 0x2000000:
sys.stderr.write('[SKIPPED] at least Python 2.0 is required')
# note: exiting is a bit harsh for a library module,
tstart.py
# this starts up the T-environment...
#
# The root dir should point to the top of the python tree
import sys
sys.path.insert(0, "../base") # pickup base libs
sys.path.insert(0, "../../") # pickup