Am Thu, 20 Sep 2012 13:38:45 +0200
schrieb Willie WY Wong :
> 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. Th
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 Mon, 17 Sep 2012 17:08:38 -0400
schrieb Philip Webb :
[...]
> 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 running as interpret
Am Mon, 17 Sep 2012 23:27:34 +0100
schrieb David W Noon :
> 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:
> > >>p
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 pro
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
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.
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(e
Am Mon, 17 Sep 2012 14:45:41 -0400
schrieb Philip Webb :
> 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 yo
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 th
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
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
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 unmer
Michael Mol wrote:
> On Sun, Sep 16, 2012 at 9:18 PM, Dale wrote:
>> Michael Mol wrote:
>>> On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb 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 def
On Sun, Sep 16, 2012 at 9:18 PM, Dale wrote:
> Michael Mol wrote:
>> On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb 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
Michael Mol wrote:
> On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb 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 lines etc but
On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb wrote:
> We've been warned not to use Python 3
Maybe I missed something...but by whom?
--
:wq
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 wan
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 ?
--
,,==
19 matches
Mail list logo