import os is not

Jerry L Kreps jk05308 at navix.net
Thu Sep 14 07:41:30 EDT 2000


Thanks Alex,
That was the piece of info I was not connecting with...
Jerry
PS.  Also, thanks for not 'rtfm' or some other shot of testosterone.

On Thu, 14 Sep 2000, Alex Martelli wrote:
>"Jerry L Kreps" <jk05308 at navix.net> wrote in message
>news:968909069.343094523 at news.navix.net...
>> So how do I do things like chown, chmod, cd, cp, rm, mv if 'import os'
>doesn't
>> work?  Strange, open(path) does work, and it is part of the os list given
>in
>> the docs. ????
>> JLK
>
>There is a *builtin* open (which is normally what you use) as well
>as os.open.  Is it just a syntax problem -- does os.chown(path,uid,gid)
>work...?  Remember you do have to say os.whatever() after import os...
>
>
>Alex



More information about the Python-list mailing list