4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import requests
toot_zen(): zen = "".join( [this.d.get(c, c) for c in this.s] ).split("\n") instance = Mastodon( access_token=os.getenv('ACCESS_TOKEN'), api_base_url='https://botsin.space', ) toot = instance.toot( f'The Zen of Python says:\n\n{random.choice(zen)}', ) if __name__ == '__main__': toot_zen()
you like the feel of community? • Do you like the Code of Conduct? • Do you like the admins? You can move around, try different servers, and have multiple identities!