Yes the purpose of my code samples are for people to learn and to try and apply whatever they've learned to projects they might be busy with. You'd be better of using streemian or any of the other trusted voting and commenting bots already available out there.
RE: Getting Started With Steem-Python : Upvote and Comment Bot Examples (Linux)