This is an interesting topic for discussion I think.
Good habits to have when doing python:
I know the above is Important because when you call a function from the outside it wont run your program like it is a stand alone script.(If I am saying it right).
Code: Select all
def main(): return if __name__ == "__main__": main()
List of Habits:
- New file for each class. (Like you must do in Java). is it good or bad and why
Commenting, how important is it really?
List of Features:
- Learning gtk and other gui scripting? how essential?
Slicing (ex. strvar[2:3]), do you realy use it?