Skip to content

Instantly share code, notes, and snippets.

@guoqiao
Created January 20, 2023 10:56
Show Gist options
  • Save guoqiao/3bf29f84ffd3f6b0b144b43f3ab6f8bb to your computer and use it in GitHub Desktop.
Save guoqiao/3bf29f84ffd3f6b0b144b43f3ab6f8bb to your computer and use it in GitHub Desktop.
python path ops
from pathlib import Path

FILE = Path(__file__).resolve()
NAME = FILE.stem
HERE = FILE.parent


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment