Join Barron Stone for an in-depth discussion in this video Building the GUI front end, part of Code Clinic: Python.
…In this video, I'll walk you through the section of code on the front end of…my application that generates the GUI for the…user to submit their request and view results.…This top-level module for my Python solution to…the Lake Pend Oreille challenge is called lpoApp.…You'll find it inside the exercise files in the Problem 1 directory.…Here you see we'll have three python files, lpoApp, lpoDB, and lpoWeb.…We can double-click on the lpoApp file to run it.…I want to make a mention here, I'm using the statistics module in…this file, which was introduced as a standard module in Python version 3.4.…
So if you're using a version of Python prior to 3.4,…you'll run into errors unless you have the statistics module already installed.…When you run the Python file, it creates this GUI window, which has a title…image plus inputs for the start and end dates, as well as a Submit button.…You can use the arrows on the side of the input field to cycle through…the available options, or you can directly enter…input dates by typing them into the boxes.…
Barron introduce challenges and provides an overview of his solutions in Python. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, Java, PHP, and Ruby.
Skill Level Intermediate
Q: Why can't I access the Lake Pend Orielle site (http://lpo.dt.navy.mil)?
A: The Lake Pend Orielle site is not accessible in some geographical areas. We have contacted the owner of the server to try to resolve this issue.
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S