Repl Friendly Import Patching

Adds project root directories to sys.path for proper imports, with try/except to handle REPL environments (PyCharm, ipython, Jupyter) where __file__ is undefined. Use when writing Python scripts that need to import from parent/grandparent directories and should also work in interactive environments.

tankygranny05 Updated

File contents

tankygranny05/agent-box/tree/main/agent-box/seed/codex-skills/repl-friendly-import-patching commit 7a2a17adf6

Frequently asked questions

npx skillmds@latest add tankygranny05/repl-friendly-import-patching