Learning Python with @felixxx #1: Setup and First Script by felixxx

View this thread on steempeak.com
· @felixxx · (edited)
$76.12
Learning Python with @felixxx #1: Setup and First Script
### Steem-Python is the official Python library for STEEM.

https://github.com/steemit/steem-python
###
In this tutorial series I would like to introduce you to Python and Steem-Python at the same time.

This part of the tutorial deals with setting up the environment and the Python library.
Steem-Python also comes with a wallet called ```steempy```.
If you only want to set up the wallet, you can also use this guide and leave out the second step.

I am not a good programmer.
If you want to learn good Python, you should use a different guide.
This will be an easy to follow, practical guide to use Python with STEEM.
If you know what functions and objects are, you should be able to follow this guide.
If you have no prior knowledge about programming at all, I would recommend you spend an afternoon or so with a Python beginners tutorial and return here.

___

#### Note: 
####
_The library is under constant development, while I will not be able to update this post.
If anything changes in the library, I will have to write a new post, or comment on this one._
___

# 1. Environment
#
First, we need an environment to develop in.
I choose Ubuntu 17.10 because it is easy to install Steem-Python on it.
If you already have an Ubuntu running, you can skip this part.

I assume, you are on Windows. 
If you are on iOS: your problem.

Simply download a copy of Ubuntu 17.10 here: 

https://www.ubuntu.com/desktop/1710

Then download VMWare **Player** here:

https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0

Start VMWare Player and set up a new virtual machine with Ubuntu 17.10 on it.
You need very little RAM for this machine. 2 GB is plenty.

I assume you can handle this step. Search the web for help, if you have to.

Once Ubuntu 17.10 is up and running, log in.

This is much like Windows, so I assume you can deal with it ...

Set the timezone to your local time, or to UTC ( the timezone the STEEM blockchain uses ).
Set your keyboard layout to your language, if you have to.

Familiarize yourself with Ubuntu a little, if you have never used it before.

With ```ctrl``` + ```T``` you can open a new terminal window.

It should look something like this:

```felixxx@ubuntu:~$```

___
#### Note:
####

_The Windows commands ```ctrl``` +  ```C``` and ```ctrl``` +  ```V``` do **not** work in the terminal.
Use right mouse-button + paste instead._
___
###

Type ( or paste :P ):

    sudo apt-get update
###
It will update your Ubuntu.

    sudo apt install python3-pip
    pip3 install setuptools
    pip3 install scrypt
    pip3 install wheel
    pip3 install pytest
    sudo apt-get install libssl-dev
    pip3 install steem
###
Will install Steem-Python and all the stuff it needs to run.

#### Congratulations !
###
You have successfully set up your development environment.
###
# 2. First Script
###
Since this is a hands-on guide and I want you to have instant results, we will just skip ahead and try the first script.
I found a nice little example in the documentation ...
http://steem.readthedocs.io/en/latest/

In the terminal, open a new file:

    gedit myfirstscript.py
###
```gedit``` is a text editor. 
You can use any other editor.
It will create a file called myfirstscript.py in the directory you are currently in. 
You can navigate directories with ```cd``` - search the web if you have to.
 
For the first script, I will take some bits from the 'Simple Voting Bot' example.
http://steem.readthedocs.io/en/latest/examples.html ( bottom of the page ).

Copy these 7 lines of code into the editor-window:

    from steem.blockchain import Blockchain
    from steem.post import Post

    b = Blockchain()
    s = map(Post, b.stream(filter_by=['comment']))

    for post in s:

        if post.is_main_post():

            print('https://steemit.com/tag/@' + post['author'] + '/' + post['permlink'])
###
To see an instant result, save the file and close gedit.
Back in the terminal, type:

    python3 myfirstscript.py
###

# Voila !
###
You should see something like this ( slowly building up ) :

https://i.imgur.com/oM5LMlT.png
#
The code contains an open loop.
Press ```ctrl``` + ```c``` to stop it.

___

