On Sep 26, 2010, at 6:18 PM, Marc Tompkins wrote:

On Sun, Sep 26, 2010 at 3:04 PM, David Hutto <smokefl...@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...

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to