You are viewing a single comment's thread from:

RE: Finally! I got steem-python installed and running on my Win 11 PC

in WORLD OF XPILAR19 days ago

I am pleased that steem-python is now working for you.
And thank you for your beneficiaries. :-)

I would like to give you a little tip about your code. I was wondering why you received 3657268 as the result of the account query at steemd.steemworld.org and not a much lower number. I get (currently) 1931826.

When instantiating Steem you passed the parameter node=curr_node. This does not work. You have to pass a list to the parameter nodes.
With your code, nodes was not passed and the default node https://api.steemit.com is used for every query. This is why you receive the same (incorrect) response for all nodes. The different response times may be due to caching.

The correct initialisation would be as follows:

s = Steem(nodes=[curr_node])
Sort:  
Loading...
 18 days ago 

Oh! Right, I'll redo the exercise! :)
Strange, why isn't this part raising any errors?

Thanks so much!

Coin Marketplace

STEEM 0.15
TRX 0.25
JST 0.037
BTC 96535.26
ETH 1839.10
USDT 1.00
SBD 0.87