Message314200
Yes, it's cross platform.
For a plain string version, you can use a utility function:
>>> for i in range(n+1):
... path = os.path.dirname(path)
...
I'm not sure it's worth adding this to os.path. |
|
Date |
User |
Action |
Args |
2018-03-21 14:51:24 | eric.smith | set | recipients:
+ eric.smith, amjad ben hedhili |
2018-03-21 14:51:24 | eric.smith | set | messageid: <1521643884.91.0.467229070634.issue33102@psf.upfronthosting.co.za> |
2018-03-21 14:51:24 | eric.smith | link | issue33102 messages |
2018-03-21 14:51:24 | eric.smith | create | |
|