The issue is that Path() doesn’t automatically expand the ~ (tilde) to your home directory. You need to use `.expanduser()`:

my_path = Path('~/work/data/derived/astro-tools').expanduser()

Alternatively, you can use `Path.home()`:

my_path = Path.home() / 'work/data/derived/astro-tools'

Both approaches will correctly resolve the path to astro-tools.

Source: Claude Sonnet ○˒

(echo:: @ )