create account

RE: Learn Basic Python Programming EP.2. - Variables & Inputs by ragequit

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @profitgenerator/learn-basic-python-programming-ep-2-variables-and-inputs

· @ragequit ·
$0.20
You seem to be teaching Python 2.x. That's probably not a great idea since the backwards compatibility is broken since Python 3 and everyone is either in process of migrating to Python 3 or done doing so.

For anyone interested in great python documentation I suggest starting with [David Beazley](http://www.dabeaz.com/). His presentations are incredibly funny and informative, and his books are pure gold.

I can appreciate the amount of effort that went in this guide and I'm not trying to put you down or anything, keep up the work and best of luck!
👍  
properties (23)
authorragequit
permlinkre-profitgenerator-learn-basic-python-programming-ep-2-variables-and-inputs-20170630t113534149z
categoryprogramming
json_metadata{"tags":["programming"],"links":["http://www.dabeaz.com/"],"app":"steemit/0.1"}
created2017-06-30 11:35:36
last_update2017-06-30 11:35:36
depth1
children6
last_payout2017-07-07 11:35:36
cashout_time1969-12-31 23:59:59
total_payout_value0.198 HBD
curator_payout_value0.003 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length553
author_reputation84,968,448,410
root_title"Learn Basic Python Programming EP.2. - Variables & Inputs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,749,542
net_rshares23,332,553,163
author_curate_reward""
vote details (1)
@profitgenerator ·
$0.20
Yes it's true, but it's easier to learn. I am also using mostly Python 3 these days, but for simplicity python 2 is also very useful.
👍  
properties (23)
authorprofitgenerator
permlinkre-ragequit-re-profitgenerator-learn-basic-python-programming-ep-2-variables-and-inputs-20170630t113745900z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-06-30 11:37:54
last_update2017-06-30 11:37:54
depth2
children3
last_payout2017-07-07 11:37:54
cashout_time1969-12-31 23:59:59
total_payout_value0.196 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length133
author_reputation68,549,319,463,075
root_title"Learn Basic Python Programming EP.2. - Variables & Inputs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,749,736
net_rshares23,332,553,163
author_curate_reward""
vote details (1)
@kskarthik ·
Nice tut! 

`raw_input()`is replaced with `input()` in py3, right?
👍  
properties (23)
authorkskarthik
permlinkre-profitgenerator-re-ragequit-re-profitgenerator-learn-basic-python-programming-ep-2-variables-and-inputs-20170630t114326341z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-06-30 11:43:30
last_update2017-06-30 11:43:30
depth3
children2
last_payout2017-07-07 11:43:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length66
author_reputation220,092,999,236
root_title"Learn Basic Python Programming EP.2. - Variables & Inputs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,750,255
net_rshares581,745,615
author_curate_reward""
vote details (1)
@profitgenerator ·
That's right, I will rewrite the script to be compatible with py3 in the next episode, and teach people about logics and loops.
👍  
properties (23)
authorprofitgenerator
permlinkre-kskarthik-re-profitgenerator-re-ragequit-re-profitgenerator-learn-basic-python-programming-ep-2-variables-and-inputs-20170630t114423400z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-06-30 11:44:33
last_update2017-06-30 11:44:33
depth4
children1
last_payout2017-07-07 11:44:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length127
author_reputation68,549,319,463,075
root_title"Learn Basic Python Programming EP.2. - Variables & Inputs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,750,346
net_rshares571,597,592
author_curate_reward""
vote details (1)
@profitgenerator ·
Actually I will transition to python 3, no need to teach people depreciated stuff!
properties (22)
authorprofitgenerator
permlinkre-ragequit-re-profitgenerator-learn-basic-python-programming-ep-2-variables-and-inputs-20170630t114238700z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-06-30 11:42:54
last_update2017-06-30 11:42:54
depth2
children1
last_payout2017-07-07 11:42:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation68,549,319,463,075
root_title"Learn Basic Python Programming EP.2. - Variables & Inputs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,750,193
net_rshares0
@ragequit ·
I personally think it's for the best :) Can't wait to check it out, i'm subbed!

Oh and if I could make one last suggestion it would be to have the code selectable.

Good luck!
properties (22)
authorragequit
permlinkre-profitgenerator-re-ragequit-re-profitgenerator-learn-basic-python-programming-ep-2-variables-and-inputs-20170630t114741748z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-06-30 11:47:42
last_update2017-06-30 11:47:42
depth3
children0
last_payout2017-07-07 11:47:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length176
author_reputation84,968,448,410
root_title"Learn Basic Python Programming EP.2. - Variables & Inputs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,750,617
net_rshares0