+ 4

What makes good python coding style?

Just some essentials that differenciate a bad py and good py codes based on styling used. by styling redeability is included.

10th Mar 2017, 6:43 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
2 Respuestas
+ 1
For easy visibility and readible you should split the code up into sections eg have variables together and generations together and write comments to tell people whats going on (# for commenting)
10th Mar 2017, 6:46 PM
Jackthehack21
Jackthehack21 - avatar
+ 1
Once you have a deeper understanding, use all the tools Python gives you: for instance, understand context managers, that is brilliant...
10th Mar 2017, 9:11 PM
Amaras A
Amaras A - avatar