On 21 Jul 2013, at 5:07 AM, LightDot wrote:
> I suggest looking into RHEL Software Collections, which were created to solve
> this exact problem. They allow you to install newer versions of software in
> rpm safely into /opt and switch between new and old releases. This allows
> your RHEL syste
On Saturday, July 20, 2013 5:10:38 PM UTC+2, Jonathan Lundell wrote:
> I was bitten by this (other features, not ast) just yesterday. My local
> environment (OS X) has 2.7; my production environment (RHEL6) had 2.6.
> Turns out that 2.6 does not support collections.Counter (no surprise there,
>
On 20 Jul 2013, at 12:02 AM, Massimo Di Pierro
wrote:
> As Jonathan says the ast module was introduced in Pyhton 2.6, you have 2.5.
I was bitten by this (other features, not ast) just yesterday. My local
environment (OS X) has 2.7; my production environment (RHEL6) had 2.6. Turns
out that 2.6
on regular python - for example on a www.compilr.com account, I am able to
create and successfully execute this trivial program (in the {} brackets:
{
#!/usr/bin/python
import ast
l = ast.literal_eval('["a","31","c"]')
l = [i.strip() for i in l]
print l[1]
}
but when I try to use the ast m
4 matches
Mail list logo