Do you have directories filled with pictures, imported from your digital camera or mobile, all with meaningless names?
I know I did, so I thought I would write a quick and easy Python script to rename my images (or any other file type) all in one go.
So let’s dive in!
First off we need to import some libraries:
import osimport tkinterfrom tkinter import filedialogfrom tkinter.simpledialog import askstring
os - We use to help us with file paths.
tkinter - We use to have a graphical file selection and also a simple ask string input box.
I very rarely go on Facebook, unless prompted to, by someone else or to share something like an article with people I think would be interested.
I tend to try and stay off Facebook, as I find 90 percent of the information on there useless and none informative. That said, I do end up having a quick scroll through my timeline to see if anyone I know has done something interesting (most of the time this is not the case).
The last time I did this, I noticed that my timeline would stutter and start to struggle, whilst loading in…
Personally I do not suffer with mental health issues, but I know people who do, my partner been one of them.
She suffers from anxiety, which she finds hard to shake time to time, I always ask her “what has triggered her anxiety?” And she always replies “I don’t know”.
So I thought I would do an article on what I think has contributed to todays mental health issues and why I think technology is to blame for some parts.
I just want to point out, that I’m in no way qualified to diagnose or even talk about mental health…
If you’re new to Python then you may have been using
.txt or .
csv files to store and read data.
This is fine, but not the most secure or efficient way of storing data.
Python has a solution for this, SQLite3.
SQLite3 is a built in module which is a fully featured database solution for your programs data to be stored. The good thing about SQLite3 is that it’s also very easy to use.
Read more about it here.
So lets create your first SQLite database…
Create a new Python file in your favourite IDE or text editor, lets call…
Yes, you read that correctly, up to 80% performance hit while not even using Google Chrome or having it installed!
So what’s causing this? Well, nobody actually seems to know and Google says it’s nothing to do with Chrome or KeyStone. So what actually is the cause of this slow down of our Macs?
Well, back in 2009 Google updated their Google Earth’s update manager called KeyStone, KeyStone is what keeps checking Google servers for updates, then downloads and installs them. Google did this without the user knowing about it.
So, Google’s Keystone is constantly checking for updates for all…
I use PyCharm Professional every day at work and would not be without it, but I do relay on a few plugins which makes things easier.
So I thought I would share these with you guys, so lets get to it.
Rainbow CSV is a CSV file reader which colour codes each column for easy viewing inside of PyCharm. This saves having to load any CSV files into Excel or Numbers, you can do it all from PyCharm.
Me and my family always stream our home movies and other video’s we have stored on our own personal cloud. When we have visitors they always seem to ask how I do this.
So here I’m going to show you how you can do this from your Mac with no tech knowledge needed, oh and not cost a penny!
So to start you will need your Mac which you wish to stream your movies from, once this is decided then you will need to download an app called Serviio, you can get this app from here.
You need to select…
Have you ever needed to make a decision with a group of friends or work colleagues, over which restaurant you are going to eat at or what time to meet there?
I know have many of times, sending multiple WhatsApp messages to a group, which then get confusing and still no definite answer to the question!
A new app aims to solve this kind of problem with ease, the app is called Agree and has been designed and programmed by Shihab Mehboob, a lone iOS programmer based in the UK.
I like to support small team app developers, as writing…
Your Mac out of the box looks and works great, but as I have written about before here, I always like to adjust a few settings to make it work better for me. Apple has a host of different options you can change to your liking, but did you know there are some hidden ones too?
Well for some reason Apple chooses to hide a host of settings, which I don’t really understand, but this is not unusual in OS’s as they hide features to maybe implement at a later date or they use them while developing the system further…
QR codes are everywhere more and more businesses are using them to link to user manuals for products, videos on how to use products and direct them to their website etc.
So what actually is a QR code?
The quick response, or QR, Code is a two-dimensional version of the Barcode able to show a wide variety of information almost instantly with the scan of a mobile device.
Most people have a QR Code scanning app installed on their phones, some even come as part of the phones OS. …