代码搜索结果
找到约 10,000 项符合
Python 的代码
provision.py
#!/usr/bin/python
# Unix SMB/CIFS implementation.
# Copyright (C) Jelmer Vernooij 2007-2008
#
# This program is free software; you can redistribute it and/or modify
# it under t
ndr.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Unix SMB/CIFS implementation.
# Copyright 漏 Jelmer Vernooij 2008
#
# This program is free software; you can redistribute it and/or mo
config.mk
[SUBSYSTEM::LIBPYTHON]
PUBLIC_DEPENDENCIES = EXT_LIB_PYTHON
PRIVATE_DEPENDENCIES = PYTALLOC
INIT_FUNCTION_SENTINEL = { NULL, NULL }
LIBPYTHON_OBJ_FILES = $(addprefix $(pyscriptsrcdir)/, modules.o)
[
autoidl.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Unix SMB/CIFS implementation.
# Copyright 漏 Jelmer Vernooij 2008
#
# This program is free software; you can redistribute it and/or mo
cone6.py
#!/usr/bin/env python
#
# This example introduces 3D widgets. 3D widgets take advantage of the
# event/observer design pattern introduced previously. They typically
# have a particular representation
readme
This example is Andrew Dalke's GardenSnake language. It shows how to process an
indentation-like language like Python. Further details can be found here:
http://dalkescientific.com/writings/diary/a
clnt-gen
#! /usr/bin/env python
"""Program to generate Xrl Interface Client related files"""
import os, sys
# This is a bit of mess as this code was split into separate files
import Xif.util
from Xif.util
tgt-gen
#! /usr/bin/env python
"""Program to generate Xrl Target related files"""
import os, sys
# This is a bit of mess as this code was split into separate files
import Xif.util
from Xif.util import \
bitvectordemo.py
#!/usr/bin/env python
import BitVector
# Construct a bit vector of size 0
bv1 = BitVector.BitVector( size = 0 )
print bv1 # no output
# Construct a bit vector of s
tracfastcgi
= Trac with FastCGI =
Since version 0.9, Trac supports being run through the [http://www.fastcgi.com/ FastCGI] interface. Like [wiki:TracModPython mod_python], this allows Trac to remain resident, an