<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 10, 2014 at 1:31 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><br>
Vaclav Petras wrote:<br>
<br>
> going back to list because it is apparently a general problem. The answer<br>
> is no. I haven't resolved this.<br>
><br>
> Intro for others: currently, it is not possible to use ctypes API (and thus<br>
> PyGRASS) in standalone Python script which is not GRASS module (script<br>
> running outside GRASS session).<br>
<br>
</div>Even if you can load the library, you probably aren't going to be able<br>
to do much with it unless GISRC is set.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div>I hoped that this is what `grass.script.setup.init` is doing.<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<span class=""><font color="#888888">
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>