title: Can't run grass tools from python script (grass 6.4, python 2.7, win7)
body: <p>I am new to GRASS, and i do not manage to get started.
  I am trying to write a python script that will call grass tool (at that point it does not really matter what tool)
  I created the location and mapset interactively, and set all the definitions. still I can't get 'grass.gisenv()' to give any output but {}.</p>
  
  <p>my code:</p>
  
  <pre><code>import sys
  import os
  
  os.environ['GISBASE'] = r'C:\OSGeo4W\apps\grass\grass-6.4.4'
  os.environ['GISRC']= r'C:\Users\USER\AppData\Roaming\GRASS6\grassrc6'
  os.environ['LD_LIBRARY_PATH']= r'C:\OSGeo4W\apps\grass\grass-6.4.4\lib'
  os.environ['PATH']= r'C:\OSGeo4W\apps\grass\grass-6.4.4\etc;C:\OSGeo4W\apps\grass\grass-6.4.4\etc\python;C:\OSGeo4W\apps\grass\grass-6.4.4\lib;C:\OSGeo4W\apps\grass\grass-6.4.4\bin;C:\OSGeo4W\apps\grass\grass-6.4.4\extralib;C:\OSGeo4W\apps\grass\grass-6.4.4\msys\bin;C:\Python27;'
  os.environ['PYTHONLIB']= r'C:\OSGeo4W\apps\Python27'
  os.environ['PYTHONPATH']= r'C:\OSGeo4W\apps\grass\grass-6.4.4\etc\python'
  
  
  sys.path.append(os.path.join(os.environ['GISBASE'], 'etc', 'python'))
  
  gisbase = os.environ['GISBASE'] #= "/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu"
  
  gisdbase = os.path.join(r'C:\Users\USER\Documents', "grassdata")
  location = "ISRAEL"
  mapset   = "PERMANENT"
  
  import grass.script as grass
  import grass.script.setup as gsetup
  
  gsetup.init(gisbase,gisdbase, location, mapset)
  
  print grass.gisenv()
  </code></pre>
  
  <p>I get no error. only "{}".</p>
  
  <p>Please help,</p>