Re: from __future__ import print_function

2016-04-24 Thread Ethan Furman
On 04/24/2016 11:14 AM, Joel Goldstick wrote: On Sun, Apr 24, 2016 at 2:05 PM, San wrote: I want details explanation(why this statement used,when it can be used,etc) of following statement in python code "from __future__ import print_function" It lets python 2.7 use python

Re: from __future__ import print_function

2016-04-24 Thread Joel Goldstick
On Sun, Apr 24, 2016 at 2:05 PM, San wrote: > Hi All, > I want details explanation(why this statement used,when it can be used,etc) > of following statement in python code > > "from __future__ import print_function" > > Thanks in advance. > -- > https://ma

from __future__ import print_function

2016-04-24 Thread San
Hi All, I want details explanation(why this statement used,when it can be used,etc) of following statement in python code "from __future__ import print_function" Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Cecil Westerhof
Yes, but I was dumb enough to start the old version when I did >> this. :-( >> >> There is still one problem: >> ============== >>>>> from __future__ import print_function >>>>> print() &

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Laura Creighton
;There is still one problem: >========== >>>> from __future__ import print_function >>>> print() >() >

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Cecil Westerhof
gt;> from __future__ import print_function >>> print() () == While it should be: ====== >>> from __future__ i

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Laura Creighton
Do you have Jython 2.7 released a few weeks ago? Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Cecil Westerhof
On Sunday 21 Jun 2015 09:56 CEST, Cecil Westerhof wrote: > When I execute in the latest Jython: > from __future__ import print_function > I get: > Traceback (innermost last): > (no code object) at line 0 > File "", line 1 > SyntaxError: future feature print_function

No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Cecil Westerhof
When I execute in the latest Jython: from __future__ import print_function I get: Traceback (innermost last): (no code object) at line 0 File "", line 1 SyntaxError: future feature print_function is not defined This is not implemented in the latest jython? I pref