• Python,  Tkinter

    import Tkinter does not work in Python 3

    I am busy working through an older book called Tkinter GUI Application Development HOTSHOT by Bhashkar Chaudhary but the book is written for Python 2.7 I am using Python 3.10 and some of the statements in the book does not work for Python 3 so I will be posting the changes from time to time. The first issue I stumbled on is the import statement to import Tkinter. From the book you need to import it as:import Tkinter and this does not work in Python 3. in Python 3 use import tkinter (without the capital T) The test in IDLE as per the book will also fail for Python 3.The…

  • News,  Studying

    Good bye 2020 and good riddance

    It’s safe to say we all had a 2020 to forget and unfortunately 2021 did not start out so well for me either. But hey, it’s a new year and new plans. Yes I finally decided to pivot my career to focus on Information Security thus I will still be posting about my programming here as well as my Information Security journey and anything I find interesting around these fields. I just finished an edX module in C programming. I’m still focusing on Python and plan to write the PCEP exam in a few weeks time if I have the budget. Today I started reviewing the PCEP course ware in…

  • Python

    Getting dirty with GUI development

    Part of my degree studies are Python and then next semester includes GUI development using PyQt. So I thought why not get a head start as I’m wanting to build a few GUI applications for myself. I purchased Martin Fitzpatrick‘s “Create GUI Applications with Python & Qt5” eBook and videos and thus far having a lot of fun working through the book. The code is very well explained and the book is very easy to follow over all. Keep an eye for the review as soon as I’ve finished working through the book.

  • Python,  Studying

    print(‘JetBrains Academy’)

    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…

  • Python,  Studying

    Lock down learning

    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.

  • #100DaysOfCode,  Uncategorized

    Day 1 of #100DaysOfCode

    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.…

  • eBooks,  Python

    Python Humble Book Bundle

    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.

  • Python,  Tutorials

    Another blog post on Python

    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.