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


Groups > comp.lang.python > #45834

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

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Accessing Json data (I think I am nearly there) complete beginner
Date 2013-05-23 19:56 +0100
References <509030d9-08fd-40b2-8a89-cd4ecfad7a1a@googlegroups.com> <mailman.2022.1369327254.3114.python-list@python.org> <b7d6a9ac-4bff-45be-9db9-89d860796872@googlegroups.com> <mailman.2026.1369332693.3114.python-list@python.org> <c9d46774-64c9-40f0-8589-6d261382ee5a@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2030.1369335379.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 23/05/2013 19:19, Andrew Edwards-Adams wrote:
> On Thursday, May 23, 2013 7:11:28 PM UTC+1, Andrew Berg wrote:
>> 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
>
> Thanks Andrew, yes I believe this is what the guy who provided me with the code was thinking. I was about to embark on what was definitely going to be an inefficient long regex.
>

Funny old world, there doesn't appear to be working code but someone is 
already thinking about definite inefficiency.  What evidence do you have 
to support this claim?

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

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