[issue11344] Add os.path.splitpath(path) function

Éric Araujo report at bugs.python.org
Sat Apr 30 17:55:24 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

To clarify one point: Python does not try to mimic the shell, but the os module exposes system calls as they are.

(Unrelated remark: pkgutil.get_data can replace a lot of uses of dirname(dirname(__file__)))

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11344>
_______________________________________


More information about the Python-bugs-list mailing list