This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abarry
Recipients abarry, princemallow
Date 2016-11-04.16:35:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478277345.11.0.797220049021.issue28611@psf.upfronthosting.co.za>
In-reply-to
Content
That's how strings work, unfortunately. You can't end any string (raw or not) with an odd number of backslashes. You could do the following to get around this limitation:

>>> r"C:\Folder" "\\"
'C:\\Folder\\'

As a side note, please don't upload screenshots if what you're capturing consists only of text (you can paste it directly in your message). This makes it impossible to copy-paste input in the interpreter to try to replicate the issue, and makes it harder/impossible for the blind and visually-impaired to contribute. Thanks!
History
Date User Action Args
2016-11-04 16:35:45abarrysetrecipients: + abarry, princemallow
2016-11-04 16:35:45abarrysetmessageid: <1478277345.11.0.797220049021.issue28611@psf.upfronthosting.co.za>
2016-11-04 16:35:45abarrylinkissue28611 messages
2016-11-04 16:35:44abarrycreate