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: , , ,

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…

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