[Tutor] Issues In Terminal
Bill DeBroglie
bill.debroglie at gmail.com
Mon Sep 27 00:25:11 CEST 2010
On Sep 26, 2010, at 6:18 PM, Marc Tompkins wrote:
> On Sun, Sep 26, 2010 at 3:04 PM, David Hutto <smokefloat at gmail.com>
> wrote:
> > Pretty sure it's the parentheses, but I'm not an expert. In python
> 3 you use
> > print(), in 2.6 you either use import from __futur__ or print
> "string here".
>
> I mean __future__ .
>
> 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:
> from __future__ import print_function
> but I'm pretty sure that's not the OP's issue.
>
Yes, not a parenthesis issue (happens whether I use them or not, I've
tried both ways).
> --
> www.fsrtechnologies.com
By the way guys, thank you so much for the help. I'm sort of learning
this on my own and don't know where to go when I hit a wall like this...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100926/d5ea38b6/attachment.html>
More information about the Tutor
mailing list