Open CV (https://opencv.org) is a library available to Python (and other languages) to assist with image based machine learning. I am looking to turn an image into pixel values and then turn a file of values back into an image. I am going to be using XKCD #1696 (AI Research) as the image test for … Continue reading Turning Images Into Values (Python)
Category: Python
PDF Merge Website (Python)
Merging multiple PDFs seems to be a common request, and most people don't want to spend a small fortune on a tool to do the merging. I first looked at this problem with an early Python project (https://geektechstuff.com/2018/02/17/python-3-merge-multiple-pdfs-into-one-pdf/) and later improved on that project by adding a simple GUI (https://geektechstuff.com/2018/07/04/pdf-merge-with-gui-v2-python/). Now I have gone a … Continue reading PDF Merge Website (Python)
Python Log Reader V1 (Python)
Log files are a key aid to any technician. They help identify errors and why they might be happening and can be a gold mine of information. Sadly they are sometimes so full of information that it is like looking for a needle in a haystack. If a log file is in plain text (.txt) … Continue reading Python Log Reader V1 (Python)
Twitter Tweet Analysis Charts (Python)
Imagine you are a social media influencer, about to launch a big new Twitter campaign. You have your hashtag lined up and it is about to go live when it hits you - how do you know the tweets mentioning the campaign hashtag are positive? What if the hashtag is being used for negative tweets? … Continue reading Twitter Tweet Analysis Charts (Python)
Password Check (Python)
After discovering this week that someone had created a password checker I decided I would give the same idea a shot. For this project I am using information from the National Cyber Security Centre (NCSC) here in the UK. To read up on the information I recommend: https://www.ncsc.gov.uk/news/most-hacked-passwords-revealed-as-uk-cyber-survey-exposes-gaps-in-online-security https://www.ncsc.gov.uk/blog-post/passwords-passwords-everywhere https://www.ncsc.gov.uk/collection/passwords https://www.ncsc.gov.uk/collection/passwords/updating-your-approach ---- # geektechstuff # … Continue reading Password Check (Python)
Network / Port Scanner V2 (Python)
I have expanded my previous port scanner to have a little bit more functionality e.g. identify webpages, save to a log file and to either run interactively or run without interaction. I was thinking the non-interactive version could be scheduled via a cron job. ---------- #! /usr/bin/python3 # geektechstuff Security Python # modules to import … Continue reading Network / Port Scanner V2 (Python)
Using a Kindle as an eInk Clock (Python)
A little bit of a mini weekend project today as I wanted to put my Amazon Kindle to use when I'm not reading, and decided that the Kindle's "Experimental Browser" could be useful. How about an eInk digital clock... Note: I'm using Python for this project but similar results could be attained using JavaScript or Java … Continue reading Using a Kindle as an eInk Clock (Python)
Creating A Port Scanner (Python / Raspberry Pi)
Today I am having a quick play with the socket library in Python, and using it on my Rasperry Pi as a port scanner to check for vulnerabilities on devices connected to my home network. Yes, I know there are other tools available (such as nmap) that can do this but I wanted to see … Continue reading Creating A Port Scanner (Python / Raspberry Pi)
Check For A File And Then Move It (Python)
Imagine that you have a folder that you periodically check for a file (i.e. a network share where colleagues drop a file throughout the day) and when the file exists you have to move it and log when it was moved. I'm looking to tackle this today using Python. I've set myself the following outcomes … Continue reading Check For A File And Then Move It (Python)
Web Scraping: More Selenium & Ways To Interact With Websites (Python)
Yesterday I introduced Selenium to my web scraping fun, see here: https://geektechstuff.com/2019/05/07/web-scraping-introducing-selenium-python/ if you missed it. Today I am going to use Selenium to interact with a website by: Opening a webpage Logging in Retrieving information from the page As much as I've enjoyed using Wikipedia in my previous examples (and if you too are … Continue reading Web Scraping: More Selenium & Ways To Interact With Websites (Python)
You must be logged in to post a comment.