Our customer wants some addon and our tool at customer place is still running with Python v2.3.5 & Zope v2.7.X I dont have option to change now ,ya in near future I am migrating to newer version of python & zope.
On Wed, Oct 19, 2011 at 6:13 PM, Noufal Ibrahim <[email protected]> wrote: > 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 > -- ----------------------------------- Regards, Shashidhar N.Paragonda [email protected] +919449073835 _______________________________________________ BangPypers mailing list [email protected] http://mail.python.org/mailman/listinfo/bangpypers
