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


Groups > comp.lang.python > #45829

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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.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.052
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'cpython': 0.05; 'nasty': 0.07; 'tool,': 0.07; 'mess': 0.09; 'windows': 0.15; 'json,': 0.16; 'subject:Accessing': 0.16; 'subject:beginner': 0.16; 'usernames': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'subject:) ': 0.29; 'andrew': 0.30; 'direction': 0.30; 'heading': 0.30; 'especially': 0.30; 'code': 0.31; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'done,': 0.36; 'otherwise.': 0.36; 'subject:data': 0.36; 'useful': 0.36; 'thanks': 0.36; 'wrong': 0.37; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'first': 0.61; 'real': 0.63; 'worth': 0.66; 'managing': 0.66; 'reply': 0.66; 'benefit': 0.68; 'subject:there': 0.68; '9.1': 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=vw5NCmtF4Re3M6k+ewj2G9IwJIGoPxwzZZNRN700MWk=; b=CXLKQCQWZTVbQsPDUUXJGnZBBecLx40Stskzyysion8DEXKuk9LF/jnGm2e3FeHhFr f5Mk/FKvluyIiKDha9IK4JKr71/XWItxJIOU0DxSFf2x3xZkeWZxcUIOPhF5AsRtZl9L sNDSPmQi6epwDjrC+8Y4iOV3pyTnHBrASM0YmDhQH+SC49xDb9sIAU3BhW4AuJ1gsbRn 1blvMwioQbxv686AJbjFBGyDnaxCy7CZc2hk2bSuRsMcteDVpIYhTOV584abBLVsj/qx tTIU4vGGng/99/Ml34eqVtp4ISs3NHE2nLdI6BKP2dpjfvlZeUOz6+5Qj2dvqkrxbxBz YZjQ==
X-Received by 10.42.64.135 with SMTP id g7mr10238433ici.37.1369332691372; Thu, 23 May 2013 11:11:31 -0700 (PDT)
Date Thu, 23 May 2013 13:11:28 -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> <mailman.2022.1369327254.3114.python-list@python.org> <b7d6a9ac-4bff-45be-9db9-89d860796872@googlegroups.com>
In-Reply-To <b7d6a9ac-4bff-45be-9db9-89d860796872@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.2026.1369332693.3114.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369332693 news.xs4all.nl 15999 [2001:888:2000:d::a6]:55787
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45829

Show key headers only | View raw


On 2013.05.23 11:58, Andrew Edwards-Adams wrote:
> Hi thanks for the reply Andrew, my first bit of code was heading in the right direction I was managing to pull out the usernames from the JSON, using REGEX.
It's also worth mentioning that regexes are almost always the wrong tool, especially for standardized formats like JSON. They can be very
useful when nothing saner will get the job done, but are a nasty mess with no real benefit otherwise.
-- 
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