-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Milestone
Description
So, I love how ipython can path-complete strings to dig through your folders.
But I increasingly work with pathlib.Path objects for their increased readability and useful object attributes to access sub-paths.
Would it be possible to have ipython to be able to path-complete on a pathlib.Path folder?
So, I would like to be able to do something like this:
from pathlib import Path
root = Path("/abc/myfolder")
f1 = root / "f342<TAB>"
f2 = root / "f569<TAB>"Hope this is understandable? With I mean I press the TAB key at that point, to have ipython complete that string part of the full path.
Cheers!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels