Gabriel Genellina wrote:
En Sun, 26 Oct 2008 12:13:08 -0200, Christian Heimes <[EMAIL PROTECTED]>
escribió:
?? wrote:
Any ideas?
Code 1:
from __future__ import print_function, unicode_literals
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
You have to do each future import i
En Sun, 26 Oct 2008 12:13:08 -0200, Christian Heimes <[EMAIL PROTECTED]>
escribió:
?? wrote:
Any ideas?
Code 1:
from __future__ import print_function, unicode_literals
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
You have to do each future import in a separate line:
>>>
?? wrote:
Any ideas?
Code 1:
from __future__ import print_function, unicode_literals
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
You have to do each future import in a separate line:
>>> from __future__ import unicode_literals
>>> from __future__ import print_function
>>> pr
Any ideas?
Code 1:
from __future__ import print_function, unicode_literals
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
Result 1:
Code 2:
from __future__ import unicode_literals, print_function
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
Result 2:
File "tmp.py",