<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi,<div> This is sudhakar, i am using python frame work and now concentrating on working on web services in python.<br>
I installed SOAPpy-0.12.0 on mac but getting errors as below:<br><br><span style="color: rgb(255, 0, 0); ">venj:SOAPpy-0.12.0 venkata$ python setup.py build</span><br><br><span style="color: rgb(51, 51, 51); ">Traceback (most recent call last):</span><br>
<br> File "setup.py", line 8, in <module><br> from SOAPpy.version import __version__<br> File "/Applications/SOAPpy-0.12.0/SOAPpy/__init__.py", line 5, in <module><br> from Client import *<br>
File "/Applications/SOAPpy-0.12.0/SOAPpy/Client.py", line 46<br> from __future__ import nested_scopes<br><br>SyntaxError: from __future__ imports must occur at the beginning of the file<br><br><span style="color: rgb(255, 0, 0); ">venj:SOAPpy-0.12.0 venkata$ python setup.py install</span><br>
<br>Traceback (most recent call last):<br> File "setup.py", line 8, in <module><br> from SOAPpy.version import __version__<br> File "/Applications/SOAPpy-0.12.0/SOAPpy/__init__.py", line 5, in <module><br>
from Client import *<br> File "/Applications/SOAPpy-0.12.0/SOAPpy/Client.py", line 46<br> from __future__ import nested_scopes<br>SyntaxError: from __future__ imports must occur at the beginning of the file<br>
<br>Hey please suggest me how to solve this error.<br><br><font class="Apple-style-span" color="#33CC00">Hey actually whats my requirement is i need to gather information from SAP system and Store it in Python appliction server.<br>
For this i am thinking to construct a web service on python in order to get the data from SAP system. Is this the correct way or is there <br>any other possibility get in formation and store it in python application and i use mysql database for python.</font><br>
<br>Please give your valuable suggestion.<br><br>Waiting for early reply.<br><br>with regards<br><font color="#888888">S Sudhakar.</font></div></span>