
__main__.py file in a project
This is, to a Python project / module, what if __name__ == '__main__
is to an individual Python file.
This is, to a Python project / module, what if __name__ == '__main__
is to an individual Python file.
First, create a new project using poetry
Apparently there’s this plugin for many IDEs called Emmet which makes writing HTML very fast!
We’ll install Racket from apt
as follows, as the snap version ended up with many hassles
In the Racket programming language, raco
is a command-line tool used to interact with Racket's package management system, run tests, build documentation, and perform other tasks related to Racket development. It's a versatile utility that automates various tasks in Racket projects.
First, we’re going to install Jupyter. As we don’t want to contaminate our global Python installation, we’ll do this in a venv
Command Palette (CTRL+SHIFT+P): Debug: Add Configuration
VSCode offers native test capabilities that are quite useful. Testing Python in Visual Studio Code
This must be applied to the configuration of the Typer object created for the CLI.
Here’s how to enable: https://python-poetry.org/docs/#enable-tab-completion-for-bash-fish-or-zsh