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

Sven R. Kunze srkunze at mail.de
Tue Mar 29 03:25:11 EDT 2016


On 27.03.2016 00:38, Greg Ewing wrote:
> I'm wondering how often literal pathames are really used
> in actual programs.

Don't underestimate what made Python great. Exploration is very important.

> In my experience, most pathnames are received as arguments,
> read from config files, etc. Most literals are just fragments
> that get concatenated with existing pathnames, and that's
> already covered by operations between path objects and strings.

True, matured programs usually work this way. But as we all know, agile 
is better than waterfall, so we might start with literals and replacing 
them with config variables later when needed.


Best,
Sven


More information about the Python-ideas mailing list