A blog post looking at using Python to create or read QR Codes.
An Asset WebApp (Flask / Python)
The Software Engineering & Agile module of my degree apprenticeship is coming to a close. With that in mind I think I can now share the coding I've done for the assignment especially as I needed to store it in a public repository (it's on my GitHub at https://github.com/geektechdude/qa-se-webapp ) as part of the submissions … Continue reading An Asset WebApp (Flask / Python)
Running Flask As A Linux Service (Linux / Python)
Continuing on with the Software Engineering & Agile module of my degree, I need to be able to show my Flask web application running. After picking a cloud platform (in this case Azure) I git cloned my repository to the Linux Ubuntu instance that will be running it and realised that I've not included a … Continue reading Running Flask As A Linux Service (Linux / Python)
Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)
In this blog post I will be discussing Continuous Integration (CI) with GitHub Actions. Readers of previous blog entries may remember that I’ve tackled Continuous Integration (CI) with GitLab previously (see: https://geektechstuff.com/2021/04/05/python-unit-test-and-some-ci-via-gitlab-python/ ) and that last autumn (2021) I got into more testing (see: https://geektechstuff.com/2021/10/06/personal-update-django-and-mvc-mtv/ ). Thankfully both have helped as the current module of my degree apprenticeship is … Continue reading Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)
AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)
Less of blog post and more of a reminder to myself. When using Flask and Unit Testing with Python, if either of the below errors occur (or something similar): AttributeError: 'FlaskClientTestCase' object has no attribute 'client' AttributeError: 'FlaskClientTestCase' object has no attribute 'app_context' Then it may be because the setUp function of the test class … Continue reading AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)
Jupyter Notebook via Docker on Raspberry Pi (Python, Raspberry Pi)
With my Data Analytics learnings continuing at a fair pace I need to be able to turn data into something nice (e.g., plot it onto charts). I could use Power BI or R , but as regular readers may know my preference for most tasks is Python. Python offers several libraries that are great for … Continue reading Jupyter Notebook via Docker on Raspberry Pi (Python, Raspberry Pi)
Personal Update, Django and MVC / MTV
Last autumn (2020) I started a university degree apprenticeship to make up for that fact that I don't currently have a degree and that I enjoy learning a lot more now than I did in my late teens/early 20s. One of the modules I'm undertaking is Web Application Development, which I'm going to expand on … Continue reading Personal Update, Django and MVC / MTV
Tackling Fractions With Python
Fractions, not something I've really looked at since my school days. However with home schooling currently taking place here in the UK due to another Coronavirus lockdown, it is something that I've been refreshing my knowledge on this week. Note: https://www.calculatorsoup.com/calculators/math/fractions.php provides an online calculator to help with fractions. The site also provides the formulas … Continue reading Tackling Fractions With Python
Real World Python – Book Review (Python)
However, I also have periods where a form of writer’s block kicks in and wonder, “What else could I use Python for?”. As if by magic, Lee Vaughan has answered with “Real World Python” which contains examples of real-world problems being answered by Python and then expands on the solutions with fun challenge projects and further reading.
Object Oriented Programming (Python)
The 2017 school term has begun and in the next few weeks I'm looking forward to starting the new term of the schools code club. In the mean time I am continuing my own learning with some object oriented programming (Python) via Future Learn. The course can be found here: https://www.futurelearn.com/courses/object-oriented-principles/ I'm currently on week … Continue reading Object Oriented Programming (Python)
You must be logged in to post a comment.