You are viewing a single comment's thread from:

RE: Learning Python with Steem - The Winfrey Bot

in #piston8 years ago

I just copied all that from here:

https://steemit.com/socialist-bot/@fyrstikken/the-anonymous-winfrey-bot-upvotes-for-everyone-download-here-easy-steps-for-n00bs

This is the threading bit:

my_new_thread= threading.Thread(name=anything, target=my_new_function)
my_new_thread.start()

dev my_new_function():
     do cool stuff

That's it.

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.035
BTC 91576.55
ETH 3189.08
USDT 1.00
SBD 2.78