<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 25, 2015 at 11:38 AM, Nikos Alexandris <span dir="ltr"><<a href="mailto:nik@nikosalexandris.net" target="_blank">nik@nikosalexandris.net</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 id=":17n" class="" style="overflow:hidden">Yep, but a scripter wouldn't want to repeat `grass.script.` everytime.<br>
Would he? </div></blockquote></div><br></div><div class="gmail_extra">That's why I think<br><br></div><div class="gmail_extra">import grass.script as gscript<br><br></div><div class="gmail_extra">should be used. The examples were just showing different scenarios and possible confusion.<br><br></div><div class="gmail_extra">I past I was thinking about it and at the beginning I though that we should use<br><br>import grass.script.core as gcore<br>import grass.script.raster as graster<br>...<br><br></div><div class="gmail_extra">which is most detailed and allows for an empty __init__.py in script directory, but after trying it, considering the existing practice, and state of grass.script package, I decided that<br><br>import grass.script as gscript<br><br></div><div class="gmail_extra">is better.<br></div></div>