PyCon AU 2019 Saturday In Summary

Posted by Jack McKew on Tue 06 August 2019 in Python • Tagged with pyconau, python • 5 min read

My first ever conference, learning things I'd never even think of, meeting lots of new people and making my to-do list full of new things to learn. All this happened over the weekend at PyConAU 2019. This post is dedicated to all the fantastic people I met that gave me …


Continue reading

Python and OCR

Posted by Jack McKew on Fri 28 June 2019 in Python • Tagged with python, ocr • 4 min read

This post will demonstrate how to extract the text out of a photo, whether it being handwritten, typed or just a photo of text in the world using Python and OCR (Optical Character Recognition). While this is something that humans do particularly well at distinguishing letters, it is a form …


Continue reading

Python and Data Security (Hashing Algorithms)

Posted by Jack McKew on Fri 21 June 2019 in Python • Tagged with python, security • 5 min read

Data security is becoming more and more prevalent in today's society than ever before. We must make a conscious effort to secure both our physical lives, but also our digital lives as well. With data privacy, sharing of information and access control becoming integrated into most people's life in some …


Continue reading

Parallel Processing in Python

Posted by Jack McKew on Fri 07 June 2019 in Python • Tagged with python • 3 min read

Parallel processing is a mode of operation where the task is executed simultaneously in multiple processors in the same computer. The purpose of this is intended to reduce the overall processing time, however, there is often overhead between communicating processes. For small tasks, the overhead is detrimental to the length …


Continue reading

Distributing Python Code

Posted by Jack McKew on Fri 31 May 2019 in Python • Tagged with pyinstaller, python • 2 min read

This post will cover a way of distributing Python code such that is can be used by someone that does not have Python installed. One of the major drawbacks with Python that the gap is slowly being closed is how easy it is to distribute Python code.

At a minimum …


Continue reading

Python Decorators Explained

Posted by Jack McKew on Fri 24 May 2019 in Python • Tagged with python • 3 min read

Python decorators are one of the most difficult concepts in Python to grasp, and subsequently a lot of beginners struggle. However they help to shorten code and make it more 'Pythonic'. This post is going to go through some basic examples where decorators can shorten your code.

Firstly you have …


Continue reading

Efficient Frontier for Balancing Portfolios

Posted by Jack McKew on Fri 26 April 2019 in Python • Tagged with python, data, analysis • 5 min read

Following last 2 weeks’ posts (Python for the Finance Industry & Portfolio Balancing with Historical Stock Data), we now know how to extract historical records on stock information from the ASX through an API, present it in a graph using matplotlib, and how to balance a portfolio using randomly generated portfolios …


Continue reading

Portfolio Balancing with Historical Stock Data

Posted by Jack McKew on Fri 19 April 2019 in Python • Tagged with finance, python • 4 min read

Following last weeks' post (Python for the Finance Industry). This post is to demonstrate a method of determining an optimized portfolio based on historical stock price data.

First of all while attempting to tackle this problem, I stumbled across many very informative articles in which based on what I learned …


Continue reading

Python for the Finance Industry

Posted by Jack McKew on Fri 12 April 2019 in Python • Tagged with python, finance • 3 min read

This is the first post in a series of posts dedicated for demonstrating how Python can be applied in the finance industry. Personally, the first thing that comes to mind when I think of the finance industry is the stock market. For fellow Australians, our main stock exchange is the …


Continue reading

How to Program an ESP8266 with MicroPython

Posted by Jack McKew on Fri 05 April 2019 in Engineering • Tagged with electrical, esp8266 • 1 min read

Following the previous two weeks of topics, Introduction to ESP32/ESP8266 and What is MicroPython?.  I wrote an article on maker.pro in which I describe how to program the ESP8266 with MicroPython in detail.