Lie,
The import from __future__ print_function happens automatically
in our environment and I took this for granted.
Sorry about the confusion :)
Regards,
Malcolm

----- Original message -----
From: "Lie Ryan" <lie.1...@gmail.com>
To: pyt...@bdurham.com
Cc: tutor@python.org
Date: Wed, 11 Feb 2009 23:16:11 +1100
Subject: Re: [Tutor] Simple PassGen

On Wed, Feb 11, 2009 at 2:26 AM, <[1]pyt...@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

References

1. mailto:pyt...@bdurham.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to