On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked:
2.) The full blown interactive solution: IPython. You can create a session and
configure which modules you want preloaded via startup scripts. This is
overkill for what you want, I think, but IPython is a much nicer
Am Thu, 20 Sep 2012 13:38:45 +0200
schrieb Willie WY Wong wong...@member.ams.org:
On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked:
2.) The full blown interactive solution: IPython. You can create a session
and
configure which modules you want preloaded via
Am Mon, 17 Sep 2012 17:08:38 -0400
schrieb Philip Webb purs...@ca.inter.net:
[...]
The one limitation of the script is that it doesn't allow variables ;
you can easily recall previous lines via Bash mouseover+drop bits,
but AFAIK there's no way to assign values to variables.
With Python
Am Mon, 17 Sep 2012 23:27:34 +0100
schrieb David W Noon dwn...@ntlworld.com:
On Mon, 17 Sep 2012 17:17:47 -0400, Philip Webb wrote about Re:
[gentoo-user] new machine : suddenly Python 3 appears:
120917 Philip Webb wrote:
120917 David W Noon wrote:
print(' {0}'.format
On Sun, 16 Sep 2012 20:24:01 -0400, Philip Webb wrote:
We've been warned not to use Python 3 , so it's not installed in this
box, but it was included along with Python 2 in the Stage3 for the new
machine. I now find that 13 pkgs have been compiled relying on it
Portage refuses to unmerge
120917 Neil Bothwick wrote:
On Sun, 16 Sep 2012 20:24:01 -0400, Philip Webb wrote:
We've been warned not to use Python 3 , so it's not installed in this
box, but it was included along with Python 2 in the Stage3 for the new
machine. I now find that 13 pkgs have been compiled relying on it
On Mon, 17 Sep 2012 13:14:27 -0400, Philip Webb wrote about Re:
[gentoo-user] new machine : suddenly Python 3 appears:
In case others might like to use it, the script is :
#!/usr/bin/python2
from math import *
import sys
expression = sys.argv[1]
print ' ',eval
120917 David W Noon wrote:
On Mon, 17 Sep 2012 13:14:27 -0400, Philip Webb wrote re Python 2/3 :
print ' ',eval(expression)
The above line uses obsolete syntax. Try using
#!/usr/bin/python2 -3
for your hash-bang line on all your old Python scripts.
Well, thanks for the
Am Mon, 17 Sep 2012 14:45:41 -0400
schrieb Philip Webb purs...@ca.inter.net:
120917 David W Noon wrote:
On Mon, 17 Sep 2012 13:14:27 -0400, Philip Webb wrote re Python 2/3 :
print ' ',eval(expression)
The above line uses obsolete syntax. Try using
#!/usr/bin/python2 -3
On Mon, 17 Sep 2012 14:45:41 -0400, Philip Webb wrote about Re:
[gentoo-user] new machine : suddenly Python 3 appears:
120917 David W Noon wrote:
On Mon, 17 Sep 2012 13:14:27 -0400, Philip Webb wrote re Python
2/3 :
print ' ',eval(expression)
The above line uses obsolete
120917 David W Noon wrote:
On Mon, 17 Sep 2012 14:45:41 -0400, Philip Webb asked about
print ' ',eval(expression)
whose syntax is obsolete in Python3.
print(' {0}'.format(eval(expression)))
be aware that the above is only for your original print statement.
120917 Philip Webb wrote:
120917 David W Noon wrote:
print(' {0}'.format(eval(expression)))
That works properly with Python2 in this machine ;
I'll check it with Python3 later in the new machine.
120917 Marc Joliet wrote:
print(' ',eval(expression))
That does
On Mon, 17 Sep 2012 17:17:47 -0400, Philip Webb wrote about Re:
[gentoo-user] new machine : suddenly Python 3 appears:
120917 Philip Webb wrote:
120917 David W Noon wrote:
print(' {0}'.format(eval(expression)))
That works properly with Python2 in this machine ;
I'll check
We've been warned not to use Python 3 , so it's not installed in this box,
but it was included along with Python 2 in the Stage3 for the new machine.
I now find that 13 pkgs have been compiled relying on it
Portage refuses to unmerge it. Is this safe ?
--
Philip Webb wrote:
We've been warned not to use Python 3 , so it's not installed in this box,
but it was included along with Python 2 in the Stage3 for the new machine.
I now find that 13 pkgs have been compiled relying on it
Portage refuses to unmerge it. Is this safe ?
If you want to
On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote:
We've been warned not to use Python 3
Maybe I missed something...but by whom?
--
:wq
Michael Mol wrote:
On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote:
We've been warned not to use Python 3
Maybe I missed something...but by whom?
I think he means that we are not supposed to set the system default to
python3. I'm just reading tea leaves, between the
On Sun, Sep 16, 2012 at 9:18 PM, Dale rdalek1...@gmail.com wrote:
Michael Mol wrote:
On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote:
We've been warned not to use Python 3
Maybe I missed something...but by whom?
I think he means that we are not supposed to set the
Michael Mol wrote:
On Sun, Sep 16, 2012 at 9:18 PM, Dale rdalek1...@gmail.com wrote:
Michael Mol wrote:
On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote:
We've been warned not to use Python 3
Maybe I missed something...but by whom?
I think he means that we are not
19 matches
Mail list logo