Casting to a "number" (both int and float)?
breamoreboy at yahoo.co.uk
Sun Aug 30 14:55:50 CEST 2015
".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.
More information about the Python-list