Re: Experience regarding Python tutorials?

2005-08-25 Thread Peter Beattie
Shoeshine wrote on 25/08/2005 17:43: > Cheers everyone, I aim to learn a programming language and haven't yet > decided on what's going to be. Here I'd like to hear some voices on > where I should start, and pls don't hit me google. I have been doing > some research, but I'd like to hear about som

Painless way to do 3D visualization

2006-10-07 Thread Peter Beattie
Hey folks, I need to do the following relatively simple 3D programming: I want to convert data from four-item tuples into 3D co-ordinates in a regular tetrahedron. Co-ordinates come in sequences of 10 to 20, and the individual dots in the tetrahedron need to be connected into discontinuous lines.

Re: Painless way to do 3D visualization

2006-10-08 Thread Peter Beattie
faulkner wrote: > http://www.vpython.org/ Oh, thanks, but let me quote myself: >> So far, I've only tinkered a little with VPython, but the lack >> of any decent documentation has proved to be a major turn-off. So, I'd really appreciate any hints as to where to look for anything a little more us

Re: New SourceForge project: Diet Python!!!

2006-09-10 Thread Peter Beattie
TOFU sucks! The Eternal Squire wrote: > Best interface for roguelike gaming. > > Jarek Zgoda wrote: >> The Eternal Squire napisa³(a): >> >>> Diet Python is a flavor of Python with allegro, multiarray, umath, >>> calldll, npstruct and curses builtin, all else nonessential to language >>> ripped ou

Interpolation of a discrete 3D trajectory

2007-06-17 Thread Peter Beattie
Hey guys, I'm looking for a way to smooth out the edges of a 3D trajectory that is really just a sequence of points in space. I've got co-ordinates just like these: 0.072 -0.25 0.582 -0.036 -0.25 0.644 0.036 0.338 0.104 What I would like to have now is for the trajectory not to pass through the

Controlling gnuplot via subprocess.Popen

2007-04-25 Thread Peter Beattie
I am trying to plot something in gnuplot 4.2 using co-ordinates a Python 2.5 program computes. Here's what I'm doing: py> from subprocess import * py> plot = Popen("c:/progs/gp/bin/wgnuplot.exe", stdin=PIPE) py> plot.stdin.write("plot x*x") The first command dutifully opens gnuplot, but the secon

Memory limit to dict?

2006-04-11 Thread Peter Beattie
I was wondering whether certain data structures in Python, e.g. dict, might have limits as to the amount of memory they're allowed to take up. Is there any documentation on that? Why am I asking? I'm reading 3.6 GB worth of BLAST output files into a nested dictionary structure (dict within dict ..