Vuyisile

These weeks in Firefox: Testing WebRTC and Responsive Design Mode

On Friday 3 February Mozilla held a test day for Firefox 52 Beta 3. The new features under test were WebRTC components; DTMF and screen sharing. WebRTC is a collection of communication protocols and APIs that enable browsers to provide real time communication services such as desktop sharing, video calling, file sharing and more without …

These weeks in Firefox: Testing WebRTC and Responsive Design Mode Read More »

Debugging Python Code

The Python programs I have written from the time I started learning Python up to now are very simple scripts. I still consider myself a beginner, but I have started to write not so simple code that is usually very brittle and buggy. I have a Github repo of scripts that automate common tasks on …

Debugging Python Code Read More »

A Summary of PEP 8: Style Guide for Python Code and PEP 257: Docstring Conventions.

Most programming languages follow a basic style or formatting standard to make it easy for others to read your code. In Python, we have the PEP 8 and the PEP 257 conventions. PEP stands for “Python Enhancement Proposal”. “PEP 8: Style Guide for Python Code” and “PEP 257: Docstring Conventions” are documents that contain conventions …

A Summary of PEP 8: Style Guide for Python Code and PEP 257: Docstring Conventions. Read More »

Set Comprehension in Python

In a previous article I discussed list comprehensions. Today I will talk about set comprehensions. Set comprehensions were added to Python in version 2.7 and they are similir to List Comprehensions, the only difference is that we use curly braces instead of square brackets when making them. A set is an un-ordered collection in which …

Set Comprehension in Python Read More »