[Tutor] Simple PassGen

Lie Ryan lie.1296 at gmail.com
Wed Feb 11 13:16:11 CET 2009


On Wed, Feb 11, 2009 at 2:26 AM, <python at bdurham.com> wrote:

>
> > Are you sure it isn't python 3.x you're playing with? The reason why
> simple print function "works" in python 2.x is because of a syntactical
> coincidence, it is still a 100% statement.
>
> Yes, I'm sure :) I restarted IDLE and pasted my session output below:

<snip>

You didn't tell that you imported __future__'s print_function! I thought I
was having a hallucination or something... seeing that behavior in python2.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090211/cf86af51/attachment.htm>


More information about the Tutor mailing list