代码搜索结果
找到约 11,834 项符合
Python 的代码
python_tkinter.txt
Python 与 Tkinter 编程 [PDF,中文版图片扫描,全本,554页]
【原 书 名】 Python and Tkinter Programming
【原出版社】 Manning Publications Co.
【作 者】(美)John E.Grayson
【译 者】 陈文志 高垒 缪瑾 崔广仁 蒋涛
【丛 书 名】 编程经典译丛
【出 版 社】 国防工业出版社
readme
Python-to-libsvm interface
Introduction
============
Python (http://www.python.org/) is a programming language suitable for
rapid development. This python-to-libsvm interface is developed so
users
call_thread.c
// A sample of python embedding (calling python functions from within C code)
//
#include
#include
#include
#include
#include
#ifdef WIN32 // Win
install_paths
#! /usr/bin/env python
import sys
txt = sys.stdin.read()
for s in sys.argv[1:]:
a,b = s.split("=")
txt = txt.replace("#%s#"%a.upper(), '"%s"' % b)
print txt
python-1.py
#!/usr/bin/env python
def buildConnectionString(params):
"""Build a connection string from a dictionary of parameters.
Returns string."""
return ";".join(["%s=%s" % (k, v) for k, v i
python-2.py
#!/usr/bin/env python
def info(object, spacing=10, collapse=1):
"""Print methods and doc strings.
Takes module, class, list, dictionary, or string."""
methodList = [method for
soundex3b.py
"""Soundex algorithm
This program is part of "Dive Into Python", a free Python book for
experienced programmers. Visit http://diveintopython.org/ for the
latest version.
"""
__author__ = "Mark Pilg
soundex3c.py
"""Soundex algorithm
This program is part of "Dive Into Python", a free Python book for
experienced programmers. Visit http://diveintopython.org/ for the
latest version.
"""
__author__ = "Mark Pilg
soundex2b.py
"""Soundex algorithm
This program is part of "Dive Into Python", a free Python book for
experienced programmers. Visit http://diveintopython.org/ for the
latest version.
"""
__author__ = "Mark Pilg
soundex2a.py
"""Soundex algorithm
This program is part of "Dive Into Python", a free Python book for
experienced programmers. Visit http://diveintopython.org/ for the
latest version.
"""
__author__ = "Mark Pilg