Computer Programming for Beginners - Make a Steemit Bot

in #programming7 years ago

I wanted to try writing an article about programming and seeing how many people are interested and see who wants to learn.

So I have been programing property for like 8 years and I don't think thee is much to it. Most coders are bad teachers and struggle with really understanding coding. So what is a software program or bot. They are effectively the same thing, one has a more appropriate meaning then the other. They are a set of instructions specific for a particular job to perform a task. For example, lets say we wanted to code an algorithm/program to display the word hello on the screen. Most languages use the word print and some string, for example:

print "hello"

so the above line is in python and it doesn't matter what language you use, they are pretty much all the same.

OK so the above is not useful and doesn't really excite me. The exciting part about any language is hacking some other program or faking something.. Like a Steemit Bot, if people up vote this article I will write a 10 article series and the aim is to write a Steem bot that will make you some money.

The first part to our Steemit Bot is to have the ability to speak to web pages. So the understanding most people have, webpages are displayed graphically, but computers see then as text. So in python you do this to access say google:

store_results = request('GET', "www.google.com")

This will store the google site in the string store_results.

so if you want to do this on Steemit you would change the www string to "www.steemit.com", so your line of code would be:

store_results = request('GET', "www.steemit.com")

ok that was a teaser lesson, if you are all interested vote. part takes a look at basics and how variables work inside our Steemit bot.

hopefully I get some interest

Sort:  

Write the article and I give you the upvote...

why not up vote me on this article?

You are crowdfunding the next post.... :-) That s lazy... Just write the dam article.
Here goes my upvote. How much upvote you need?

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63267.39
ETH 2572.65
USDT 1.00
SBD 2.80