py2dll run python scripts from a dll check out the demo at: https://www.youtube.com/watch?v=S06MlPSv88g