[issue32807] Add 'str' property to PathLib

Arka report at bugs.python.org
Fri Feb 9 05:46:26 EST 2018


New submission from Arka <itsarkanayan at gmail.com>:

Add 'str' property to PurePath in PathLib that calls __str__ function and returns the string representation of the path. It is easier to use than str(Path). Many existing methods accept only strings as a path.

----------
components: +Library (Lib)
title: Add -> Add 'str' property to PathLib
versions: +Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32807>
_______________________________________


More information about the Python-bugs-list mailing list