代码搜索结果

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

timcv.py

#! /usr/bin/env python # A driver for N-fold cross validation. """Usage: %(program)s [options] -n nsets Where: -h Show usage and exit. -n int Number of Set directories (Data

hammie2cdb.py

#/usr/bin/env python """ Convert a hammie database to a cdb database. usage %(prog)s [ -h ] [ -d | -p ] -h - Print this usage message and exit. -d file - Use a database

scoremsg.py

#! /usr/bin/env python """Score a message provided on stdin and show the evidence.""" import sys import email import locale from types import UnicodeType import ZODB from ZEO.ClientStorage import Cl

sb_filter.py

#!/usr/bin/env python ## A hammie front-end to make the simple stuff simple. ## ## ## The intent is to call this from procmail and its ilk like so: ## ## :0 fw ## | sb_filter.py ## ## Then, you c

msgstore.py

from __future__ import generators import sys, os, re import locale try: True, False except NameError: # Maintain compatibility with Python 2.2 True, False = 1, 0 # MAPI imports etc. fro

license.txt

Copyright (c) 2001-2002 Chris Liechti All Rights Reserved. This is the Python license. In short, you can use this product in commercial and non-commercial applications, modify it,

license.txt

Copyright (c) 2001-2002 Chris Liechti All Rights Reserved. This is the Python license. In short, you can use this product in commercial and non-commercial applications, modify it,

afangles.c

#include "aftypes.h" /* * a python script used to generate the following table * import sys, math units = 256 scale = units/math.pi comma = "" print "" print "table of arctan( 1/2^n ) for PI

unicode2koi8r.py

"""Convert Cyrillic from iso-8859-1 Unicode-encoded to KOI8-R-encoded This script is used during the build process of the Russian translation of "Dive Into Python" (http://diveintopython.org/). It t

example-1.py

#!/usr/bin/env python # This program monitors the /apps/metacity/general/reduced_resources # gconf key, and allows the user to change it as well. import gtk import gtk.glade import gconf class Exam