[GRASS-user] Re: Trying python scripts.

Glynn Clements glynn at gclements.plus.com
Mon May 31 23:49:01 EDT 2010


Marcello Gorini wrote:

> >- I was also under the impression, that since you tell GRASS what kind of a
> script it is in the first line (*#!/usr/bin/env python*), that you don't
> need to save it >as .py. Am I mistaken there?
> 
> You are also right. I renamed it without the .py extension and it worked as
> well.

Windows needs the .py extension, Unix doesn't.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list