Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Running Python programs within Eclipse
- Setting breakpoints
- Using the PyDev debugger
- Using design patterns
- Creating a GUI application with Tkinter
- Writing a Windows scheduling service
Skill Level Intermediate
(light music) (loud click) - [Burkhard] Hi, and welcome to the Python Projects video course published by Packt Publishing. My name is Burkhard Meier, I've been working as a professional software test automation engineer for the last 16 years. For the last five years we've been using Python exclusively.
I'm also the author of the Python GUI Programming Cookbook, published by Packt and available on amazon.com and packtpub.com. In this video course we will be using Python 3.5, we will be creating four distinct Python projects, we will get started with using Python, we will install the Eclipse IDE development environment, with the PyDev plugin and all required setup requirements.
Then we will create small projects, first, both functional, then later object-oriented. We will show how to set breakpoints using the Python debugger and much more. Our second project is rather advanced, what we are doing here is we are translating the classic famous design pattern book into Python. This shows us, it teaches us how we can use design patterns, but the main part of this project is to translate the classic Design Patterns book into Python 3.5.
On the third project we will create a GUI weather application written in Python, we will use Tkinter to create our GUI and we will collect data from different weather websites. In our fourth project we will create a Python Windows service and we will use a scheduling mechanism to send out emails at a scheduled time. This is an overview of the different videos we are creating in Project 1.
Here we can see one of the videos that are part of Project 1. We're using the Eclipse IDE with the PyDev plugin and we're using all of the available debugging Windows and capabilities of Eclipse. On the left top for example is the call stack window, on the right we can watch the values of global and local variables. As an outline there are bookmarks, we can step through our code and see in runtime what the values are and there's a great way in a modern IDE to debug our code and to understand it and then, finally, improve it.
In Project 2 we are exploring design patterns according to the world classic book, Design Patterns, using Python. Here we can see an example of one of the videos that covers the famous Design Patterns, the creational design patterns, in our case. This is actually starting a maze without any design patterns and then later we explore the different design patterns in Python. In Project 3 we are doing two things, first we are creating a GUI using Tkinter and then we are also scrapping data from different weather sites, one is NOAA, which is applying only to United States, and the other is an OpenWeatherMap API, which gives us weather data throughout the entire world.
Here is one of the videos which shows both of our GUI and the data on the website from, in this case, the NOAA Weather Service for Los Angeles and we are collecting this data programmatically with an open API from NOAA, we did build our GUI originally already using Tkinter and we can do the same thing with the OpenWeatherMap API. In this video we are showing how to set up our own OpenWeatherMap account so we can use the OpenWeatherMap API, this is necessary to get the data for many cities in the entire world.
Here we are choosing different cities, and, as you can see on the left-hand side we're also displaying the icon that comes with the current weather conditions in different cities throughout the world. Again, this data is from the website, we are scrapping the web with the WeatherOpenMap API after we had built our own GUI using Tkinter and we improved our GUI with another (mumbles) for here, it's called OpenWeatherMap and that's what you can learn throughout this video course. Finally, in Project 4 we are writing our own Windows service in Python and we're creating a scheduling mechanism which will email us emails.
Here we can see one of the videos that shows us how to write a Windows service in Python and how to use it to schedule email reports. I hope you now have a good idea what this Python project video course is all about, you can learn a lot, it's going to be a lot of fun, so let's get started on our journey into Python Projects!