Message272808
| Author |
brett.cannon |
| Recipients |
benhoyt, brett.cannon, moloney, python-dev, vstinner |
| Date |
2016年08月15日.23:24:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1471303470.63.0.51137033459.issue27038@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If all you want is to extract the path representation from an os.DirEntry instance and continue to work with strings/bytes then you can use os.fspath() which is new in Python 3.6 to get the representation: https://docs.python.org/3.6/library/os.html#os.fspath . |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年08月15日 23:24:30 | brett.cannon | set | recipients:
+ brett.cannon, vstinner, benhoyt, python-dev, moloney |
| 2016年08月15日 23:24:30 | brett.cannon | set | messageid: <1471303470.63.0.51137033459.issue27038@psf.upfronthosting.co.za> |
| 2016年08月15日 23:24:30 | brett.cannon | link | issue27038 messages |
| 2016年08月15日 23:24:30 | brett.cannon | create |
|