代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/341021/3260931
py mtv_setup.py
#!/usr/bin/env python
#
# (C) 2001 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
#
from distutils.core import setup, Extension
mtv = Extension("mtv",
www.eeworm.com/read/341021/3260932
py mpiexec.py
#!/usr/bin/env python
#
# (C) 2001 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
#
"""
usage:
mpiexec [-h or -help or --help] # get this message
mpiexec -file fil
www.eeworm.com/read/339446/3307712
py docbeauty.py
#!/usr/bin/env python
#
# DocBeauty (c) 2003, 2004 David Turner
#
# This program is used to beautify the documentation comments used
# in the FreeType 2 public headers.
#
from s
www.eeworm.com/read/339446/3307717
py docmaker.py
#!/usr/bin/env python
#
# DocMaker (c) 2002, 2004 David Turner
#
# This program is a re-write of the original DocMaker took used
# to generate the API Reference of the FreeType f
www.eeworm.com/read/339446/3307723
py glnames.py
#!/usr/bin/env python
#
#
# FreeType 2 glyph name builder
#
# Copyright 1996-2000, 2003, 2005, 2007 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType proj
www.eeworm.com/read/338546/3315274
g t014parser.g
grammar t014parser;
options {
language = Python;
}
@parser::init {
self.events = []
self.reportedErrors = []
}
@parser::members {
def emitErrorMessage(self, msg):
self.reportedErrors.append(ms
www.eeworm.com/read/338546/3315279
g t045dfabug.g
grammar t045dfabug;
options {
language = Python;
output = AST;
}
// this rule used to generate an infinite loop in DFA.predict
r
options { backtrack=true; }
: (modifier+ INT)=> modifier+
www.eeworm.com/read/338546/3315285
g t035rulelabelpropertyref.g
grammar t035ruleLabelPropertyRef;
options {
language = Python;
}
a returns [bla]: t=b
{
$bla = $t.start, $t.stop, $t.text
}
;
b: A+;
A: 'a'..'z';
WS: ' '+ { $cha
www.eeworm.com/read/338546/3315314
g t020fuzzy.g
lexer grammar t020fuzzy;
options {
language=Python;
filter=true;
}
@header {
from cStringIO import StringIO
}
@init {
self.output = StringIO()
}
IMPORT
: 'import' WS name=QIDStar WS? ';'
www.eeworm.com/read/338546/3315315
g t046rewrite.g
grammar t046rewrite;
options {
language=Python;
}
program
@init {
start = self.input.LT(1)
}
: method+
{
self.input.insertBefore(start,"public class Wrapper {\n")