代码搜索结果
找到约 11,834 项符合
Python 的代码
using_dict.py
#!/usr/bin/python
# Filename: using_dict.py
# 'ab' is short for 'a'ddress'b'ook
ab = { 'Swaroop' : 'swaroopch@byteofpython.info',
'Larry' : 'larry@wall.org',
using_random.py
#!/sur/bin/python
# -*- coding: cp936 -*-
#FileName:using_random.py
import random
for pot in range(1,21):
print "次数%-6d:%d"%(pot,random.randrange(1,7))
using_sys.py
#!/usr/bin/python
# Filename: using_sys.py
import sys
print 'The command line arguments are:'
for i in sys.argv:
print i
print '\n\nThe PYTHONPATH is', sys.path, '\n'
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
shbrushpython.js
/* Python 2.3 syntax contributed by Gheorghe Milas */
dp.sh.Brushes.Python = function()
{
var keywords = 'and assert break class continue def del elif else ' +
'except exe
python.jsf.in
# JOE syntax highlight file for Python
# TODO:
# * octal escape sequences
# * highlight function and class names?
=Idle
=Comment green
=Docstring cyan
=DocEscape bold cyan
=Constant cyan
=Escape
python.jsf
# JOE syntax highlight file for Python
# TODO:
# * octal escape sequences
# * highlight function and class names?
=Idle
=Comment green
=Docstring cyan
=DocEscape bold cyan
=Constant cyan
=Escape
readme
Two things are provided in this directory: an automatic model selection
tool and a python binding for libsvm.
Part I: Model Selection Tools
Introduction
===============
grid.py is a model selecti
-
pyformat.zip包中有两个文件夹,pyformat_src文件夹里的为源代码,pyformat_dist文件夹里的为编译后的exe可执行程序,另外每个文件夹里都放了一个名为“testfile.txt”的测试文件。
源码使用方法示例:执行"python pyformat.py testfile.txt"。
可执行程序使用方法示例:执行“pyformat testfile.txt”。
changes.txt
PyGarmin Change Log
0.6
Fixed various bugs
Tidier SerialLink code
Runs under Python 1.5.2
More debugging available if wanted
0.5
Added a datum-conversion module.
Added Raymond Penners' Win32SerialL