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.20
TRX 0.14
JST 0.029
BTC 68029.30
ETH 3272.63
USDT 1.00
SBD 2.64