Ritesh Raj Sarraf schrieb:
> Also,
> f = file ('some_file.jpg')
> 
> throws an error.
> "str object is not callable"

I bet you have rebound "file" to a string, like this:

file = "some name"


And PLEASE don't top-quote:

http://www.redballoon.net/~snorwood/quote-rant.shtml


Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to