>> Even clearer is not to allow octal literals :) Is there *any* use for >> them? > > The mode argument to os.chmod. You mean instead of import this os.chmod(filename, os.R_OK | os.W_OK | os.X_OK) which explicitly (rather than implicitly) spells it out? -tkc