Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45823

Re: Accessing Json data (I think I am nearly there) complete beginner

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'cpython': 0.05; 'json': 0.07; 'problem?': 0.07; 'bits': 0.09; 'posted': 0.15; 'windows': 0.15; 'keyerror': 0.16; 'subject:Accessing': 0.16; 'subject:beginner': 0.16; 'values?': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'code,': 0.22; 'header:User-Agent:1': 0.23; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:) ': 0.29; 'andrew': 0.30; 'code': 0.31; 'directly,': 0.31; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:data': 0.36; 'wrong': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'anything.': 0.68; 'subject:there': 0.68; 'useful.': 0.68; '9.1': 0.84; 'back?': 0.84; 'flipping': 0.84; 'freebsd': 0.84; 'subject:think': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=n6ufQK0k4bgOXTSpb5sOIe/nB7VSoPZ4+5uTiaflwUU=; b=aRksC3ns6CuXSGjEx2R9s0Ss2btl1iiP7lmRyLBKDE0Nm/1AfyfnthxLRowy2hwWMj QsnCdIcA0HICmm3r4FC1XKhIx/R+n+J6CPGZjRrBozq8pKoYos2T9wgFQq3KirQHu0vg Ej3tzAY930ajPEv0miZhStya6lO6+HHVHruWRPo9P42QkLPPPyK963aSSLK+EQAVxCbU 9AdpUy7nAx6uk31t03lccqZx5s5ucfyPY2WXYyFa7I+sHb7VpvTcHThjsnGWeqdZHoNq bv6DFjf4B2UFUkHo1Myykpybwsm/9zxLYg/mYtoIT48R6tacRYk6E3/ia7gpjmhGHCdE g12A==
X-Received by 10.50.39.42 with SMTP id m10mr5343274igk.99.1369327252047; Thu, 23 May 2013 09:40:52 -0700 (PDT)
Date Thu, 23 May 2013 11:40:49 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Accessing Json data (I think I am nearly there) complete beginner
References <509030d9-08fd-40b2-8a89-cd4ecfad7a1a@googlegroups.com>
In-Reply-To <509030d9-08fd-40b2-8a89-cd4ecfad7a1a@googlegroups.com>
X-Enigmail-Version 1.5.1
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2022.1369327254.3114.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369327254 news.xs4all.nl 15867 [2001:888:2000:d::a6]:53357
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45823

Show key headers only | View raw


On 2013.05.23 11:09, Andrew Edwards-Adams wrote:
> I was recommended to use the following code to access the Json data directly, however I cannot get it to return anything.
Where exactly is the problem? Do you not get JSON back? Do you get the wrong values? Do you get a KeyError or IndexError trying to get
values from text1? Are there gremlins going around flipping bits in memory? It's good that you posted code, but "really cant get anything
out of this" isn't very useful.
-- 
CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Accessing Json data (I think I am nearly there) complete beginner Andrew Edwards-Adams <aeaprog@gmail.com> - 2013-05-23 09:09 -0700
  Re: Accessing Json data (I think I am nearly there) complete beginner Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-23 11:40 -0500
    Re: Accessing Json data (I think I am nearly there) complete beginner Andrew Edwards-Adams <aeaprog@gmail.com> - 2013-05-23 09:58 -0700
      Re: Accessing Json data (I think I am nearly there) complete beginner Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-23 12:59 -0500
      Re: Accessing Json data (I think I am nearly there) complete beginner Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-23 13:11 -0500
        Re: Accessing Json data (I think I am nearly there) complete beginner Andrew Edwards-Adams <aeaprog@gmail.com> - 2013-05-23 11:19 -0700
          Re: Accessing Json data (I think I am nearly there) complete beginner Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-23 19:56 +0100
            Re: Accessing Json data (I think I am nearly there) complete beginner Andrew Edwards-Adams <aeaprog@gmail.com> - 2013-05-23 14:30 -0700
  Re: Accessing Json data (I think I am nearly there) complete beginner MRAB <python@mrabarnett.plus.com> - 2013-05-23 17:53 +0100

csiph-web