-
Continue reading →: Raspberry Pi IoT Project: Temperature Part 2 – Testing Hardware (Raspberry Pi / Python)In part 1 I looked at the planning of my new Raspberry Pi / IoT project (temperature readings) and decided on the hardware to use. I already had the Raspberry Pi 3 (and appropriate microSD, power etc…) so the only thing missing was the temperature sensors. I ordered the sensor…
-
Continue reading →: Installing Django (Python)Django is a Python web framework, today I will be taking a quick look at how to install it. My recommendation is to install Django in a virtual Python environment, which my previous blog post discusses. After creating and activating the virtual Python environment, the installation of Django is done…
-
Continue reading →: Raspberry Pi IoT Project: Temperature Part 1 – Initial Planning (Raspberry Pi)Time for a new project for my Raspberry Pi 3B, this one has the current aim of regularly taking a rooms temperature and recording the results. However, for this project I will also be looking at the possibility of later expanding it so I am going to look at multiple…
-
Continue reading →: Programming 102: Think Like A Computer Scientist (Python)Today I finished/completed Programming 102: Think Like A Computer Scientist, which is a course created by the Raspberry Pi Foundation and hosted on the FutureLearn platform (details for both below). Programming 102: Think Like A Computer Scientist is an 8hr course split over 4 weeks (2hrs per week), although I…
-
Continue reading →: Programming 102 Week 4 Tasks (Python)Continuing on with Programming 102 via FutureLearn, and onto Week 4’s Tasks and Challenges. 4.5 Implementing Linear Search Task: “Have a go at implementing your own linear search function, in a way that would work on an unsorted sequence of integers.” # geektechstuff # Linear Search sequence = [‘A’,’B’,’C’,’D’] def…
-
Continue reading →: Programming 102 Week 3 Tasks (Python)Although it is still officially “week 1” of Programming 102: Think Like A Computer Scientist I’m onto week 3 as I’ve been enjoying the course and like the little programming tasks/challenges. 3.5 Implementing Bubble Sort Task: “Now you’re going to write a bubble sort program in Python” my_list = [5,9,5,8,1,3]…
-
Continue reading →: Programming 102 Week 2 Tasks (Python)This blog post continues on from my previous Programming 102 tasks/challenges. 2.5 Strings As Lists Task: “On scoreboards, sports teams are sometimes referred to using a contraction of their name, often the first three letters. Can you write some code in order to create a new list, teams_short, containing three-letter…
-
Continue reading →: Programming 102 Week 1 Challenges (Python)In originally planned to do one blog entry for all the Programming 102 course (see: https://geektechstuff.com/2019/01/21/programming-102-think-like-a-computer-scientist-python-raspberry-pi/) but due to the amount of coding tasks/challenges (which is great) I’ve going to do one for each week and possibly one for the end of week challenges. Week 1 Challenge 2: “Create a function…
-
Continue reading →: Programming 102 “Think Like A Computer Scientist” (Python / Raspberry Pi)In my approach to keep learning I’ve signed up to Programming 102: Think Like A Computer Scientist” via FutureLearn and the Raspberry Pi Foundation. The course is available for free (or for a small fee to have a certificate) at: https://www.futurelearn.com/courses/programming-102-think-like-a-computer-scientist/ I’m using this blog post to post my code…
-
Continue reading →: Creating A Virtual Python Environment (Python)One of the issues I’ve hit when using Python is that sometimes a certain version of a Python module/library is needed and conflicts can arise. So if you are like me and fire up PIP to play with modules/libraries you probably have lots of them installed in the Global Python…



You must be logged in to post a comment.