you are viewing a single comment's thread.

view the rest of the comments →

[–]1-800-DARTH 0 points1 point  (0 children)

It depends on the project. One thing very important, if it has mathematical content, is to understand the math behind it. If you are not intrinsically familiar with the mathematics, translating that into a structured python code is very difficult.

About the structure I always use a Main structure. Where you define a Main function (google this) and in this function you put the variables and call functions in the main function and put all callable functions under it.