The VirtualZero Blog

Featured Stories


Python logo and red trash can
Delete Files Older than X Days in Python

Create a Python script to delete files older than x days.

XML logo and Python logo on dark grey background
Encode Strings for XML with Python

Properly format strings for XML with Python.

Latest Stories


Python logo and example operator filter
Sort a List of Objects by Attribute in Python

Use the operator module to sort by object attributes.

Python logo and argparse example on purple and grey background
Learn to Use Argparse for Python

Accept command line arguments in your Python script.

JavaScript Logo and child class as text on blue background
Use Class Inheritance in JavaScript

Learn to use class inheritance & reduce code.

Python logo with @staticmethod as text
Use Class Methods in Python

Create alternate constructors for a class.

Popular Stories


UFW, Ubuntu, and firewall logos on dark grey background
Allow SMB in UFW

Allow SMB traffic in UFW on Ubuntu & Debian.

Blue KDE Logo
Configure Screen Locking Shortcut in KDE

Learn to configure the screen locking shortcut in KDE.