[BangPypers] File operations
Noufal Ibrahim
noufal at gmail.com
Wed Oct 19 14:43:18 CEST 2011
Shashidhar Paragonda <shashidhar85 at gmail.com> 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?
More information about the BangPypers
mailing list