### Breakdown:
###
    from steem.blockchain import Blockchain
    from steem.post import Post
###
It will import the ```Blockchain``` object from the ```blockchain``` module of the ```steem``` library.
( Guess what the second line does ... )

    b = Blockchain()
###
Will _initialize_ ```'b'``` as a Blockchain() object.
The blockchain module has a ```stream```-function, which allows us to 'stream' block-wise through the chain or go through its history.

    s = map(Post, b.stream(filter_by=['comment']))
###
Will initialize a ```stream``` called ```'s'```.

___
#### Note:
####
_This ```map``` move is pretty cool, as it will create a Post() object from every item that goes through our stream.
Don't worry, if you don't understand it right now. 
This code doesn't work very well; **Every** comment forces a new API call to the node, which takes capacities off the node and costs you time, also.
Your script will not be able to keep up with the blockchain usually and crash after a while with an exception.
I will get to this in part 2 ..._

_Also note, that on blockchain level, there is no real difference between a comment and a post.
You will see a lot of different names for it. 
Comments have a 'parent_post' and posts ( also: 'main-posts' or 'root-posts' ) do not._
___

Since this is just a quick example for testing purposes, we will keep that ```map```-trick. 

Now all that is left is to set up a loop through all items in the ```stream``` and then do something.
How about this:

    for post in s:

        if post.is_main_post():

            print('https://steemit.com/tag/@' + post['author'] + '/' + post['permlink'])
###
For every post in the stream 's', which is also a main-post, this will construct the weblink to the post on steemit.com.
```is_main_post()``` is a handy function from the ```post```-module, which I think simply tests if the post has a parent, or not. I was too lazy to look that up.
The same module also has a 'construct_weblink'-function or something similar, which does exactly the same as the 3rd line of code above.

#### This was just a quick example to get you going.
###
I hope it works for you.

___

## To be continued ...
###
You can now play around with the [examples](http://steem.readthedocs.io/en/latest/examples.html).

This tutorial series will probably work best, if I get some feedback.
Please feel free to comment if you have any questions or scripts you would like to see here.

# Please do not use this knowledge to make annoying spam-bots !
###
It will not pay off anyways.

# Peace,
###
@felixxx
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 34 others
properties (23)
post_id20,813,767
authorfelixxx
permlinklearning-python-with-felixxx-1-setup-and-first-script
categorysteem-python
json_metadata"{"format": "markdown", "links": ["https://github.com/steemit/steem-python", "https://www.ubuntu.com/desktop/1710", "https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0", "http://steem.readthedocs.io/en/latest/", "http://steem.readthedocs.io/en/latest/examples.html"], "app": "steemit/0.1", "tags": ["steem-python", "python", "dev", "tutorial", "steemdev"], "users": ["felixxx"], "image": ["https://i.imgur.com/oM5LMlT.png"]}"
created2017-12-17 20:30:42
last_update2017-12-20 21:03:39
depth0
children28
net_rshares12,154,838,032,496
last_payout2017-12-24 20:30:42
cashout_time1969-12-31 23:59:59
total_payout_value61.692 SBD
curator_payout_value14.431 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length6,744
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (98)
@jeffjagoe ·
Thanks for creating this guide. I don’t have much time to dive into it at the moment but I bookmarked it for later this week. I’m a newbie so I will probably need to brief myself beforehand, but I definitely want to learn more about writing scripts so thank you very much.
properties (22)
post_id20,814,262
authorjeffjagoe
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t203641223z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 20:36:39
last_update2017-12-17 20:36:39
depth1
children0
net_rshares0
last_payout2017-12-24 20:36:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length272
author_reputation170,695,559,013,658
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@eroche ·
This is a great guide to get you going. There are so many useful things you can do when you unleash the power of python on the Steem Blockchain.
properties (22)
post_id20,814,311
authoreroche
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t203720066z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 20:37:21
last_update2017-12-17 20:37:21
depth1
children0
net_rshares0
last_payout2017-12-24 20:37:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length144
author_reputation59,490,065,137,068
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@shortcut ·
$0.23
I really like your approach of sharing knowledge and educating people. Another reason to vote for you being a witness ;-)
👍  
properties (23)
post_id20,814,432
authorshortcut
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t203859356z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 20:39:00
last_update2017-12-17 20:39:00
depth1
children0
net_rshares37,521,069,038
last_payout2017-12-24 20:39:00
cashout_time1969-12-31 23:59:59
total_payout_value0.174 SBD
curator_payout_value0.056 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length121
author_reputation128,167,460,043,555
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@koffee ·
$2.30
brb, making annoying spam-bots
👍  ,
properties (23)
post_id20,814,803
authorkoffee
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t204307690z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 20:43:06
last_update2017-12-17 20:43:06
depth1
children2
net_rshares367,089,751,662
last_payout2017-12-24 20:43:06
cashout_time1969-12-31 23:59:59
total_payout_value2.258 SBD
curator_payout_value0.037 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length30
author_reputation1,676,657,841,621
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@koffee ·
I appreciate you teaching us the foundations of steem-python. Subscribed for more!
properties (22)
post_id20,843,327
authorkoffee
permlinkre-koffee-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171218t025946139z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-18 02:59:45
last_update2017-12-18 02:59:45
depth2
children1
net_rshares0
last_payout2017-12-25 02:59:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length82
author_reputation1,676,657,841,621
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@felixxx ·
The first reply was gold :D
👍  
properties (23)
post_id20,926,374
authorfelixxx
permlinkre-koffee-re-koffee-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171218t172929454z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-18 17:29:27
last_update2017-12-18 17:29:27
depth3
children0
net_rshares2,535,933,349
last_payout2017-12-25 17:29:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length27
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@pompe72 ·
Python?

