Re: [Python-ideas] Working with Path objects: p-strings?

March 30, 2016
12:36 p.m.
On Wed, Mar 30, 2016 at 4:25 AM, Random832 <random832@fastmail.com> wrote:
How about: Path/absolute/path Path%relative/path [think: % as the Unix shell prompt] I also like the idea of being able to do Path/~homesubdir/path as an alias for Path/'~'/homesubdir/path Apart from the above, the user would have to know to quote special path characters like ~ and . and trailing / to avoid a syntax error: Path/'~' Path/'..'/relative/path Path/absolute/path/'/' [in rare cases where the trailing slash is necessary] Nathan
3276
Age (days ago)
3276
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nathan Schneider