Search

Home > Python Bytes > #373 Changing Directories
Podcast: Python Bytes
Episode:

#373 Changing Directories

Category: Technology
Duration: 00:26:33
Publish Date: 2024-03-05 08:00:00
Description: Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by ScoutAPM: pythonbytes.fm/scout

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.

Michael #1: zoxide

  • zoxide is a smarter cd command, inspired by z and autojump.
  • It remembers which directories you use most frequently, so you can "jump" to them in just a few keystrokes.
  • zoxide works on all major shells and platforms.

Brian #2: Smart CLIs with Typer

  • Rahul Pai
  • Lots of TILs here, even though I’ve been using Typer for years.
  • Examples of
    • Auto-detection of arguments and types based on type hints
    • Help text is a smidge clunkier
    • Prompting for missing arguments
    • Defaulting to an enviromental variable for missing args
    • Print help if no args given
    • Explicit app and subcommands with a comparison to argparse
    • Reusable commands with result_callback
  • Several topics covered in comparison with argparse
  • See also Testing argparse Applications

Michael #3: Python recommended officially by the US Government

  • The US government explicitly recommends memory safe languages.
  • Python is one of them
  • The comparison to big tech by Samuel is interesting

Brian #4: Textual tutorials at Mouse vs Python

Extras

Brian:

Michael:

Joke: Ship it!

Total Play: 0

Some more Podcasts by Michael Kennedy

500+ Episodes
Talk Python .. 300+     50+