Dear friends Sorry for my delay:
Here you have the results on a AMD64/Vista: C:\Python25>python Python 2.5.4 (r254:67916, Dec 23 2008, 15:19:34) [MSC v.1400 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.platform 'win32' >>> import os >>> os.name 'nt' >>> os.environ['OS'] 'Windows_NT' >>> import platform >>> platform.system() 'Windows' >>> Cheers milton 2009/5/26 Hamish <[email protected]> > > > could you ... find and run python.exe from a cmd.exe DOS box and > > post the results of typing the following commands at the > > '>>>' prompt: > .... > > import os > > os.name > > os.environ > > actually don't bother to post the long result from os.environ, just: > > > os.environ['OS'] > > > In 32bit linux I get: > >>> sys.platform > 'linux2' > >>> os.name > 'posix' > >>> os.environ['OS'] > [error because it's not set] > >>> platform.system() > 'Linux' > > > Hamish > > > > > >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
