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
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
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
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()
&
;There is still one problem:
>==========
>>>> from __future__ import print_function
>>>> print()
>()
>
gt;> from __future__ import print_function
>>> print()
()
==
While it should be:
======
>>> from __future__ i
Do you have Jython 2.7 released a few weeks ago?
Laura
--
https://mail.python.org/mailman/listinfo/python-list
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
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