Shashidhar Paragonda <[email protected]> writes:

> Hello Noufal  I have tried your solution but i get invalid syntax for this
> line *with open(............)
> *I am using python 2.3.5 what could be the problem.

You could simply use f = open("file.txt","r") instead. 

The with statement was added only later. 
2.3.5 is quite old. Why don't you upgrade?


[...]


-- 
~noufal
http://nibrahim.net.in

May I ask a question?
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to