On 17.07.2009, at 09:12, Alex Bernier wrote:
> On my Debian, I've installed the python-json package.
> When I do the following in Python, I get :
>>>> import json
>>>> print json.__file__
> /usr/lib/pymodules/python2.5/json.pyc
>>>> print json.loads
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'loads'

Hm, as there's a json module in the stdlib (Python >= 2.6)

   http://docs.python.org/library/json.html

the python-json guys should really rename their module...

-- Johannes


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to