This tutorial will explain how to rename or move a file or directory in the Python programming language and provide some simple examples you can follow. Looking to delete a file? Check out our tutorial on file/folder deletion in Python here. To Avoid Errors when… Read More »How to Rename or Move a File/Folder/Directory in Python
I'm Brad, and I'm nearing 20 years of experience with Linux. I've worked in just about every IT role there is before taking the leap into software development. Currently, I'm building desktop and web-based solutions with NodeJS and PHP hosted on Linux infrastructure. Visit my blog or find me on Twitter to see what I'm up to.
This article will show you the various ways to delete files and directories in the Python programming language. To Avoid Errors, First Check if a File or Folder Exists To avoid errors when deleting a file, you can first check whether the file exists. You can… Read More »How to Delete a File/Folder/Directory in Python
This article will show you how to configure vsftpd as an anonymous FTP server which does not require authentication. vsftpd is an FTP file server which can run on Linux. FTP is is the file transfer protocol. It’s been around forever (since the 1970’s!), so it works with… Read More »How to Configure vsftpd an Anonymous FTP Server
This guide will explain the programming issues you will encounter when performing arithmetic with floating point numbers, and how to avoid them. The reason why these issues occur will be summarised and solutions will be provided. Floating point precision issues are common hurdle for beginner… Read More »Beginners Guide to Floating Point Arithmetic Precision
This guide will introduce you to the Python decimal library and class – Python tools which allow you to accurately work with decimal numbers without the rounding and accuracy issues which frequently arise when working with floating point numbers. Computers Can’t Perform Accurate Arithmetic With… Read More »Using The Python decimal Class for Accurate Calculations
This tutorial will show you how to configure a privacy Vpn using OpenVPN on OpenWrt through the LuCI web interface (no command line required!). Lots of screenshots are included so that you can follow along. What is OpenWrt OpenWrt is a popular Linux distribution for routers… Read More »Configuring a Privacy VPN with OpenVPN on OpenWrt With LuCI
This tutorial will detail how to build a wireless access point using a Raspberry Pi 4 with hostapd. I’ll also set up an Airplay server using shairport-sync so that my access point can play music. There are a number of tutorials for setting up a Raspberry Pi as… Read More »Building a Raspberry Pi 4 WiFi Access Point + Airplay Server