Skip to main content
Ctrl+K

Sam's notes

Site Navigation

  • Bible notes
  • Civil engineering notes
  • Coding notes
  • Maths
  • Sermon notes
    • DIY notes

Site Navigation

  • Bible notes
  • Civil engineering notes
  • Coding notes
  • Maths
  • Sermon notes
    • DIY notes

Section Navigation

Contents:

  • Coding links
  • Git - I accidentally got into vi when I committed
  • Git tips
  • touch command equivalent for CMD
  • Learning Rust as a Pythonista
  • Making a strong and memorable password.
  • Rust notes
  • Coding notes
  • Coding links

Coding links#

Here’s a few links to sites I find really helpful

Python#

Getting started#

Think Python: Allan Downey. This is a really fantastic beginner’s book for Python. Very highly recommended.

Python 3 Bootcamp. I got started with Python using this course. Very well presented.

Learning more#

Real Python: loads of really great articles, some very in depth, all well presented.

Talk Python podcast seems to have gone through a few name changes. Really good podcast, been going a long time so I tend to hunt for topics that interest me.

Libraries I like#

numpy

scipy

matplotlib

Tools I like#

VS Code it’s got lots of great extensions too.

ptpython this is ace. Especially if you use it in ipython mode. You can do terminal commands whilst in the ipython REPL by prefixing the command with “!”. Auto completion for terminal commands as well as Python, syntax highlighting, it’s great.

poetry package management, package building, dependency management, version management, virtual environments, it saves so much hassle.

ruff format and lint your code super fast

sphinx used in creating this website.

pytest makes testing your code so much easier than Python’s built in unit test.

Jupyter I started writing all my code in Jupyter notebook, then for a long time Jupyter Lab was my IDE of choice, I only moved to VS Code once the support for running Jupyter notebooks got up to the level of Jupyter Lab. I still use .ipynb files all the time. Great for experimenting and for creating presentable calculations.

pipx use this to install Poetry, ptpython, Ruff and anything else you want to use across projects.

Bash#

Windows subsystem for Linux (WSL) run a full Linux kernel in Windows. Get the best of both worlds.

Bash Reference Manual

previous

Coding notes

next

Git - I accidentally got into vi when I committed

On this page
  • Python
    • Getting started
    • Learning more
    • Libraries I like
    • Tools I like
  • Bash
Show Source

© Copyright 2023, Samuel James Williams.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.14.4.