print(‘JetBrains Academy’)

No Comments

I came across Jet Brains Academy this morning and started with their Python track.

Thus far I am having a blast learning more about Python using their platform. They also feature a Java track that I will be looking at after completing the Python track.

If you already use a JetBrains IDE like Pycharm then you are able to code the solutions to the questions from within your IDE.

Other nice features I like are:

  • Short byte sized lessons – pun intended
  • Questions on the topics you just learned
  • You can choose to start with the beginners project or jump ahead to intermediate or advanced projects if you are so inclined. Which is great as you don’t need to work through all the basics if you already work with Python.
  • A discuss section to discuss each problem you are presented with to solve with other students.
  • Each section takes a few minutes to teach you the content of the topic which is better than some other resources I have used with a crap ton of fluff in between to make the lessons longer. (This is very much appreciated)

I started withe the beginner project and already learned a few more things in Python that I did not know about so it might be worth quickly working through the beginner project if you are more experienced. That’s up to you.

I will do a review of this course when I finish it as this post is more of a “letting you know about the course” post.


Lock down learning

No Comments

As most of us on planet earth are on lock down I thought that I’d have more time to learn more.

For a start, Pluralsight has made all their courses available for free for the month of April and you do not need to provide credit card details when signing up.

Personally I just finished Jessica McKellar‘s Intro to Python course on Oreilly which I really enjoyed. I’m looking forward to Jessica’s Intermediate course as she explains everything really well.

I’m currently still studying for the RHCSA and doing Python courses on Pluralsight since it is free this month.

Categories: Python, Studying Tags: Tags: , , ,

C++, AWS and Redhat

No Comments

Things got really busy in a hurry. I haven’t done the 100 days of code as planned as work started getting extremely busy. I also started studying for my Unisa exam (C++) that I am writing in a couple of weeks.\

I had to finish an AWS Cloud Essentials course for work which took a lot of time and I am working through the RHCSA materials on the side in order to write my RHCSA exam in December/January. I am also looking into writing the first AWS certification in the first quarter.

On top of that I am trying to keep myself busy with Python.

I should be more active after my Unisa exam as I have a few projects ideas of which one of them consists of .Net.

Categories: Studying

Day 1 of #100DaysOfCode

No Comments

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.


Another blog post on Python

No Comments

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.


Convert a PyQt ui file to a Python file on Linux

No Comments

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:

Read More…

Linux Academy

No Comments

I joined Linux Academy a long time ago but cancelled it because of financial reasons. This week I had another look at them and the courses they provide. There are quite a lot of courses I’d like to do and joined them again.

The idea is to learn more technologies and certify myself on other non Microsoft technologies. Like the saying goes, knowledge is power and I have a curious mind. More to follow on my journey using Linux Academy.

Categories: Studying Tags: Tags: ,

Python from __future__ import syntax error

No Comments

At long last I got my Unisa registration for this semester sorted. Unfortunately I could only register for 2 modules (these cover C++ and Python) as it was extremely difficult to talk to a human at Unisa to find out what is going on.

Anyway! Busy working through the text book for INF1511 (Introduction to Python Programming and Developing GUI Applications with PyQT) I ran into a problem with importing the division module/class(?)

The import I need is for true division (from __future__ import division) and the book’s space are not really visible. I typed from__future__import division as per the text book and when I run the program received the below syntax error.

It took some digging and testing for me to find out that the statement should have a space in-front and after __future__ . It should be from (space) __future__ (space) import (space) division. i.e from __future__ import division. Note the 2 underscores before and after future.

Hope this helps anyone else that struggled to get this simple statement working.

Categories: Python