13 posts about "python"
- Advent of Code 2024 Notes and learnings from doing Advent of Code 2024
-
uv looks like a very promising new python package manager. Its fast, does global python tool installs, and has sensible defaults.
The only downside against conda is that uv only installs python tools, while conda can install other apps and tools.
- Quote Clock on a Pi Pico Building a basic quote clock using micropython
-
python-dotenv makes it easy to read in secrets from env or a
.envfile in the project folder.from dotenv import load_dotenv load_dotenv() # take environment variables - Peloton Cycle API Trying out the API
- Teaching kids python 101
I first started out with scratch, which is pretty awesome and kids can create some pretty awesome (and complex!) projects very quickly. However, I noticed that it is hard to go back and read - the scratch blocks once assembled are hard for the same kid who put them together to quickly read and iterate on.
A concrete example: Deep inside a scratch game, I tried to help a kid update the code for an input method - but it involved moving so many blocks that it was a real pain. Kid coded Scratch is like lego - to tinker with code you need to almost break apart the whole thing.
- Python setup to follow
- how the blog was built, python edition
There are many excellent blog engines out there, but to customise any of them takes so much understanding of how they work, the template and theme engines they use, that its easier to just use them exactly as is with an existing theme.
I wanted my own custom static blog, which played well with jupyter notebooks and markdown files, as well as a reason to do some python coding, so here goes yet another python blogging engine.
- PyCon Australia 2019 Notes for PyconAU 2019.
- Advent of Code 2016 Notes on some of the AOC16 puzzles
- MITx 6.00.2X: Intro to Computational Thinking and Data Science a great intro course to python
- Notes for Harvard's Cs109 data science class Notes as I worked through CS109.
- Udacity CS101: Intro to CS
This was one of Udacity's first computer science MOOC's, and I really liked it. Its a great fast intro to computer science concepts and python.
In particular, I liked that the class both had a cameo by Google's founder and the final project was to build a simple version of Google's original search engine using the pagerank algorithim.