Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new machine : suddenly Python 3 appears
Date: Mon, 17 Sep 2012 21:19:47
Message-Id: 20120917211747.GE2892@ca.inter.net
In Reply to: Re: [gentoo-user] new machine : suddenly Python 3 appears by Philip Webb
1 120917 Philip Webb wrote:
2 > 120917 David W Noon wrote:
3 >> print(' {0}'.format(eval(expression)))
4
5 That works properly with Python2 in this machine ;
6 I'll check it with Python3 later in the new machine.
7
8 > 120917 Marc Joliet wrote:
9 >> print(' ',eval(expression))
10
11 That does the calculation, but the output is wrongly formatted :
12
13 514 bin> pycalc1 2+3
14 (' ', 5)
15
16 Thanks again
17
18 --
19 ========================,,============================================
20 SUPPORT ___________//___, Philip Webb
21 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
22 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
Re: [gentoo-user] new machine : suddenly Python 3 appears David W Noon <dwnoon@××××××××.com>