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-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,