Can't Write File

Rami Chowdhury rami.chowdhury at gmail.com
Tue Nov 10 15:41:01 EST 2009


On Tue, 10 Nov 2009 12:38:36 -0800, Victor Subervi  
<victorsubervi at gmail.com> wrote:

> Hi;
> I've determined the problem in a script is I can't open a file to write  
> it:
> script = open(getpic, "w")  # where getpic is already defined
> Here are the permissions:
> -rwxr-xr-x  1 root root  4649 Nov 10 12:31 start.py
> What am I doing wrong?
> TIA,
> Victor

...and where's the file denoted by getpic?


-- 
Rami Chowdhury
"Never attribute to malice that which can be attributed to stupidity" --  
Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)



More information about the Python-list mailing list