<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 28 Sept 2023 at 16:09, Vishal Mehta <<a href="mailto:vishalm1975@gmail.com">vishalm1975@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Also, can I use bash within the jupyter notebook? I'm not familiar with the gs.script syntax; I'm very comfortable with the old bash ways..</div><div>so any day I would rather  </div><div>glist rast than</div><div>gs.list_grouped(type=['raster'])<br></div></div></blockquote><div><br></div><div>That's really your choice as a user of Jupyter, GRASS GIS just provides the Python API in addition to the command line interface. The command line interface is there and you can use it from Bash or whatever else.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div></div><div>What i'm hoping for is a way to mix and match within a single workflow, taking advantage of things like the interactive map via python what-have-you's, but sticking to the bash commands for pretty much everything else.</div></div></blockquote><div><br></div><div>Use the exclamation mark lines in Jupyter (with IPython kernel). That passes the line to your operating system. If you simply want general command line syntax, that's the way to go on any platform. With that, you can mix and match easily and that's relatively common thing to do. I'm doing it a lot when experimenting, but for sharing I usually go with one syntax which then needs to be Python.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>I saw some notebooks with something like</div><div>%%bash</div><div><some bash commands></div><div><br></div><div>but that didn't work for me..</div></div></blockquote><div><br></div><div>I would have to check, but the I would guess that your Windows does not have Bash on path? This %%bash creates quite nice experience on Linux (locally, cloud, etc.), but I don't know if it is the right choice on Windows, but that's up to you to decide.<br></div></div></div>