NOTE:
===============================
This course is NOT meant for BEGINNERS.
Basic Python knowledge is needed.
If the following terms don't mean anything to you, please watch a Python basics tutorial first and return later:
virtual environments
pip
requirements.txt
SOURCE CODE:
===============================
The complete source code (+improvements) can be found here: https://github.com/Zenahr/CPU-Meater
What You'll Learn:
===============================
1. How to create Electron-like desktop applications using Python!
2. Create UIs for desktop applications powered by HTML, CSS and JavaScript
3. Compile a real-world application as an executable for desktop via PyInstaller
4. Gain access to machine-level data with Python
Timestamps:
===============================
00:00 - Introduction
01:12 - Development Environment Setup
03:18 - Flask Hello World
04:39 - Render HTML
06:04 - Get Current CPU Load
07:07 - Flask API Endpoint
07:42 - CPU Usage Polling via JQuery
09:39 - Update HTML in real-time via JQuery
11:07 - Add Load Indicator Element to UI
12:53 - UX/UI Improvements Part 1
14:02 - Add App Icon
14:55 - UX/UI Improvements Part 2
15:44 - Run App in Native Window
16:14 - Compile Executable via PyInstaller
19:47 - Bonus: Add Icon to Executable
21:44 - Conclusion