problem in with keyword
Murali kumar
murali.au at gmail.com
Fri May 1 06:56:37 EDT 2009
hi all..
my application runs fine in windows xp using python 2.6 and wxpython 2.8.9
but in ubuntu 8.10 following error appears.. using python 2.5.2 and
wxpython 2.8.9
/home/murali/Desktop/mathdemo-configfinal/manageprofile.py:63: Warning:
'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "test.py", line 8, in <module>
import manageprofile as managepf
File "/home/murali/Desktop/mathdemo-configfinal/manageprofile.py", line 63
with open(self.profile, 'wb') as configfile:
^
SyntaxError: invalid syntax
help for this problem..
Advanced thanks..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090501/4e639421/attachment.html>
More information about the Python-list
mailing list