On Fri, 12 Apr 2013 08:28:52 -0700 (PDT) "Edward K. Ream" <[email protected]> wrote:
> The exec function exists in both 2.7 and 3.3, so I don't understand why > that shouldn't suffice. At least in 3.1 / 3.2 there was some incompatibility with 2.7... Yep, it's a statement in 2.7 and a function in 3.x, hence the need for the triple back flip to get something that's valid syntax in both. http://docs.python.org/2.7/reference/simple_stmts.html#exec http://docs.python.org/3/library/functions.html#exec Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
