Re: Question about Reading Files

2010-09-05 Thread genxtech
On Sep 5, 4:16 am, Peter Otten <__pete...@web.de> wrote: > genxtech wrote: > > Hello.  I am still really new to python and I have a project where I > > am trying to use the data files from another program and write a new > > program with new user interface and all.  My first step was to open > > on

Re: Question about Reading Files

2010-09-05 Thread Mats Rauhala
On 2010-09-05, genxtech wrote: > I am using Fedora 13. When I run the file command the response is > that it is a 'data' file. If there are any tips on how to > programatically figure out the format, I would greatly appreciate it. I tried python-magic from the fedora repositories, but was unabl

Re: Question about Reading Files

2010-09-05 Thread Peter Otten
genxtech wrote: > Hello. I am still really new to python and I have a project where I > am trying to use the data files from another program and write a new > program with new user interface and all. My first step was to open > one of the files in 'rb' mode and print the contents, but I am > unf

Re: Question about Reading Files

2010-09-04 Thread genxtech
On Sep 4, 7:23 pm, Mats Rauhala wrote: > On 2010-09-04, genxtech wrote: > > > Hello.  I am still really new to python and I have a project where I > > am trying to use the data files from another program and write a new > > program with new user interface and all.  My first step was to open > > o

Re: Question about Reading Files

2010-09-04 Thread MRAB
On 05/09/2010 00:04, genxtech wrote: Hello. I am still really new to python and I have a project where I am trying to use the data files from another program and write a new program with new user interface and all. My first step was to open one of the files in 'rb' mode and print the contents,

Re: Question about Reading Files

2010-09-04 Thread Mats Rauhala
On 2010-09-04, genxtech wrote: > Hello. I am still really new to python and I have a project where I > am trying to use the data files from another program and write a new > program with new user interface and all. My first step was to open > one of the files in 'rb' mode and print the contents,

Re: Question about Reading Files

2010-09-04 Thread genxtech
I forgot to mention that the output was the first 100 bytes of the output -- http://mail.python.org/mailman/listinfo/python-list

Question about Reading Files

2010-09-04 Thread genxtech
Hello. I am still really new to python and I have a project where I am trying to use the data files from another program and write a new program with new user interface and all. My first step was to open one of the files in 'rb' mode and print the contents, but I am unfamiliar with the format. H