RE: RE: daily report 20190805
You are viewing a single comment's thread from:

RE: daily report 20190805

Words
274
Reading
2 min
Listen
Play
7y

i'm actually helping someone on another thing too , here :

https://steemplayer.com , which will also require steemit accounts and steem for anyone who wants to, so i write even more , lol ...

and sometimes

from steem import Steem
from steem.transactionbuilder import TransactionBuilder
from steembase import operations

import time, random, os

def buy_upvote(author,upvote_bot, amount, permlink):
    transfers =[{
        'from': author,
        'to': upvote_bot,
        'amount': '{0:.3f} SBD'.format(amount),
        'memo': 'https://steemit.com/@{}/{}'.format(author, permlink)
    }]
    tb = TransactionBuilder()
    operation = [operations.Transfer(**x) for x in transfers]
    tb.appendOps(operation)
    tb.appendSigner(author, 'active')
    tb.sign()

    try:
        tx = tb.broadcast()
        print ("Buying vote succes")
    except Exception as error:
        print(repr(error))



def submit_post(title, tags, body, author):
    steemPostingKey = os.environ.get('steemPostingKey')
    steem = Steem(wif=steemPostingKey)

    permlink_title = ''.join(e for e in title if e.isalnum()).lower()
    permlink = "{}-%s%s".format(permlink_title) % (time.strftime("%Y%m%d%H%M%S"), random.randrange(0,9999,1))

    try:
        steem.post(title, body, author, permlink, None, None, None, None, tags, None, False)
        print ("Submitted post")
    except Exception as error:
        print(repr(error))

    return permlink


def run():
    author = 'ubakdhfsdkljhfsdklsti'
    upvote_bot = 'minnowbooster'
    amount = 0.05

    post = [line.rstrip('\n') for line in open('postbodytext')]
    title  = post[0]
    tags = post[1]
    author = post[2]
    body = '\n'.join(post[3:])

    permlink = submit_post(title, tags, body, author)


if __name__ == '__main__':
    run()

i just write a little onto what someone else has written before me ... but i write a lot of english too as you know from the reply section on your posts :D
i'm not as active as i was in the beginning, socially speaking, but all this stuff takes up a lot of time and my body isn't always helping ... and my head isn't always in the same place either , one day i'm in fortune-cookie mode, the other i'm silent, and sometimes it's hellfire ... that's all me ... i can't just sit on one square of the board and be boxed ... id get claustrophobia

and i'm certainly not gonna do the selling or the talking for the other stuff too

i'm not UltiMatt the Unbeatable , lol (do they have that card yet in the pack ?)

so ... people often get me wrong because of my direct and sometimes somewhat blunt way, and other days i'm all other style of talk ...

its okay to call it a borderline condition or simply weird if you like as long as it's not bipolar ... i think normal people are bi-polar, they're always this OR that ... never and, and only two ?? imagine that, having only two states of mind ....tjuuuu

as they say en Flandres

"in de hoop u hiermee voldoende te hebben geinformeerd" :p

see you on your next post, probably crypto.piotr@crypto.piotr

@goldmanmorgan: i'm actually | Ecency