Run python code from a URL scheme