Re: [Tutor] using python for parsing

2013-07-10 Thread Walter Prins
Hello, On 29 June 2013 19:00, Makarand Datar wrote: > Hi, > > So I am able to read in a file, and write out a file from python. I have > some question about the text manipulation that I need to do between reading > in a file and spitting out another. Couple of things I would like to do, > are:

Re: [Tutor] using python for parsing

2013-07-10 Thread Makarand Datar
Hi, So I am able to read in a file, and write out a file from python. I have some question about the text manipulation that I need to do between reading in a file and spitting out another. Couple of things I would like to do, are: if the first character of a line is a comma, I would like to delete

Re: [Tutor] using python for parsing

2013-06-26 Thread Steven D'Aprano
On 27/06/13 03:05, 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 in a text file, and write out another text file that is written in some particular way usin

Re: [Tutor] using python for parsing

2013-06-26 Thread Alan Gauld
On 26/06/13 18:05, Makarand Datar wrote: 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. So far so good. Do you know how to program in any other language? It will help us direct you to a source if we kn

[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.