Skip to content

Instantly share code, notes, and snippets.

@timlinux
Created February 20, 2014 07:36
Show Gist options
  • Save timlinux/9108642 to your computer and use it in GitHub Desktop.
Save timlinux/9108642 to your computer and use it in GitHub Desktop.
Monkey patch for processing
def new_loader(name):
Processing.initialize()
for provider in Processing.algs.values():
if name in provider:
return provider[name]
return None
Processing.getAlgorithm = new_loader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment