Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# Program a GUI in Python (with Tkinter) !
Here is the source code for my video on how to program a graphical user interface application in python using the Tkinter library. The link to the video is here: https://youtu.be/D8-snVfekto


## Linux environment

$ sudo apt install python-pip

$ sudo apt-get install python-tk

$ pip install requests

$ pip install Pillow

Running this

$ python WeatherApp.py
3 changes: 2 additions & 1 deletion WeatherApp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import tkinter as tk
# -*- coding: utf-8 -*-
import Tkinter as tk
import requests

HEIGHT = 500
Expand Down
3 changes: 2 additions & 1 deletion WeatherApp_withicons.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import tkinter as tk
# -*- coding: utf-8 -*-
import Tkinter as tk
import requests
from PIL import Image, ImageTk

Expand Down