Milton wrote:
> I tryed to start grass64R4 with -text to test your suggestion
> but I don't know why I get error on starting comand line version:
>
>
> famig...@famiglia-pc
> ~
> $ /c/OSGeo4W/apps/grass/bin/grass64 -text
> Cleaning up temporary files ...
> Starting GR
Dear Hamish,
I tryed to start grass64R4 with -text to test your suggestion
but I don't know why I get error on starting comand line version:
famig...@famiglia-pc ~
$ /c/OSGeo4W/apps/grass/bin/grass64 -text
Cleaning up temporary files ...
Starting GRASS ...
Redirection
Milton wrote:
> 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'
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'
>>>
Milton Cezar Ribeiro wrote:
> and I need to compile the grass (or grass.py) again, or is just update this
> file with newst one?!
You don't need to compile anything; just update the file.
--
Glynn Clements
___
grass-user mailing list
grass-user@list
> 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:
>>
Milton wrote:
> >> I will try this, but was thinking, as my plataform is not win32
> >> (I am running amd64 or x64) if with the change :
> >> if sys.platform == "win32":
>
> >> if it will also work for my case?!
Glynn:
> > It depends upon whether Python uses a different value for
> > s
Milton wrote:
> and I need to compile the grass (or grass.py) again,
> or is just update this file with newst one?!
just edit in the change by hand. python code doesn't need to be recompiled*.
(* well, technically it takes care of that at run-time by itself and
(re)creates a .pyc file as neede
Hi all,
and I need to compile the grass (or grass.py) again, or is just update this
file with newst one?!
bests
milton
2009/5/25 Martin Landa
> Hi,
>
> 2009/5/25 Glynn Clements :
> >
> > Milton Cezar Ribeiro wrote:
> >
> >> I will try this, but was thinking, as my plataform is not win32 (I am
Hi,
2009/5/25 Glynn Clements :
>
> Milton Cezar Ribeiro wrote:
>
>> I will try this, but was thinking, as my plataform is not win32 (I am
>> running amd64 or x64) if with the change :
>> if sys.platform == "win32":
>> if it will also work for my case?!
>
> It depends upon whether Python
Milton Cezar Ribeiro wrote:
> I will try this, but was thinking, as my plataform is not win32 (I am
> running amd64 or x64) if with the change :
> if sys.platform == "win32":
> if it will also work for my case?!
It depends upon whether Python uses a different value for sys.platform
on
Hi Glynn,
I will try this, but was thinking, as my plataform is not win32 (I am
running amd64 or x64) if with the change :
if sys.platform == "win32":
if it will also work for my case?!
Cheers
milton
2009/5/25 Glynn Clements
>
> Milton Cezar Ribeiro wrote:
>
> > I am trying to play w
Milton Cezar Ribeiro wrote:
> I am trying to play with grass & python, and I am trying to
> reproduce the first example available at
> http://grass.osgeo.org/wiki/GRASS_and_Python
> with the following adaptation:
> To try this I started MSYS, started GRASS with -gui option,
> and then typed the
Dear all,
I am trying to play with grass & python, and I am trying to
reproduce the first example available at
http://grass.osgeo.org/wiki/GRASS_and_Python
with the following adaptation:
--
#!/usr/bin/env python
import sys
import grass
def main():
drape_map = options['MQ_
14 matches
Mail list logo