This repository contains code and projects from the FreeCodeCamp tutorial "Tkinter Course - Create Graphic User Interfaces in Python Tutorial" by Codemy.
This project follows the Tkinter course on FreeCodeCamp, which teaches how to create graphical user interfaces (GUIs) in Python using the Tkinter library.
- Intro to Tkinter
- Positioning with Tkinter's grid system
- Creating buttons
- Creating input fields
- Build a simple calculator app
- Using icons, images, and exit buttons
- Build an image viewer app
- Adding a status bar
- Adding frames to your program
- Radio buttons
- Message boxes
- Create new windows in Tkinter
- Open files dialog box
- Sliders
- Checboxes
- Dropdown menus
- Using databases
- Building out the GUI for our database app
- Delete a record from our database
- Update a record with SQLite
- Build a weather app
- Change colors in our weather app
- Add zipcode lookup form
- Matplotlib charts
To get started with the code in this repository, follow these steps:
-
Clone the Repository
Clone the repository using the following command:
git clone https://github.com/DanaPacatang/tkinter-gui-codemy
-
Navigate to the Project Directory
Change to the project directory where the scripts are located:
cd tkinter-gui-codemy -
Run the Python Scripts
The repository contains multiple Python scripts from the tutorial. You can run any script using the following command, replacing script_name.py with the name of the script you want to execute:
python script_name.py
Each script is a separate example from the tutorial. Run them individually to see the different functionalities covered in the course.
-
Tkinter Installation
Tkinter is included with Python, but it must be selected during installation. When installing Python, ensure that the "tcl/tk and IDLE" checkbox is selected to include Tkinter. If you missed this step, you can install Tkinter later using pip:
pip install tk
This repository is for educational purposes and is not licensed for commercial use. Feel free to use and modify the code as needed for learning purposes.
Special thanks to Codemy and FreeCodeCamp for providing the tutorial and resources.