代码搜索结果

找到约 10,000 项符合 Python 的代码

prebuilt.py

#!/usr/bin/python # Test that we can use already built sources from BoostBuild import Tester t = Tester() t.set_tree('prebuilt') # First, build the external project t.run_build_system("d

generators_test.py

#!/usr/bin/python from BoostBuild import Tester, List import os t = Tester() t.set_tree("generators-test") t.run_build_system() t.expect_addition( "bin/$toolset/debug/" * (

project_test1.py

#!/usr/bin/python from BoostBuild import Tester import os t = Tester("--build-system=project-test1", boost_build_path='', pass_toolset=0) # This test does no modifications, so run in in the

rst2latex

#!/bin/sh PYTHONPATH="c:/src/docutils/docutils;c:/src/docutils/docutils/extras" export PYTHONPATH python c:/src/docutils/docutils/tools/rst2latex.py --documentoptions pdftex --stylesheet=docutils.s

makefile.am

if ENABLE_PYTHON noinst_DATA = pythonbuild PYTHONINSTALL = pythoninstall # files that must be built first BUILT_SOURCES = gazebo_oo.i endif # files that go in distribution EXTRA_DIST = gazebo.i s

example3.py

#!/usr/bin/python import sys sys.path.append("..") from gpstkPython import * #if sys.argc < 2: # print "Required argument is a RINEX obs file." #print "Name your PRN of interest (by number: 1 th

example2.py

#!/usr/bin/python import sys sys.path.append("..") from gpstkPython import * rin = RinexObsStream('../../../../examples/bahr1620.04o') rout = RinexObsStream('bahr1620.04o.new', ios_out_trunc()) head

score-nbest.py.svn-base

#!/usr/bin/python """Convert n-best list in mert.perl format to format required by Venugopal's MER trainer. This entails calculating the BLEU component scores.""" """usage: score-nbest.py +

readme.svn-base

CMERT 0.5 5 Nov 2005 Copyright (c) 2005 David Chiang. All rights reserved (for now). Minimalist installation instructions: - make - set #! lines and sys.path lines in Python scripts - see run-cmert

makedep.sh

#!/usr/bin/python debug = 0 import sys import re import os if len(sys.argv) < 5: print "Usage: %s " \ "..." % sys.argv[0]