[Tutor] using python for parsing

2013-06-26 Thread Makarand Datar
Hi, I know practically nothing about python. I know how to install it and all that kind of stuff. I want to use python for parsing a text file. The task is to read in a text file, and write out another text file that is written in some particular way using the data from the file that was read in.

Re: [Tutor] using python for parsing

2013-07-10 Thread Makarand Datar
tips in general are highly appreciated. Thank you On Wed, Jun 26, 2013 at 12:05 PM, Makarand Datar wrote: > Hi, > > I know practically nothing about python. I know how to install it and all > that kind of stuff. I want to use python for parsing a text file. The task > is to read

[Tutor] Interpret the contents of a line

2013-07-18 Thread Makarand Datar
Hi, I am working on a parser and my input file is a description about bunch of things written line by line. So for instance, consider the following two lines and what the corresponding variables in python should look like. example Line1: position = 1, 1, rotation = 90, 0, 0, mass = 120; Here I wa