Using Python, coding, and tools, to increase your productivity

20 14,647 1,104
articles words lines of code

Today I learned how to use shell scripting to activate my virtual environment automatically when I change directories.

Today I learned about 5 useful pytest options that let me control what tests to run with respect to failing tests.

Today I learned how to call a makefile from within another makefile.

This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.

Today I learned how to create git aliases in my .gitconfig file.

Today I learned how to automatically push code changes while I'm doing live coding, for example while teaching.

Today I learned how to use named tuples to improve readability and flexibility of test parametrisations in pytest.

Today I learned how to automatically delete local git branches that have been merged already.

Today I learned that you can run custom Python code when Python starts-up, before running other scripts or programs.

Today I learned how to find the commits that affected a specific file with git log.

Today I learned how to customise the Python REPL on start-up.

Today I learned how to create nested git repositories through the submodules command.

Today I learned how to create an alias to activate my Python virtual environments with a single-word command.

Today I learned how to use VS Code's sticky scroll feature.

Today I learned how to rename a git branch from the CLI.

This reference article teaches you the things you'll need to write your thesis or report with LaTeX.

Learn how to use ChatGPT to quickly test and prototype programs.

Learn keyboard shortcuts that will make you a more efficient and productive Python programmer with VS Code.

In this Pydon't you'll learn how to make the best use possible of the Python REPL.