Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python OOP
#1
I am working on a GUI app using Tkinter, with the following file/folder structure
PythonGUI
|-BIKEGUI
|--ADDSTOCK
|---add_stock.py
|--RENTBIKE
|---rent_bike.py
|-main.py
|-bike_main_gui.py

"main.py" is where the all main classes and functionality of my program is,
I need to instantiate some classes from main.py and use them in other files(the other are just guis), how can I achieve this?
my aim is to instantiate a bike shop and uses all its values in other files.

PS. everything is written using OOP paradigm
Reply


Messages In This Thread
Python OOP - by Manolo029 - Dec-27-2020, 01:15 PM
RE: Python OOP - by ndc85430 - Dec-27-2020, 01:18 PM
RE: Python OOP - by Manolo029 - Dec-27-2020, 01:35 PM
RE: Python OOP - by Marbelous - Dec-28-2020, 04:14 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020