earn the White PyBites Ninja earn the Yellow PyBites Ninja earn the Orange PyBites Ninja right arrow earn more PyBites Ninja belts and certificates
The best way to learn to code in Python is to actually use the language.

Our platform offers effective Test Driven Learning which will be key to your progress.


Join thousands of Pythonistas and start coding!


Join us on our PyBites Platform
Click here to code!

Code Challenge 56 - Calculate the Duration of a Directory of Audio Files - Review

Posted by PyBites on Tue 30 October 2018 in Challenges • Tagged with code challenge, challenges, audio, music, FFmpeg, subprocess, glob, os.path, pathlib, datetime, eyeD3, csv, Pandas, itertools, re, SQL, property, decorator • 2 min read

In this article we review last week's Calculate the Duration of a Directory of Audio Files code challenge.


Continue reading

OOP Beyond the Basics: Using Properties for Encapsulation, Computation and Refactoring

Posted by Bob on Wed 31 May 2017 in Concepts • Tagged with oop, property, decorators, encapsulation, computation, dunder, refactoring, pytest, 2vs3, getter, setter • 4 min read

In this article I share my learning of the property decorator coding a simple Account class. I think it's an unmissable tool in your (Python) OOP toolkit.


Continue reading