Unix commands within Python code

Jeremy Sanders jeremy+plusnews at jeremysanders.net
Fri Jul 16 15:03:14 CEST 2004

On Thu, 15 Jul 2004 13:01:17 -0500, Larry Bates wrote:

> There are also many os. commands that can
> do this without shelling out to the Unix
> shell, in particular:
> os.chmod(path, mode)

There's also the shutil module with some useful shell-like commands.


More information about the Python-list mailing list