Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Dec 3, 2018 05:09
yes that works...nice @JoranBeasley
Dec 3, 2018 05:00
you can create another dictionary which will input the values from the list of items which you have..
Dec 3, 2018 04:59
so for each flat_id you are trying to retrieve every other fields?
Dec 3, 2018 04:50
okay
Dec 3, 2018 04:49
you can parse it with json library
Dec 3, 2018 04:49
@AymonFournier, what is it that you are actually trying to do?
Nov 30, 2018 12:56
@Thewise, surely we could come up with some other solution as well...
Nov 30, 2018 12:52
@Thewise, in your tmp_tx list you are only returning the values which have a tx_receipt _status as not 0. so why can't use some other unique identifier at this point itself to not receive money back from the same account?
Nov 30, 2018 12:20
@Thewise can u show us the code where you are having the difficulty..
Nov 30, 2018 07:42
@AkhilAlexander usually pickling means converting a data structure such as list into a character stream..
Nov 29, 2018 13:18
@Employee do u have a text or json output for the same?
Nov 28, 2018 16:05
But what @W.Dodge has given is more pythonic way,I must say...
Nov 28, 2018 16:05
@Andie31 If you'll luk at my solution it's almost similar to what @W.Dodge has given. But it's more decoupled for your understanding, I guess...
Nov 28, 2018 13:22
try this and let me know if it works...
Nov 28, 2018 13:22
so your name value would be y[0]['name']
Nov 28, 2018 13:22
@Andie31
Nov 28, 2018 13:22
let's say your dictionary is x...now first if we parse through the key 'data' of x, let's say that gives us 'y'.
Nov 28, 2018 13:16
@Andie31 can u paste the full dict key which you are trying to parse?
Oct 2, 2018 06:23
@PM2Ring yes learning that way really helps..
Oct 2, 2018 06:08
@PM2Ring by sensible english text did u mean similar type of data
Oct 2, 2018 06:06
try to work on it @user2277747, u will get it...no rocket science though
Oct 2, 2018 06:05
That seems like an exam or weekly test question to me
Oct 2, 2018 05:50
@PM 2Ring Pigeon Hole Principle is nice