https://www.youtube.com/watch?v=Zk-kQSz-Qv0
properties (22)
post_id20,816,579
authorpompe72
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t210318108z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "links": ["https://www.youtube.com/watch?v=Zk-kQSz-Qv0"], "image": ["https://img.youtube.com/vi/Zk-kQSz-Qv0/0.jpg"], "tags": ["steem-python"]}"
created2017-12-17 21:03:21
last_update2017-12-17 21:03:21
depth1
children0
net_rshares0
last_payout2017-12-24 21:03:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length52
author_reputation20,574,691,560,478
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steevc ·
I'd like to get more into this. Just need to find the time. Thanks for the guide
properties (22)
post_id20,817,807
authorsteevc
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t211903402z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 21:19:03
last_update2017-12-17 21:19:03
depth1
children0
net_rshares0
last_payout2017-12-24 21:19:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length80
author_reputation273,317,013,544,223
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@cryptofunk · (edited)
I have to admit, i'm still using Piston (although my bot doesn't run often), I tried moving over to steem-python but the scripts fell over. Haven't dedicated enough time to making the full jump. Good guide, will reference it in the future!
properties (22)
post_id20,821,256
authorcryptofunk
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t220330302z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 22:03:30
last_update2017-12-17 22:03:45
depth1
children1
net_rshares0
last_payout2017-12-24 22:03:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length239
author_reputation21,989,847,737,535
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@felixxx ·
The difference is not huge ...
properties (22)
post_id20,825,126
authorfelixxx
permlinkre-cryptofunk-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t225118081z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 22:51:18
last_update2017-12-17 22:51:18
depth2
children0
net_rshares0
last_payout2017-12-24 22:51:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length30
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@bycz ·
$0.55
If I use like this it will extract the tag from the post? 
> print('https://steemit.com/' + post['tag']  +'/@' + post['author'] + '/' + post['permlink']
👍  
properties (23)
post_id20,824,477
authorbycz
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t224254789z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "links": ["https://steemit.com/"], "tags": ["steem-python"]}"
created2017-12-17 22:42:54
last_update2017-12-17 22:42:54
depth1
children1
net_rshares88,979,670,758
last_payout2017-12-24 22:42:54
cashout_time1969-12-31 23:59:59
total_payout_value0.505 SBD
curator_payout_value0.040 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length152
author_reputation5,681,257,114,783
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@felixxx · (edited)
No.

    print('https://steemit.com/' + post.category + '/@' + post['author'] + '/' + post['permlink'])

