How to Create a Tab Control System in Python

Опубликовано: 24 Июль 2026
на канале: DJ Oamen
4,437
110

How to Create a Tab Control System in Python using the notebook function.

How to Create Advanced Payroll Management System With Calculator in Python - Full Tutorial
   • How to Create Advanced Payroll Management ...  

How to Create an Inventory Rental Management System in Python - Full Tutorial
   • How to Create an Inventory Rental Manageme...  


How to Create Hotel Management Systems in Python - Full Tutorial
   • How to Create Hotel Management Systems in ...  

To support more videos from DJ Oamen, visit POamen Paypal
https://www.paypal.me/POamen

To Become a Channel member click on the link below to JOIN:
   / @djoamen  

How to Create Advanced Payroll Management System in Python, see link below:
https://www.youtube.com/video/KQGRq76...

How to Create Advanced Payroll Management System in Python - Full Tutorial
https://www.youtube.com/video/7pd5RjO...

How to Create a Payroll Management Systems Using Visual C++ 2017, see link below:
   • How to Create a Payroll Management Systems...  

Create C++ Windows Forms application in Visual Studio 2017, see link below:
https://social.msdn.microsoft.com/For...

How to create Stock Management Systems in Python - Full Tutorial
https://studio.youtube.com/video/wT4x...

How to Create Advanced Tic Tac Toe Game in Python
https://www.youtube.com/video/mcP9qeh...

How to Create an Advanced Excel Data Entry Form With Search Function using Userform
https://www.youtube.com/video/crVzhWM...

How to Create Currency Converter with Foreign Exchange Rates in Python
   • Data Science Tutorial  of How to Calculate...  

How to Create Currency Converter with Foreign Exchange Rates in Python
   • Data Science Tutorial  of How to Calculate...  

How to Create a C++ Calculator Using Windows Forms Application in Visual Studio 2017
   • How to Create a C++ Calculator Using Windo...  

How to Create Tic Tac Toe Game in Visual C++ 2017 Using Windows Forms Application
   • How to Create Tic Tac Toe Game in Visual C...  

How to Create a Piano Using Windows Forms Application in Visual C++ 2017
   • How to Create a Piano Using Windows Forms ...  

See Tab Control Codes below:

from tkinter import*
import tkinter.messagebox
import datetime
import random
import time
import tkinter.ttk as tkrtk
from tkinter import ttk
import tkinter as tkr

class Tab_Control:

def __init__(self,root):
self.root = root
self.root.title("Tab Control")
self.root.geometry("1350x800+0+0")
self.root.configure(background ='gainsboro')

notebook = ttk.Notebook(self.root)
self.TabControl1 = ttk.Frame(notebook)
self.TabControl2 = ttk.Frame(notebook)
self.TabControl3 = ttk.Frame(notebook)
notebook.add(self.TabControl1, text='Payroll System')
notebook.add(self.TabControl2, text='Inventory System')
notebook.add(self.TabControl3, text='Hotel Systems')
notebook.grid()

self.Label_Tab1 = Label(self.TabControl1,bd=10, text = "Payment Management System", font=('arial', 12,'bold'))
self.Label_Tab1.pack()
self.Label_Tab2 = Label(self.TabControl2,bd=20, text = "Inventory Management System", font=('arial', 12,'bold'))
self.Label_Tab2.pack()
self.Label_Tab3 = Label(self.TabControl3,bd=30, text = "Hotel Management System", font=('arial', 12,'bold'))
self.Label_Tab3.pack()

if __name__=='__main__':
root = Tk()
application = Tab_Control(root)
root.mainloop()