|
|
|
|
|
by cbcoutinho
3130 days ago
|
|
You can create your project into python library by wrapping in ctypes or using the cffi package. I do that with some of my numerical simulation code and it doesn't take away from the interactivity of python. Once I get a feature more or less complete, I re-write it in c/fortran and compile it away. This maintains performance as well as focus, because the 'interesting' thing you'll be working on is quick and dirty using python, and the stuff you've already okay'd is in a compiled language out of sight. |
|
However, I'll essentially never be able to run my code from a notebook because it runs on a cluster I need to SSH into. Thing is, I'd like to develop that code locally and iteratively.