Re: Need Help Parsing From File

2006-12-09 Thread Markus Rosenstihl
On 2006-12-07 04:20:48 +0100, John Frame <[EMAIL PROTECTED]> said: > Hi, I've got a Python program that I'm trying to edit, and I need some help. > > If I would like to read a matrix from a previously created text file > into a two dimensional array, how would I do that? > > Like, if in the txt

Re: failure building python 2.5 on mac os x 10.3.9

2006-11-30 Thread Markus Rosenstihl
On 2006-11-19 15:50:14 +0100, Thomas Ploch <[EMAIL PROTECTED]> said: > Hello, > > I followed the instructions in the Mac/README file. > > I ran ./configure --enable-framework > > But when I try to build from source with gcc 4.0.2, following happens: > > > [snip] > libtool: can't locate file f

Re: Python segmentation fault?

2006-10-26 Thread Markus Rosenstihl
On 2006-10-24 02:58:56 +0200, "Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> said: > Is there a way to debug scripts that cause segmentation faults? I can > do a backtrace in gdb on Python, but that doesn't really help me all > that much since, well, it has nothing to do with my script...

Re: Nicer way of strip and replace?

2005-10-12 Thread Markus Rosenstihl
On 2005-10-12 01:29:28 +0200, Paul Rubin said: > > Oh cool. I think you could even say: > >rechnung = list(read_file) > > instead of the for loop. Yes, that is working too. -- http://mail.python.org/mailman/listinfo/python-list

Re: Nicer way of strip and replace?

2005-10-11 Thread Markus Rosenstihl
On 2005-10-11 23:45:46 +0200, Paul Rubin <http://[EMAIL PROTECTED]> said: > Markus Rosenstihl <[EMAIL PROTECTED]> writes: >> This looks ugly (I htink) and I wonder if there is a nicer way to >> strip commata and change the comma to a dot already when reading in. >&g

Nicer way of strip and replace?

2005-10-11 Thread Markus Rosenstihl
Hi, I wonder if i can make this nicer: In my case a list is created from a bill which is a tab seperated file and each line looks like this: "Verbindungen Deutsche Telekom vom 03.08.2005 bis 10.08.2005" "ISDN" "Deutsche Telekom AG" "Rufnummer" "123456789" "3" "Verbindunge

Re: Learning Python

2005-10-11 Thread Markus Rosenstihl
On 2005-10-10 18:50:18 +0200, Paul DiRezze <[EMAIL PROTECTED]> said: > I'm spending the next two weeks off and I'm looking to take a crack at > learning how to program in Python. Here's a list of the places I've > bookmarked: > > http://www.python.org/doc/ and more specifically > http://wiki.p

Re: How to copy a file from one machine to another machine

2005-09-21 Thread Markus Rosenstihl
Hi I think scp is also a solution. I am sure there exist free sshserveres for windows. THat would make the stuff a bit more secure, and the login can be automated via public-key. Regards Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI tookit for science and education

2005-08-16 Thread Markus Rosenstihl
>> It doesn't have much math built in. For functions you have to >> plot points. > > If you want to plot stuff, the gnuplot-py module is very easy > to use. http://sourceforge.net/projects/gnuplot-py/ > > The one feature that I'd really like to add is the ability to > plot a python function obj