You are viewing a single comment's thread from:

RE: How does TrendChecker work? | Steem-Python Bot Tutorial Part 1

in #utopian-io7 years ago

Hey there!

A little tip for your coding style.

Here you are nesting way too many ifs.
It is alot nicer to read if you get rid of the indentions like this:

if(i["trx_id"] in trx_list["trx_id"]):
    continue
if((i["to"]!=acc_name):
    continue
if(i["memo"]=="")
    continue
....etc.... 

Greetings,
Martin

Sort:  

Thanks for the advice! :)

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 90479.14
ETH 3094.57
USDT 1.00
SBD 2.93