[Tutor] Plz help me from this
Steve Willoughby
steve at alchemy.com
Wed Sep 5 08:29:37 CEST 2007
Carlos Daniel Ruvalcaba Valenzuela wrote:
> Yes is very possible to do this with python.
>
> Checkout the os.system and os.popen functions to run external commands
> (chmod, chown).
While those are ways of calling external commands, it is best to use
built-in language features like os.chmod() and os.chown() whenver
possible. They will be much faster and less prone to errors and
security issues.
More information about the Tutor
mailing list