代码搜索结果
找到约 10,000 项符合
Python 的代码
make_tuple.hpp
# ifndef BOOST_PYTHON_SYNOPSIS
# // Copyright David Abrahams 2002.
# // Distributed under the Boost Software License, Version 1.0. (See
# // accompanying file LICENSE_1_0.txt or copy at
# // http
websearch.py
#!/usr/bin/python
import sys
import getopt
from yahoo.search import factory, debug
#
# Print usage/help information, and exit
#
def usage_exit(msg=None):
if msg:
print "Error: ",
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
mygmsk.py
#!/usr/bin/env python
#
# GMSK modulation and demodulation.
#
#
# Copyright 2005,2006 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redi
zipfile.py
"Read and write ZIP files."
# Written by James C. Ahlstrom jim@interet.com
# All rights transferred to CNRI pursuant to the Python contribution agreement
import struct, os, time
import binascii
codecs.py
# Portions Copyright (c) 2005 Nokia Corporation
""" codecs -- Python Codec Registry, API and helpers.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved
zipfile.py
"Read and write ZIP files."
# Written by James C. Ahlstrom jim@interet.com
# All rights transferred to CNRI pursuant to the Python contribution agreement
import struct, os, time
import binascii
newmodule.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* Module new -- create new objects of various types */
#include "Python.h"
#include "compile.h"
static const char new_instance_doc[] =
"
cryptmodule.c
/* cryptmodule.c - by Steve Majewski
*/
#include "Python.h"
#include
/* Module crypt */
static PyObject *crypt_crypt(PyObject *self, PyObject *args)
{
char *word, *s
listnode.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* List a node on a file */
#include "python_globals.h"
#include "pgenheaders.h"
#include "token.h"
#include "node.h"
/* Forward */
s