diff --git a/README.md b/README.md index 87b710a..4e5fd22 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/WeatherApp.py b/WeatherApp.py index 467d3c9..a1b1595 100644 --- a/WeatherApp.py +++ b/WeatherApp.py @@ -1,4 +1,5 @@ -import tkinter as tk +# -*- coding: utf-8 -*- +import Tkinter as tk import requests HEIGHT = 500 diff --git a/WeatherApp_withicons.py b/WeatherApp_withicons.py index e21821a..c2821f8 100644 --- a/WeatherApp_withicons.py +++ b/WeatherApp_withicons.py @@ -1,4 +1,5 @@ -import tkinter as tk +# -*- coding: utf-8 -*- +import Tkinter as tk import requests from PIL import Image, ImageTk