<div class="gmail_quote">On Sun, Sep 26, 2010 at 3:04 PM, David Hutto <span dir="ltr"><<a href="mailto:smokefloat@gmail.com">smokefloat@gmail.com</a>></span> wrote: <br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
> Pretty sure it's the parentheses, but I'm not an expert. In python 3 you use<br>
> print(), in 2.6 you either use import from __futur__ or print "string here".<br>
<br>
</div>I mean __future__ .<br></blockquote><div><br>The parentheses are optional in 2.6, mandatory in 3. In 2.6, print and print() are alternate ways to invoke the print statement; in 3 the print statement has been replaced by the print() function. If you want to use the function instead of the statement, you must do this:<br>
<div class="last highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">print_function<br></span></pre></div>
</div>
but I'm pretty sure that's not the OP's issue.<br><div class="last highlight-python"><div class="highlight"><pre><span class="kn"></span><br></pre></div></div></div></div>-- <br><a href="http://www.fsrtechnologies.com">www.fsrtechnologies.com</a><br>