Annoying octal notation
james.harris.1 at googlemail.com
Sat Aug 22 01:23:57 CEST 2009
On 21 Aug, 20:48, Derek Martin <c... at pizzashack.org> wrote:
> James Harris wrote:
> > It maybe made sense once but this relic of the past should have been
> > consigned to the waste bin of history long ago.
> Sigh. Nonsense. I use octal notation *every day*, for two extremely
> prevalent purposes: file creation umask, and Unix file permissions
> (i.e. the chmod() function/command).
You misunderstand. I was saying that taking a leading zero as
indicating octal is archaic. Octal itself is fine where appropriate.
The chmod command doesn't require a leading zero.
More information about the Python-list