&quot;__future__ is a special module used to change the behaviour of the parser, so it is extremely important that it occur in the beginning of your module.  Just move the imports to the top of your code, and that&#39;s all there is to it.&quot;<br>
<br><br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 10:02 AM, sudhakar s <span dir="ltr">&lt;<a href="mailto:ssquery@gmail.com">ssquery@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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 &quot;setup.py&quot;, line 8, in &lt;module&gt;<br>    from SOAPpy.version import __version__<br>  File &quot;/Applications/SOAPpy-0.12.0/SOAPpy/__init__.py&quot;, line 5, in &lt;module&gt;<br>    from Client      import *<br>

  File &quot;/Applications/SOAPpy-0.12.0/SOAPpy/Client.py&quot;, 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 &quot;setup.py&quot;, line 8, in &lt;module&gt;<br>    from SOAPpy.version import __version__<br>  File &quot;/Applications/SOAPpy-0.12.0/SOAPpy/__init__.py&quot;, line 5, in &lt;module&gt;<br>

    from Client      import *<br>  File &quot;/Applications/SOAPpy-0.12.0/SOAPpy/Client.py&quot;, 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 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"><font color="#888888">S Sudhakar.</font></font></div></span>
<br>_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
<br></blockquote></div><br>