-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
codeBetter code practiceBetter code practice
Description
- better comment the code (why, how)
- better split or merge functions
- use
os.path.join()for file path - use
entry.state(['disabled'])instead ofstate='disabled'(deprecated). - https://codereview.stackexchange.com/questions/239821/simple-gui-unit-converter-with-tkinter. Separate widget creation and widget positioning
- Do not create variable for labels except if label should be updated by a StringVar
- Initialize StringVar with the actual value
(value='blabla').Avoid usingset - String concatenation must be done with
''.join(list_of_strings)
Metadata
Metadata
Assignees
Labels
codeBetter code practiceBetter code practice