import os is not

Alex Martelli aleaxit at
Thu Sep 14 11:53:27 CEST 2000

"Jerry L Kreps" <jk05308 at> wrote in message
news:968909069.343094523 at
> So how do I do things like chown, chmod, cd, cp, rm, mv if 'import os'
> work?  Strange, open(path) does work, and it is part of the os list given
> the docs. ????

There is a *builtin* open (which is normally what you use) as well
as  Is it just a syntax problem -- does os.chown(path,uid,gid)
work...?  Remember you do have to say os.whatever() after import os...


More information about the Python-list mailing list