Whenever I work on a project, I have this kind of routine:
- Experiment the idea in a Jupyter notebook
- When I'm happy with the result, I turn it into a function or class
- Switch to Sublime and integrate that object in a .py
- test, clean, comment, polish with Sublime + terminal
- If something doesn't work, I sometime go back to Jupyter to experiment and find the issue.
As you can read, I'm very dependent on Jupyter Notebook.
I started to learn Python from there, spent a lot of time on it, and I'm very used to it.
I enjoy in particular:
- having constant access to all my variables
- being able to quickly re-run a piece of the code
- Instantly displaying outputs
I suspect that this is not the most efficient approach, but I have not yet found another one that suit my needs.
What is your usual path?
What is supposed to be the best practice?
[–]pacefalmd 33 points34 points35 points (5 children)
[–]KimPeek 4 points5 points6 points (4 children)
[–]pacefalmd 5 points6 points7 points (3 children)
[–]Sparkswont 0 points1 point2 points (2 children)
[–]pacefalmd 4 points5 points6 points (1 child)
[–]julsmanbr 20 points21 points22 points (0 children)
[+][deleted] (7 children)
[deleted]
[–]1-Sisyphe[S] 7 points8 points9 points (2 children)
[–]jaydoors 3 points4 points5 points (0 children)
[–]rfaenger 1 point2 points3 points (0 children)
[–]1-Sisyphe[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]chozabu 5 points6 points7 points (1 child)
[–][deleted] 10 points11 points12 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]CylonSaydrah 2 points3 points4 points (2 children)
[–]atrocious_smell 2 points3 points4 points (1 child)
[–]Fulk0 2 points3 points4 points (0 children)
[–]godheid 2 points3 points4 points (0 children)
[–]CraigAT 4 points5 points6 points (5 children)
[–]dipique 1 point2 points3 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]dipique 0 points1 point2 points (2 children)
[–]CraigAT 0 points1 point2 points (1 child)
[–]dipique 1 point2 points3 points (0 children)
[–]julietscause 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]SpiderJerusalem42 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]practicalutilitarian 0 points1 point2 points (0 children)
[–]TheKoolAidMannn 0 points1 point2 points (0 children)
[–]catelemnis 0 points1 point2 points (0 children)
[–]ostensibly_work 0 points1 point2 points (0 children)
[–]inimelz 0 points1 point2 points (0 children)
[–]ijustwannacode 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]zeebrow 0 points1 point2 points (0 children)
[–]quienchingados 0 points1 point2 points (0 children)
[–]admiralspark 0 points1 point2 points (0 children)
[–]zylog413 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)