Compass Mentis - Python Training and Development Blog

Course participant wearing headphones looking at a laptop screen, against a course slide as the background

Course: Python Programming

Duration: 4 days This course provides participants with the skills to write and maintain Python scripts. Topics covered include data types, operators, conditions, loops, functions, objects, collections, modules, exception handling, file I/O, and databases....

Course participant looking at slide summarising the course content

Course: Advanced Python

Duration: 4 days Pre-requisites Prerequisites: In short, it is a follow-on course from the Beginner’s Python course Course contents Object oriented programming Design patterns Automated testing Logging, debugging and exceptions Maintainable code Code re-use...

Friday Challenge #2

Here is my second weekly challenge for the LinkedIn’s Python Developers Community. The original post is here. Before you continue reading, see if you can work out the answer yourself. The question is: what...

Pro Python Tips for Data Analysts

Complex analysis requires complex code. How do you keep this tidy, ready to evolve and improve? The dream The dream is to create sleek code, which clearly expresses the steps between the problem and...

Friday Challenge #1

For the last five weeks I’ve been posting a weekly Python challenge on LinkedIn’s Python Developers Community. It is a bit of fun and a way to stretch the members and show them something...

Python – Count and learn

Here is a simple problem: Count how many times each character occurs in a string. And one more thing: Do this using Python. There are many different solutions to this and each shows us...

Python tip: Assignment operators

How do you increase the value of a variable? Here are a few more operations: If you don’t know some of these operators (e.g. ** or //) check out the Python documentation. Notice how...

Good, Better, Best? : FizzBuzz

The Zen of Python states: “There should be one– and preferably only one –obvious way to do it.” In real life it is not always that easy. There are usually many different ways to...