Today I started with the #100DaysOfCode challenge. The reason for starting the challenge is to force myself to code everyday and getting into the habit of coding.
The 1st project I started is to access my CCTV RTSP stream from Linux, using a Python program, since the system only supports Windows and an Android App that feeds the video to a cloud service which I am not fond of.
It took some time to figure out the correct RTSP URI format but I managed to get it working and using the RTSP library from PyPi I am now able to view a stream.
You can find my GitHub repo here. There’s still a lot of work and puzzle solving ahead but I feel confident that this is doable. Below is a gif of the RSTP stream in action. The full video is on my Youtube channel.
Hunble Bundle currently has a Python Humble Bundle running for ebooks on Python. The bundle starts at $1 for 4 ebooks and $15 for 13 ebooks.
The books are all published by O’Reilly. Have a look at the bundles here and support a charity when buying one of these bundles. I have grabbed the large bundle and will do a few reviews in the future.
Just another heads up that I posted another blog post at ExchangeTimes.Net on how to make a specific Python version the default version on Linux.
This is useful if you use one version of Python 90% + of the time and don’t want to specify which version of Python you want to run each time. You can find the post here.
It has been the week of Powershell and Python for me and I created a blog post and video on how to install Python 3.7, the easy way, on Elementary OS (a Linux operating system) on my technical blog here.
Part of my Python programming module at Unisa is based on creating GUI applications using the Qt framework, PyQt5 to be more precise.
Unfortunately the study guide is based on Windows and not everything works the same way on Linux. The problem I had was not converting the .ui file as saved from Qt Designer to the .py file but with opening and running the application. The first conversion I did was straight from the guide as per below: