You are viewing a single comment's thread from:

RE: Python Programming with Piston: How to set a login key using Python (not the piston executable)

in #development7 years ago

Hi there, I was using your guidelines and I find them very helpful, but I keep getting stuck. I imported the library but it still gives me a syntax error on every operation I am trying to execute. Is there something I am doing wrong? Are those codes only to implement in the terminal directly maybe?

from piston.steem import steem
piston categories --limit 10

then I execute this file by going to the terminal and executing

python3 <path>

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.029
BTC 56087.39
ETH 2965.10
USDT 1.00
SBD 2.15