代码搜索结果
找到约 11,834 项符合
Python 的代码
python_wrapper.cpp
#include
#include "sim_time.hpp"
using namespace boost::python;
BOOST_PYTHON_MODULE(sim_time)
{
class_("SimTime",init())
.def("setTimeInSeconds"
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
makefile
RELEASE:=$(shell python -c 'import urwid; print urwid.__version__')
SOURCE:= bigtext.py browse.py calc.py dialog.py docgen_reference.py \
docgen_tutorial.py edit.py fib.py graph.py input_test.py
print_tuple.py
# -*- coding=cp936 -*-
# 文件名:print_tuple.py
age = 22
name = '张三'
print '%s今年%s岁'%(name, age)
print '为什么%s喜欢玩Python?'%name
using_sys.py
#文件名:using_sys.py
import sys
print '命令行参数为:'
for i in sys.argv:
print i, '\n'
print '\n\nPYTHONPATH(Python的默认路径)为', sys.path, '\n'
pkg-info
Metadata-Version: 1.0
Name: a2dp-python
Version: 0.62
Summary: partial realization of A2DP, AVDTP and AVRCP bluetooth profiles
Home-page: http://sourceforge.net/projects/a2dp-python
Author: Sergei Kri
install_pybluez.sh
#!/bin/sh
# script to install pybluez
ver=0.9.2
wget http://org.csail.mit.edu/pybluez/release/pybluez-src-$ver.tar.gz
tar -zxvf pybluez-src-$ver.tar.gz
cd pybluez-$ver
python setup.py install
cd ..
setup.py
#!/usr/bin/env python
from distutils.core import setup
setup(name="a2dp-python",
version="0.62",
description="partial realization of A2DP, AVDTP and AVRCP bluetooth profiles",
auth
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
ramgen.py
#!/usr/bin/env python
import os, sys, string
def usage():
print 'Usage: python ramgen.py '
sys.exit(1)
if len(sys.argv) != 3 : usage()
size = int(sys.argv[1])
if