Reparametrize geometry python

You can also simply call inspect.getsource() while you’re developing:

Edit: A downside to this (and the utility posted above) is that you don’t get the import statements included in the .py module file, which you would by directly inspecting the .py file. Thereby breaking the breadcrumb trail of where functions come from.

2 Likes