Python

Python: Expand URL

2 minute read

Python has many great modules to deal with HTTP connections. A simple one to look at to day is the requests module. We’ll look at how to query the HTTP reque...

Automate File Organizing

3 minute read

On our systems we use a lot of files and end up with a lot of clutter. Sometimes it can be hard to look through all those files and determine what is needed....

Scheduling file backups with Python

1 minute read

No matter what industry and position you are in, there are always file you need to backup. With so many options out there, creating your own solution is some...

Port Checking in Python

2 minute read

Python’s Sockets library allows us to make connections to other hosts and we can use this to establish new sockets for our scripts or check if they are open ...

Python Countdown Timer

1 minute read

Creating a timer is something we can use with just about projects. Whether that is to sleep the script or create a timer to perform something else. We will u...

Export images folder to HTML page

2 minute read

Often times we have a lot of images in a bunch of folders, and we need to go through the files to review them. I will show how we can use Python’s glob(), en...

Encrypting Files

2 minute read

With python there are many modules to use for encryption. Today we will see how to generate a key and encrypt a file. Encryption is used when encoding a file...

Python Virtual Environments

2 minute read

There comes a time in writing Python programs where you need to test something, work on an update to a module, or test a new module in a sandbox. Luckily the...