>I have rarely seen a Python script use another, most people would just
>copy the code they need to avoid the dependency.
That's one of Python's strongest points, though. Just import everything you
don't want to deal with yourself.
>And you can factor you
>code to have a class that does the work an
It is just Python -
Just use on the calee script an inner function - one to be publicly
exposed on the PDB taking user arguments, and
another one internal meant to be called from other Python functions .
On this, simply use a Python list.
You can manipulate `sys.path` in order to be able to impo
On 04/10/18 00:57, Beinsezii wrote:
AFAIK you can't, but anyway how do you expect the user to enter the
bazillion numbers? If you want that many numbers just ask for a file
name and read the file.
The user already can. I wrote a custom system for making GTK configuration
windows that I use with
>AFAIK you can't, but anyway how do you expect the user to enter the
>bazillion numbers? If you want that many numbers just ask for a file
>name and read the file.
The user already can. I wrote a custom system for making GTK configuration
windows that I use with all my plugins instead of the def
On 04/09/18 21:09, Beinsezii wrote:
No matter what I try, I can't get the plugin to load while using an array in
either the input params or return values.
Taken straight from the 'gimpenums' pydocs, I should have access to
"PDB_INT32ARRAY"
"PDB_FLOATARRAY"
and a bunch others, but using any of the
No matter what I try, I can't get the plugin to load while using an array in
either the input params or return values.
Taken straight from the 'gimpenums' pydocs, I should have access to
"PDB_INT32ARRAY"
"PDB_FLOATARRAY"
and a bunch others, but using any of them causes the script to fail to load in