I want to call some grass modules(e.g. r.walk module) in my python script. And fortunately I find lots of useful hints on https://grasswiki.osgeo.org/wiki/GRASS_and_Python#MS-Windows. Here it is.
MS-Windows In order to use GRASS functionality via Python from outside, some environment variables have to be set:
GISBASE= C:\GRASS-64 GISRC= C:\Documents and Settings\user\.grassrc6 LD_LIBRARY_PATH= C:\GRASS-64\lib PATH= C:\GRASS-64\etc;C:\GRASS-64\etc\python;C:\GRASS-64\lib;C:\GRASS-64\bin;C:\GRASS-64\extralib;C:\GRASS-64\msys\bin;C:\Python26; PYTHONLIB= C:\Python26 PYTHONPATH= C:\GRASS-64\etc\python GRASS_SH= C:\GRASS-64\msys\bin\sh.exe
However, msys folder is nonexistent after I install the latest version WinGRASS-7.0.3 and 7.0.4. What I want to know is how to set the environment variables using the latest version when there is no msys folder. Thanks a lot.