代码搜索结果

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

pointtest.py

# $Id: pointtest.py,v 1.3 2005/04/14 18:33:56 sean Exp $ # # Project: MapServer # Purpose: xUnit style Python mapscript tests of Point # Author: Sean Gillies, sgillies@frii.com # # ===============

shapefiletest.py

# $Id: shapefiletest.py,v 1.1 2005/02/06 21:09:04 sean Exp $ # # Project: MapServer # Purpose: xUnit style Python mapscript tests of shapefileObj # Author: Sean Gillies, sgillies@frii.com # # ====

setup.py

#!/usr/bin/env python from distutils.core import setup, Extension setup(name = "LIBSVM", version = "2.89", author="Chih-Chung Chang and Chih-Jen Lin", maintainer="Chih-Jen Lin",

ping.cgi

#!/usr/bin/python """PING cgi. Gets the name or IP number of a host as CGI argument. Returns as plain text the output of the ping command for that host. Lars Wirzenius """ import o

readernext.py

#!/usr/bin/python -u # -*- coding: ISO-8859-1 -*- # # this tests the next API of the XmlTextReader interface # import libxml2 import StringIO import sys # Memory debug specific libxml2.debugMemory(1)

xpath.py

#!/usr/bin/python -u # # this test exercise the XPath basic engine, parser, etc, and # allows to detect memory leaks # import sys import libxml2 # Memory debug specific libxml2.debugMemory(1) doc =

tstxpath.py

#!/usr/bin/python -u import sys import libxml2 #memory debug specific libxml2.debugMemory(1) called = "" def foo(ctx, x): global called # # test that access to the XPath evaluation con

simple-service

#!/usr/bin/python import sys import time import dbus xml = ' \ \ \ \ \

changelog

libfann (1.2.1) stable; urgency=low * Various fixes for python * Removed memory leak in fann_duplicate_train_data -- Steffen Nissen Sun, 10 Jul 2005 15:27:18 +0200 libfa

bluepin

#!/usr/bin/python # # Bluetooth PIN helper # Written by Maxim Krasnyansky # import sys, os, string, popen2, pygtk pygtk.require('2.0') # X Display initialization. # Find running