File Permission in Unix

Dave Swegen dswegen at
Wed Nov 14 18:38:22 CET 2001

On Wed, Nov 14, 2001 at 07:04:07PM +0200, Amit Weisman wrote:
> Hi
> How do one creates a file with specified permissions (e.g. , 777) within
> Python ?

os.chmod is your friend. Use os.chown to change ownership of a file.


More information about the Python-list mailing list