10-07-2018, 07:27 AM
In Gimp's Python console, it the "Browse" button,this opens another dialog with a left pane where you can list/search procedures, and a right pane that documents the procedure parameters. The "Apply" biutton inserts a sample called in the console window.
Stop everything, and find a tutorial on Python'c "comprehensions". Comprehensions are very nice way to create lists arrays, and can be used to filter existing lists/arrays, for instance:
PS: The tutorial you mention is awful IMHO.
Stop everything, and find a tutorial on Python'c "comprehensions". Comprehensions are very nice way to create lists arrays, and can be used to filter existing lists/arrays, for instance:
Code:
[p for p in dir(pdb) if 'image' in p]
PS: The tutorial you mention is awful IMHO.