There are some different ways to enhance ParaView features by custom Python code:
- Use Python console (the best way for one-time commands which are outside of the processing pipeline),
- Use Programmable Source (the best way for custom code without pipeline input and the complete processing pipeline),
- Use Programmable Filter (the best way for custom code with pipeline input and the complete processing pipeline),
- Use Plugins (the best way for well formalized code modules).