Introduction
About me
Hi, I’m Sebastian. I write Python code for a living, and I also teach others how to write Python code. You can find more information about me on my website: https://switowski.com - including some of my conference talks, a list of my workshops, and a blog.
You can get in touch with me through:
Workshop’s structure
- Setting up VS Code
- Managing different Python versions and dependencies
- Exercises
- Project structure and cookiecutter
- Code style
- REPL
- Testing
- Documentation
- Mini project (TODO app)
- Docker
Requirements
- VS Code. Visit https://code.visualstudio.com/, and it should automatically detect your operating system, showing you a large, blue button with “Download for ”. If it doesn’t work, click “Download” in the upper right corner to go to the Download page.
- Docker. Visit https://docs.docker.com/get-docker/ and select your operating system. It will take you to a website explaining how to install “Docker Desktop” on your computer. Make sure you install “Docker Desktop”, not “Docker Toolbox”, “Docker for Windows” or any other tool like that (“Docker Desktop” is the easiest to install and contains all the tools that you will need to easily start using Docker).
- Python 3.6 or higher. You can use any version of Python, but if you have and old version, then some of the things that I will be showing might not work on your computer (like the f-strings). The best way to install a new version of Python without messing up your computer is to use pyenv. If you are not sure how to use it, don’t worry - installing and using pyenv is one of the topics of the workshop, so I will explain that!
Operating system
During the workshop, we will be installing a couple of tools on our computers. You might run into some problems (like missing dependencies or different commands) depending on what operating system you use:
- macOS - this is the operating system that I’m using, so the content of the workshop is tested on the latest version of macOS. If you have a problem, I should be able to help you.
- Windows - I have installed all the tools from the workshop on a Windows 10 computer, and if there are any differences, I will mention them in the appropriate sections (look for icon). However, I’m not a Windows user, so I’m afraid that I won’t be able to help you debug any problems.
- Linux - In most cases, installing tools on Linux will be very similar to using macOS (except that you will use a different package manager).