Rename file without overwriting existing files

Marko Rauhamaa marko at pacujo.net
Mon Jan 30 11:11:50 EST 2017


Grant Edwards <grant.b.edwards at gmail.com>:
> IMO, beginners shouldn't be using the os module.

Hard to know. Depends on what the beginner wants to accomplish.
> I always found the first sentence to be a bit funny:
>> This module provides a portable way of using operating system
> dependent functionality.
>> I understand whay they're tying to say, but I always found it amusing
> to say you're going to provide a portable way to do something
> non-portable.

One of the best things in Python is that it has exposed the operating
system to the application programmer. I don't think a programming
language should abstract the operating system away.
Marko


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /