A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/064915.html below:

[Python-Dev] Alternative path suggestion

[Python-Dev] Alternative path suggestion [Python-Dev] Alternative path suggestionEdward Loper edloper at gradient.cis.upenn.edu
Sat May 6 18:11:59 CEST 2006
On May 6, 2006, at 2:40 AM, Nick Coghlan wrote:
> Remember, the idea with portable path information is to *never*  
> store os.sep
> and os.extsep anywhere in the internal data - those should only be  
> added when
> needed to produce strings to pass to OS-specific functions or to  
> display to users.

If one of the path segments contained a path-splitting character,  
should it automatically get quoted?  (Is that even possible on all  
platforms?)  E.g., what would the following give me on windows?

str(Path('a', 'b\\c'))

-Edward
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4