代码搜索结果
找到约 10,000 项符合
Python 的代码
python.py
import sys
import antlr3
from PythonLexer import PythonLexer
from PythonParser import PythonParser
from PythonTokenSource import PythonTokenSource
# override nextToken to set startPos (this seems to
python.stg
/*
[The "BSD licence"]
Copyright (c) 2005-2006 Terence Parr
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the
python.mk
[PYTHON::swig_tdb]
LIBRARY_REALNAME = _tdb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o
$(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py))
python.mk
[PYTHON::swig_ldb]
LIBRARY_REALNAME = _ldb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBLDB
swig_ldb_OBJ_FILES = $(ldbdir)/ldb_wrap.o
$(swig_ldb_OBJ_FILES): CFLAGS+=-I$(ldbdir)/include
$(eval $(call python_
python.mk
pythonbuilddir = $(builddir)/bin/python
installpython::
mkdir -p $(DESTDIR)$(pythondir)
# Install Python
# Arguments: Module path
define python_module_template
installpython:: $$(pythonbuilddir)/$
python.pm
###################################################
# Python function wrapper generator
# Copyright jelmer@samba.org 2007-2008
# released under the GNU GPL
package Parse::Pidl::Samba4::Python;
use E
python.js
/**
* Python syntax v 1.1
*
* v1.1 by Andre Roberge (2006/12/27)
*
**/
editAreaLoader.load_syntax["python"] = {
'COMMENT_SINGLE' : {1 : '#'}
,'COMMENT_MULTI' : {}
,'QUOTEMARKS' :
python.txt
"""Guess which db package to use to open a db file."""
import struct
def whichdb(filename):
"""Guess which db package to use to open a db file.
Return values:
- None if the da
python.api
AST
ArithmeticError
AssertionError
AttributeError
BaseHTTPServer
Bastion
CGIHTTPServer
Complex
EOFError
Exception
FloatingPointError
IOError
ImportError
IndentationError
IndexError
KeyE