Convenience method for repeated FilePath.parent()
|Reported by:||jml||Owned by:|
(diff, github, buildbot, log)
It would be nice if FilePath let you do something like:
path = FilePath(__file__).parent(3)
where the above was equivalent to:
path = FilePath(__file__).parent().parent().parent()
Having a differently named function would be OK too.
Change History (17)
Changed 6 years ago by glyph
comment:11 Changed 6 years ago by glyph
- Keywords review added
- Owner glyph deleted
- Status changed from assigned to new
Note: See TracTickets for help on using tickets.