public marks

PUBLIC MARKS from YukuanMark with tag python

21 October 2006

Playing a WAV file

This small tutorial describes basic objects that allow you to play sound on all supported platforms. In many ways it is very similar to ossaudiodev module which is standard module for Python on many Unix based systems.

36.4 winsound -- Sound-playing interface for Windows

The winsound module provides access to the basic sound-playing machinery provided by Windows platforms. It includes functions and several constants.

How to play sound in Python?

I posted a message ("Help with my 1st Tkinter program") a few days ago complaining that Python did not have any built in basic cross platform sound capability. I was wrong (at least partly). Python comes with some sound playing ability for some platforms.

07 October 2006

JPype - Java to Python integration

by 1 other
JPype is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines.

The csv Module

The csv module is used to read data files in the CSV (comma-separated values) format, as used by Microsoft Excel and many other applications. A CSV file contains a number of rows, each containing a number of columns, usually separated by commas. An exampl

Gato: Graph Animation Toolbox

Gato - the Graph Animation Toolbox - is a software which visualizes algorithms on graphs. Graphs are mathematical objects consisting of vertices and edges connecting pairs of vertices: think of cities as vertices and interstates as edges connecting two ci

06 October 2006

PyMedia - Python module for avi, mp3, dvd, wma, ogg processing - pymedia

by 2 others
PyMedia was built to be really simple and flexible at the same time. See tutorial for example. It allows you to create your own mutimedia applications in a matter of minutes and adjust it to your needs using other components. Python language is choosen be

02 October 2006

Cookbook/FittingData - SciPy.org

This example show you how to fit experimental data and plots the results using matplotlib.

Cookbook/LinearRegression - SciPy.org

This is a very simple example of using two scipy tools for linear regression, polyfit and stats.linregress

PerformancePython - SciPy.org

A comparison of weave with NumPy, Pyrex, Psyco, Fortran and C++ for solving Laplace's equation. This article was originally written by Prabhu Ramachandran.

SciPy Course Outline

by 1 other
This document provides an outline for a course on NumPy/SciPy. PyTables and Matplotlib are also discussed.

Be Pythonic

by 1 other
When going from one language to another, some things have to be unlearned (see Transfer of Learning). This page contains some idioms used in Python that I particularly like, and I hope others find useful in their quest for Pythonicity.

30 September 2006

PyYAML - Trac

PyYAML.org - the home of various YAML implementations for Python

YAML Ain't Markup Language

by 5 others
YAML(tm) (rhymes with "camel") is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as Perl and Python. YAML is optimized for data serialization, configuration setting

29 September 2006

GUESS: The Graph Exploration System

by 2 others
GUESS is an exploratory data analysis and visualization tool for graphs and networks. The system contains a domain-specific embedded language called Gython (an extension of Python, or more specifically Jython) which supports the operators and syntactic su

27 September 2006

17. RandomArray Reference

The RandomArray.py module (in conjunction with the ranlibmodule.c file) provides a high-level interface to the ranlib module, which provides a good quality C implementation of a random-number generator.

26 September 2006

Simbad 3d Robot Simulator.

Simbad is a Java 3d robot simulator for scientific and educationnal purposes. It is mainly dedicated to researchers/programmers who want a simple basis for studying Situated Artificial Intelligence, Machine Learning, and more generally AI algorithms, in t

Pyro, Python Robotics: Pyro

Pyro stands for Python Robotics. The goal of the project is to provide a programming environment for easily exploring advanced topics in artificial intelligence and robotics without having to worry about the low-level details of the underlying hardware. T

Introduction to the SimPy Discrete-Event Simulation Package

SimPy (rhymes with "Blimpie") is a public-domain package for process-oriented discrete-event simulation. It is written in, and called from, Python. I like the clean manner in which SimPy is designed, its use of Python generators, and for that matter, Pyth

Python for Fun

by 3 others
This collection is a presentation of several small Python programs. They are aimed at intermediate programmers; people who have studied Python and are fairly comfortable with basic recursion and object oriented techniques. Each program is very short, neve

Building a GUI Application with Tkinter

In this tutorial we will use Tkinter to build a graphical user interface that we can use to maintain a simple phone list. On the way we'll play around with several Tkinter widgets thru the Python interactive prompt, hopefully getting a good feel for how a

Building the GUI with wxPython

As an alternative to Tkinter, there is an interface available to adapt the wxWindows package to Python. The interface, appropriately enough, is called wxPython.

25 September 2006

Python Style Guide

by 1 other
This style guide has been converted to several PEPs (Python Enhancement Proposals): PEP 8 for the main text, PEP 257 for docstring conventions. See the PEP index.

pyemf - Pure Python Enhanced Metafile Library

pyemf is a pure python module that provides bindings for an ECMA-234 compliant vector graphics library. ECMA-234 is the published interface for the Windows GDI used in the Microsoft windows environment and, more importantly, natively supported by the Open