Python Forum

Full Version: TkInter Setting Out Project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Teaching myself Python i struggled to keep engaged with the apples pears oranges 1 2 3 excercises/examples and decided i would try an make a practical and useful program/tool for myself while learning along the way and its been a helpful approach having something i can actually use and see working in my day to day job.

Problem being i jumped in head first so i now have a program that functions and does things i want it to do but its a mess and i know it isnt written as it should be its presently a jumble of functions and tkinter windows and from reading i know i should really be using classes.

How do i go about setting out a new project properly so i can rewrite using classes ? i dont mean how do i use classes i mean when you start fresh how do you go about laying it out prior to adding in all the code functions etc.

At present mt GUI consists of multiple Notepad Widget Tabs/Screens

Home
Screen 1
Screen 2
Screen 3
Screen 4
Screen 5
Screen 6
> Screen 6 Pop Up Window 1
> Screen 6 Pop Up Window 2
you may find this useful: https://sourcemaking.com/design_patterns...d/python/1
and description of design method for above: https://sourcemaking.com/design_patterns...ate_method