this will.
properties (22)
post_id20,824,927
authorfelixxx
permlinkre-bycz-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t224838075z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 22:48:36
last_update2017-12-17 23:04:51
depth2
children0
net_rshares0
last_payout2017-12-24 22:48:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length115
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@ace108 ·
Interesting.  Wonder if my surface pro will object to this vmwate thing.
properties (22)
post_id20,829,399
authorace108
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171217t235036739z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-17 23:50:33
last_update2017-12-17 23:50:33
depth1
children0
net_rshares0
last_payout2017-12-24 23:50:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length72
author_reputation585,838,322,788,458
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@iricardoxd ·
Its is perfect for apply in mi proyect  connect extension
properties (22)
post_id20,960,750
authoriricardoxd
permlinkre-felixxx-20171218t192049404z
categorysteem-python
json_metadata"{"app": "esteem/1.5.0", "format": "markdown+html", "community": "esteem", "tags": ["steem-python", "python", "dev", "tutorial"]}"
created2017-12-18 23:20:54
last_update2017-12-18 23:20:54
depth1
children0
net_rshares0
last_payout2017-12-25 23:20:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length57
author_reputation172,893,146,354
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries
0.
accountesteemapp
weight500
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@millhouze ·
Any chance I could talk you into getting us on steemit a reddit bot that replies to people to move to steemit.com - would be a great campaign to raise awareness of the platform en mass,Let's take it down
properties (22)
post_id21,125,961
authormillhouze
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171220t025639944z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-20 02:57:27
last_update2017-12-20 02:57:27
depth1
children1
net_rshares0
last_payout2017-12-27 02:57:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length203
author_reputation256,382,801,569
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@felixxx ·
I do not understand, sorry.
properties (22)
post_id21,167,668
authorfelixxx
permlinkre-millhouze-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171220t104721123z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-20 10:47:21
last_update2017-12-20 10:47:21
depth2
children0
net_rshares0
last_payout2017-12-27 10:47:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length27
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@rasheedyazi ·
$0.26
Nice advocacy..... am still battling to learn HTML and CSS for now...lol
keep the good work.
👍  
properties (23)
post_id21,266,303
authorrasheedyazi
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171222t015432038z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-21 01:54:57
last_update2017-12-21 01:54:57
depth1
children2
net_rshares41,349,401,352
last_payout2017-12-28 01:54:57
cashout_time1969-12-31 23:59:59
total_payout_value0.194 SBD
curator_payout_value0.061 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length92
author_reputation95,499,258,602
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@felixxx ·
This is easier than HTML and CSS :)
properties (22)
post_id21,319,475
authorfelixxx
permlinkre-rasheedyazi-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171221t110002540z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-21 11:00:00
last_update2017-12-21 11:00:00
depth2
children1
net_rshares0
last_payout2017-12-28 11:00:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length35
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@rasheedyazi ·
okay!
properties (22)
post_id21,414,884
authorrasheedyazi
permlinkre-felixxx-re-rasheedyazi-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171223t011522348z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-22 01:15:48
last_update2017-12-22 01:15:48
depth3
children0
net_rshares0
last_payout2017-12-29 01:15:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5
author_reputation95,499,258,602
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@meanmommy33 ·
Bumped into that - feeling grateful !!! :D Started learning Python a while ago (a bit before SF - after that, I kinda quit for a while :P ) so I'll certainly follow this path too :D Thanks awesome SF mate!
properties (22)
post_id21,342,554
authormeanmommy33
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171221t142459783z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-21 14:25:03
last_update2017-12-21 14:25:03
depth1
children0
net_rshares0
last_payout2017-12-28 14:25:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length205
author_reputation10,102,862,550,356
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@thatgermandude ·
$0.55
Hey Felix, hatte nicht die Zeit aber wollte dein Tutorial mal ausführen. Sehe ich das richtig, dass ich bei diesem Test schon mit der live Blockchain interagiere?
👍  
properties (23)
post_id22,485,124
authorthatgermandude
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171229t094148689z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-29 09:41:48
last_update2017-12-29 09:41:48
depth1
children4
net_rshares41,630,685,806
last_payout2018-01-05 09:41:48
cashout_time1969-12-31 23:59:59
total_payout_value0.524 SBD
curator_payout_value0.027 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length162
author_reputation6,691,994,194,933
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@felixxx ·
$0.13
Ist live, ja.
Du liest mit diesem Test aber nur, also die 'Interaktion' hält sich in Grenzen.
👍  
properties (23)
post_id22,485,864
authorfelixxx
permlinkre-thatgermandude-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171229t094813199z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-29 09:48:12
last_update2017-12-29 09:48:12
depth2
children3
net_rshares10,016,672,540
last_payout2018-01-05 09:48:12
cashout_time1969-12-31 23:59:59
total_payout_value0.110 SBD
curator_payout_value0.020 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length93
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@thatgermandude ·
achso, ich dachte beim überfliegen dass man da direkt voted. Ich schmeiß gleich mal meine Ubuntu Partition an.
properties (22)
post_id22,489,111
authorthatgermandude
permlinkre-felixxx-re-thatgermandude-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20171229t101705333z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2017-12-29 10:17:06
last_update2017-12-29 10:17:06
depth3
children2
net_rshares0
last_payout2018-01-05 10:17:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length110
author_reputation6,691,994,194,933
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@botsultant ·
$0.84
Since steemit.com disabled their legacy steemd node (https://steemd.steemit.com), your "firstscript.py" is not longer working. 

I made an update of your tutorial https://steemit.com/steem/@botsultant/let-s-build-bots-for-steem-part-03-install-steem-python-on-ubuntu-17-10
👍  
properties (23)
post_id25,812,116
authorbotsultant
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20180115t113714290z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "links": ["https://steemd.steemit.com", "https://steemit.com/steem/@botsultant/let-s-build-bots-for-steem-part-03-install-steem-python-on-ubuntu-17-10"], "tags": ["steem-python"]}"
created2018-01-15 11:37:15
last_update2018-01-15 11:37:15
depth1
children1
net_rshares88,479,033,458
last_payout2018-01-22 11:37:15
cashout_time1969-12-31 23:59:59
total_payout_value0.627 SBD
curator_payout_value0.209 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length272
author_reputation113,066,339,794
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@felixxx ·
Steem-Python has been updated and the default nodes have been changed.
Also, a bug that kept the steempy from switching to the next node on the list in case of bad requests was fixed.

As of now, the script above should work again, with a fresh Steem-Python.
properties (22)
post_id25,851,871
authorfelixxx
permlinkre-botsultant-re-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20180115t153048236z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2018-01-15 15:30:48
last_update2018-01-15 15:30:48
depth2
children0
net_rshares0
last_payout2018-01-22 15:30:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length258
author_reputation66,238,594,869,311
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@porn.hunter · (edited)
$2.32
4-23 I kept getting 
>error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

when trying to update

>pip3 install wheel

Was able to install the wheel after typing
>sudo apt-get install libssl-dev

and it worked.
👍  
properties (23)
post_id45,065,042
authorporn.hunter
permlinkre-felixxx-learning-python-with-felixxx-1-setup-and-first-script-20180423t210843530z
categorysteem-python
json_metadata"{"app": "steemit/0.1", "tags": ["steem-python"]}"
created2018-04-23 21:08:42
last_update2018-04-23 22:37:12
depth1
children0
net_rshares339,141,183,258
last_payout2018-04-30 21:08:42
cashout_time1969-12-31 23:59:59
total_payout_value2.046 SBD
curator_payout_value0.277 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length254
author_reputation602,559,586,074
root_title"Learning Python with @felixxx #1: Setup and First Script"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)