代码搜索结果
找到约 10,000 项符合
Python 的代码
changeid.py
#!/usr/bin/python
#
# Display the changeid for a list of printers given on the command line
#
# Sample usage:
#
# changeid.py '\\win2kdc1\magpie'
#
import sys
from samba import spoolss
if len(sy
license.txt
Copyright (c) 2001-2002 Chris Liechti
All Rights Reserved.
This is the Python license. In short, you can use this product in
commercial and non-commercial applications, modify it,
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
build_dir.py
#!/usr/bin/python
# Test that we can change build directory using
# the 'build-dir' project attribute.
from BoostBuild import Tester
t = Tester()
# Test that top-level project can affect
unit_tests.py
#!/usr/bin/python
from BoostBuild import Tester
t = Tester(pass_toolset=0)
t.run_build_system(extra_args="--debug --build-system=test")
t.cleanup()
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
license.txt
Copyright (c) 2001-2002 Chris Liechti
All Rights Reserved.
This is the Python license. In short, you can use this product in
commercial and non-commercial applications, modify it,
gen-build.py
#!/usr/bin/env python
#
# USAGE: gen-build.py TYPE
#
# where TYPE is one of: make, dsp, vcproj
#
# It reads build.conf from the current directory, and produces its output
# into the current directory.
find_convexhull.py
#!/usr/bin/env python
"""find_convexhull.py
"""
import sys, convexhull, re, string
# need to get a set of points
if __name__ == '__main__':
try:
data = sys.argv[1]
except IndexErr
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 conditions u