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


Groups > comp.lang.python > #95766

Re: Casting to a "number" (both int and float)?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Casting to a "number" (both int and float)?
Date 2015-08-30 13:55 +0100
References <0bdda01a-de29-4742-9851-0617dad602ae@googlegroups.com> <661c74bf-d038-41be-9519-2260f24ab8e2@googlegroups.com> <mailman.110.1440778178.11709.python-list@python.org> <mrq1eh$m5g$1@news.albasani.net> <55E2EB23.1010405@mail.de>
Newsgroups comp.lang.python
Message-ID <mailman.133.1440939368.11709.python-list@python.org> (permalink)

Show all headers | View raw


".esnes sekam ti wonk uoY  .daer ot ysae os sgniht ekam seod yllaer ti 
,niaga gnitsop potrof s'knahT"

On 30/08/2015 12:38, Sven R. Kunze wrote:
> Well, it comes down to "can he switch from JSON to YAML" in the first
> place as he is going to parse "by-third-party" generated json. So, if he
> can persuade MongoDB to output YAML instead, he would be all fine.
>
> Just my 2 cents.
>
> On 28.08.2015 18:15, Robin Koch wrote:
>> Am 28.08.2015 um 18:09 schrieb Sven R. Kunze:
>>
>> >> I'm reading JSON output from an input file, and extracting values.
>> >
>>> for proper parsing into native Python types, I would recommend YAML.
>>
>> "What's the best way to get from A to B?"
>> "I recommend starting at C."
>>
>> - Every other usenet-discussion.
>>
>

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Casting to a "number" (both int and float)? Victor Hooi <victorhooi@gmail.com> - 2015-08-27 21:57 -0700
  Re: Casting to a "number" (both int and float)? Victor Hooi <victorhooi@gmail.com> - 2015-08-27 22:04 -0700
    Re: Casting to a "number" (both int and float)? "Sven R. Kunze" <srkunze@mail.de> - 2015-08-28 18:09 +0200
      Re: Casting to a "number" (both int and float)? Robin Koch <robin.koch@t-online.de> - 2015-08-28 18:15 +0200
        Re: Casting to a "number" (both int and float)? "Sven R. Kunze" <srkunze@mail.de> - 2015-08-30 13:38 +0200
        Re: Casting to a "number" (both int and float)? Steven D'Aprano <steve@pearwood.info> - 2015-08-30 22:00 +1000
        Re: Casting to a "number" (both int and float)? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-30 13:55 +0100
  Re: Casting to a "number" (both int and float)? Ben Finney <ben+python@benfinney.id.au> - 2015-08-28 15:44 +1000
    Re: Casting to a "number" (both int and float)? Jussi Piitulainen <harvestingn@makes.address.invalid> - 2015-08-28 09:03 +0300
    Re: Casting to a "number" (both int and float)? Jussi Piitulainen <harvesting@makes.address.invalid> - 2015-08-28 09:15 +0300
      Re: Casting to a "number" (both int and float)? Victor Hooi <victorhooi@gmail.com> - 2015-08-28 00:56 -0700
        Re: Casting to a "number" (both int and float)? Chris Angelico <rosuav@gmail.com> - 2015-08-28 19:23 +1000
  Re: Casting to a "number" (both int and float)? Jussi Piitulainen <harvesting@makes.address.invalid> - 2015-08-28 08:46 +0300
  Re: Casting to a "number" (both int and float)? random832@fastmail.us - 2015-08-28 01:54 -0400
  Re: Casting to a "number" (both int and float)? Laura Creighton <lac@openend.se> - 2015-08-28 07:59 +0200

csiph-web