Skip to content

General Python tips⚓︎

  • Use the built-in pathlib library for local file handling over os.path
  • Type hint functions and methods
  • Run an async coroutine with asyncio.run(<call to coroutine>)
  • Follow Google's Python style guide: https://google.github.io/styleguide/pyguide.html