Useful, robust shell utilities
Peter Hansen
peter at engcorp.com
Sat Mar 2 00:29:38 EST 2002
Jonathan Gardner wrote:
>
> There would be a big benefit to see something like:
>
> res = chmod("-c", "-R", "u=rwx,g=rx,o=", a_file, another_file, a_directory)
Is that anything like
os.system('chmod -c -R u=rwx,g=rx,o= %s %s %s' % (a_file, another_file, a_directory))
??
If so, why are you trying to rebuild the unix shell within Python?
(Or what am I missing?)
-Peter
More information about the Python-list
mailing list