[GRASS-dev] Re: [GRASS-user] Error when importing data in Windows with Python Script

Martin Landa landa.martin at gmail.com
Sat Oct 30 13:10:30 EDT 2010


2010/10/30 Martin Landa <landa.martin at gmail.com>:
>>        import shlex
>>
>>        def split(s):
>>            return shlex.split(s, posix = (sys.platform != "win32"))
>
> we need to find less Python specific way. The 'posix' parameter has
> been added in Python 2.6 [1]. OSGeo4W uses Python 2.5, so it will not
> work.

small workaroud in r44109 (try the next wingrass build). Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list