staceybellerose / tkinter-demo

Demo of Python/Tk scripting using tkinter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tkinter Demo

This repository contains several simple scripts that demonstrate how to use tkinter to create GUI applications in Python.

Installing tkinter

Using Homebrew On MacOS

Use Homebrew to install Python, Tk, and tkinter:

brew install python3
brew install tk
brew install python-tk

Without Homebrew

See this page for details on installing Python, Tk, and tkinter on Windows, Linux, or Mac without Homebrew.

Most Linux distributions have Python, Tk, and tkinter installed by default. If yours does not, check your package manager or use the link above.

Running the code

From the command line, run

python3 scriptname.py

where scriptname.py is one of the demo scripts in this repository.

About

Demo of Python/Tk scripting using tkinter

License:The Unlicense


Languages

Language:Python 100.0%