What is the best way to develop python recipes?
UserBird
Dataiker, Alpha Tester Posts: 535 Dataiker
When developing a python recipe, what is the best way to do the debugging? Does it make sense develop the recipe within the notebook environment and the copy the code into the recipe?
Are there any debugging (%run -d) options within the recipe? Any plotting possibilities?
Are there any debugging (%run -d) options within the recipe? Any plotting possibilities?
Answers
-
Hi,
Yes you are right: I code in the ipython notebook and copy paste it when I'm done.
Don't forget to specify the input and output in your recipe.
The shortcut Shift-m allows to concatenate all ipython cells of your notebook and to copy them in one shot.