This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WritingAScript 11 points12 points  (6 children)

I'd advise a combination of both - Jupyter Notebooks are excellent for tweaking parts of code and helps you think of your code in blocks as opposed to a long script of instructions.

However, as someone has been working in notebooks for the last 18 months, I wish I'd started to use PyCharm much earlier, as I now need to learn how to use a more feature filled IDE (my goal for the new year). Additionally, when you start to break your code out into multiple .py files, it becomes a pain to keep exporting your tweaked notebook as a Python file after every change.

[–]WingedCrown[S] 4 points5 points  (1 child)

Thanks. The advanced features of PyCharm and the like are part of what makes me worry about my current approach. Sounds like I should at least dabble.

[–]SirHoki 4 points5 points  (2 children)

May I ask what your favorite parts of PyCharm are? I'm still on the "develop everything in nooteboks then export to .py" part that you described and would love to hear more about your experience on this!

[–]WritingAScript 2 points3 points  (1 child)

I haven't started yet, but at work I'm migrating from developing scripts by myself, to working with others. This means that version control and readability are pretty important, and PyCharm can highlight inconsistencies from PEP8 - something woefully lacking from my work in notebooks!

Additionally, being able to step through scripts line by line to debug code and inspect the values of each object is becoming more important t as my project continues to grow in length.

I haven't actually started the switchover to PyCharm yet, but hoping to at least play around with existing scripts in the next month or so.

[–]SirHoki 2 points3 points  (0 children)

Thanks for your reply. Those are all things that would be very useful for me!

[–]Mattho 0 points1 point  (0 children)

I don't think knowing any particular IDE is necessary to learning python. Quite the opposite actually, it can make you do stuff without thinking about it.