Getting TypeError in Changing file permissions

Pranav Bagora pbagora at yahoo.com
Fri Jul 22 15:40:44 EDT 2005


Hello ,
i am trying to change mode of files using the 
os.chmod()function. But i am getting an error 

" os.chmod(outfile,0700)
TypeError: coercing to Unicode: need string or buffer,
file found"

Please Help,
Pranav

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Python-list mailing list