On Thu, Jan 7, 2010 at 4:47 AM, Andrew Gillanders
wrote:
> On 07/01/2010, at 7:13 PM, Chris Rebert wrote:
>> On Thu, Jan 7, 2010 at 12:19 AM, Andrew Gillanders
>> wrote:
>>>
>>> I have run into a problem running a Python script that is part of the
>>> TerraGear suite for building scenery for Flig
Thanks Chris. The atoi function was coming from the locale library
(from locale import atoi). I changed it to int and now it works.
The next hurdle is this:
gzin = GzipFile(fname, 'rb')
data = gzin.readline()
#min_x,min_y = map(atoi,data.split()[:2])
min_x,min_y = map(int,data.
On Thu, Jan 7, 2010 at 12:19 AM, Andrew Gillanders
wrote:
> I have run into a problem running a Python script that is part of the
> TerraGear suite for building scenery for FlightGear. I am using Mac OS X
> 10.4, running Python (version 3.0.1) in a Unix terminal.
>
> The purpose of the script is t