Firefly needs a modern browser, so you may notice things look broken right now.

To get a better experience, try one of the supported browsers listed here.

  • Explore
    • KS3 Yr 7,8 & 9
    • GCSE
    • A-Level
    • Programming
      •  Installation
      •  Basics
      •  Data Types & Casting
      •  Operators
      •  If Statements (Selection)
      •  Loops (Iteration)
      •  Data Structures
      •  String Manipulation
      •  Procedures & Functions
      •  File Handling
      •  Validation
      •  OOP
      • Building GUIs
        • PyQt
        • Pygame
        • Tkinter
      • Extended programming tasks
      • Programming Challenges
      • Extra Links
      • Retro games project
  • Programming
  • Building GUIs
  • Tkinter

Tkinter

Building a basic program

  • Creating a basic Tkinter interface
  • Performing a calculation
  • Creating a button object
  • Creating a label on the screen and updating the value
  • Multiple windows

Building a multi window program which connects to a MySQL database

  • Launching tkinter for the first time
  • Placing some basic objects on the window
  • Add commands to buttons and customise objects
  • Creating frames and positioning objects
  • Multiple forms
  • Adding objects to multiple windows
  • Inserting data into a MySQL database
  • Displaying pirates in the database

Python files linked to the project above

  • Multiple windows.py
  • PirateSystem_stage1.py
  • PirateSystem_stage2.py
  • PirateSystem_stage3.py
  • PirateSystem_stage4.py
  • PirateSystemV1.py


  • Last updated by Dan Copeman
  • Last updated 06/09/2022
  • More page information