You are viewing a single comment's thread from:
RE: Finally! I got steem-python installed and running on my Win 11 PC
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])
Oh! Right, I'll redo the exercise! :)
Strange, why isn't this part raising any errors?
Thanks so much!