Computers from the 1980s seemed to be quite limited in their abilities, there was a big drive to make a machine as cheaply as possible. Competition was fierce between manufacturers.
25 years ago I was in college doing my A-Levels. Now I’m a teacher teaching A-Levels. I recently found my old programming project from my A-Level computer science course.
Are you a programmer? Are you learning how to be one? Come to think of it, how do you even learn how to think like a programmer?
Introduction It is possible to get your personal data - posts, images, etc out of Facebook as a zipfile. If you ask Facebook for this as JSON data it’s then possible to write some Python to parse this information and eventually upload it into Wordpress.
I set out to make a simple game using sprites for my BBC Micro. It turned into an unexpected learning opportunity for me. My day job During the day I teach kids computer science, and when we get to the tricky parts I often tell them to keep persevering and that they’ll eventually figure it out.
Now I’ve gained an understanding of assembly programming, let’s look at how they tried to teach us computer science in the 1980s… Intro I’m a programmer and the computer itself has always been a black box that I was insulated against, writing my code in a higher level language like C.
JSON is a standard for storing data in a human readable format. It’s the modern world’s version of XML. Python comes with a JSON library that will parse the data and turn it into a regular Python dictionary.
A quick set of notes on how to parse command line arguments properly in Python. This uses the argparse module, totally removing any effort on your part when it comes to processing command line switches.