Category: Coding

  • Expo on Codespaces

    Expo on Codespaces

    What will I need? How long will it take? About ten minutes. Lets give it a go! Create a new Codespace using the blank template: Once initalised, create an empty Expo React App (select (y)es when prompted): Install the expo-cli command line tool globally: Change into your example project’s folder and edit App.js, maybe adding…

  • Rainbows, decorators arguments & threads

    Rainbows, decorators arguments & threads

    Playing with Rainbow Hat I learned a few things about Python as a result I found out what a decorator is, the difference between args and kwargs and threads. I also learned that a lot of guides don’t understand either. If you can’t explain it simply, you don’t understand it well enough1. Decorators Rainbow Hat…

  • Python List Comprehension

    Python List Comprehension

    I’ve been spending time with Python recently and am beginning to really like some of the language’s features. List comprehension creates a list by evaluating an expression on each item in each list, from left to right. It combines an expression and a loop: Apply a condition : It’s useful for combining lists: Pimoroni’s Rainbow Hat…