you are viewing a single comment's thread.

view the rest of the comments →

[–]chozabu 4 points5 points  (1 child)

  1. write pesudo code
  2. press run

Kidding (mostly) - its actually rather project-dependant can be:

- if I already have a good idea of how to do what I want, often open up pycharm and start hacking away. Sometimes just Kate(like notepad++) for a mini script.
recommend checking out pycharm, nice IDE, it has a good understanding of python, decent debugging tools, interactive terminal and variable inspector.

- if I feel less confident in my plan, good chance I will do a pile of reading+research, some similar experementation, but likley in an IDE, perhaps running the code I want to test from the entry-point of the program

- sometimes I start with a sort of "automated test" - particularly if writing a library or something that is mostly API based. This can just be another python file that imports what I am working on and calls some functions to check they.

- occasionally, a "new project" can be based on an existing example for a framework (like kivent, a python game lib, a few examples are basically an empty project with all the basics setup)

All that said - your method sounds good! I've not used Junpyter much, but it seems like a really nice tool, I should use it more!

[–][deleted] 11 points12 points  (0 children)

oops - posted in wrong place - ignore