Skip to content

Instantly share code, notes, and snippets.

@itsbth
Created February 25, 2015 23:41
Show Gist options
  • Save itsbth/d64ebd5281404cd3e8af to your computer and use it in GitHub Desktop.
Save itsbth/d64ebd5281404cd3e8af to your computer and use it in GitHub Desktop.
import loader
loader.register()
import foo
foo.run()
#include <cstdio>
int main() { std::printf("Hello, World\n"); }
Hello, World
find_module(self, foo, <module 'posixpath' from '/usr/lib/python3.4/posixpath.py'>)
load_module(self, foo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment