I heavily use Python in Grasshopper and wanted to ask if there is a possibility to change the content of the default python node?
Currently I copy and paste from a *.txt like a caveman.
I haven’t checked in the GH editor, but in ScriptEditor in Rhino 8 you can now make and store your own templates. I also asked for the possibility a couple of days ago to have a button to create a new blank file directly without a template like the older EditPythonScript does.
@dn.aur How about creating a script component, putting the template script in there, adding the template input and output parameters, and save it as a user object?
Hi @eirannejad! Sorry if i resume this thread: is there really not another way to create a template-script? I mean, building a user-object is already super-great, so it’s really just in case I want to make a list of templates and access them directly by the Python component.
And maybe related to this: is it possible to specify the Python exe or the Python version/path? so that as it does for the IronPython or CPython, I’d like the language of the active code to point at a python inside a virtual env, for example.