Random Picture Included! This post created with beem by @coininstant. Here is a random image uploaded with beempy image:
Here is the source code that generated this post.
if name == "main":
#!/usr/local/bin/python3
from beem.imageuploader import ImageUploader
from beem import Steem
import random, os
stm = Steem()
author = "coininstant"
path = "/Users/nick/randompics"
random_filename = random.choice([
x for x in os.listdir(path)
if os.path.isfile(os.path.join(path, x))
])
image_path = random_filename
image_uploader = ImageUploader(steem_instance=stm)
img_link = image_uploader.upload(image_path, author, image_name="@coininstant)")title = "Random Bot Post by @coininstant!!"
body = "Random Picture Included! This post created with beem by @coininstant. "\
"Here is a random image uploaded with beempy image:
Follow @coininstant for more!
Random pictures are so beautiful bro @coininstant
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit