Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Python interpreter has support for custom code loaders, so you can use the new macro using plain Python, as long as the macro machinery is loaded before the other code to set it up.

See importlib: https://docs.python.org/3.1/library/importlib.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: