 # PEP what? PEP 8 is a coding standard for Python by Guido van Rossum. It defines a set of guidelines for writing Python code in a universally accepted writing style. Any good developer worth their salt knows consistency is critical for development. If you use 2 spaces, use 2 spaces every time, if you use 4 do it every time. Changing your style inside of a project makes your code more difficult to read and manage. I am not going to cover how to format your code to PEP 8 but you can read the entire guide [here](http://pep8.org/). ### PEP8 Python Style Guide https://www.youtube.com/watch?v=PBU1SJlWHeQ # PEP8 Style Guide Examples A few examples of PEP 8 styles that are commonly used in most Python programs. ### Line indent PEP 8 recommends using 4 characters for indents to increase readability and consistency. This is for every indentation, not just the first one. If you have code that will exceed the recommended 79 characters per line, this is the proper way to do a hanging indent. ``` foo = my_long_function_name( var_one, var_two, var_three, var_four) ``` While there are a few suggestions on how to format this line, the guide specifically recommends avoiding code that looks like this: ``` foo = my_long_function_name(var_one, var_two, var_three, var_four) ``` The most important thing is to remain consistent with yourself. # Tabs or Spaces https://www.youtube.com/watch?v=SsoOG6ZeyUI PEP 8 recommends using spaces instead of tabs, reverting to tabs only when working on existing code with tabs. While I am not a big fan of this rule, using a proper [editor config](http://editorconfig.org/) can help solve this problem. Again, the critical rule in my opinion regardless of PEP 8 is consistency. # Blank Lines The last example I will cover is blank lines. The guide recommends two blank lines between top-level functions and class definitions. Method definitions (functions inside of a class) should only use one line space. The guide also recommends to use a new line to separate logic inside of functions but use this very sparingly. If you find yourself using a lot of spaces, you likely are doing too much in your function. # Enter autopep8 module There is a module called `autopep8` that will automatically format your code to autopep8 style. You can install the module with `pip install autopep8` You can run autopep8 against a single file using the following command: `$ autopep8 --in-place --aggressive --aggressive <filename>` If you are using vim, you can use this shortcut: `:%! autopep8 -` This will automatically pep8 your code in the current file. This module is really good for fixing spacing/tab inconsistencies. The best way to enforce consistent styling is using a Linter. Mode good text editors support Python Linting. Linting will give you warnings when your code does not conform to a recommended style, either PEP 8 or the guidelines you configure it for. I will save linting for another tip but know it exists and look at your favorite text editor for how to enable linting for your Python code. I highly recommend reviewing the PEP 8 style guide which has been formatted version at http://pep8.org/ # My Python Tips Series * [f-strings in Python 3.6](https://steemit.com/programming/@themarkymark/python-tips-f-strings-in-python-3-6-and-why-you-should-be-using-them) * [Underscores in numeric literals](https://steemit.com/programming/@themarkymark/python-tips-underscores-in-numeric-literals) * [A better interactive shell](https://steemit.com/programming/@themarkymark/python-tips-a-better-interactive-shell) * [Secrets Module - New in 3.6](https://steemit.com/programming/@themarkymark/python-tips-secrets-module-new-in-3-6) <center><sub><sub> X48EJ </sub></sub></center> # <center> [Why you should vote me as witness](https://steemit.com/witness-category/@themarkymark/why-you-should-vote-for-themarkymark-as-witness) </center> # <center>https://steemitimages.com/DQmcWxV1dpA1eAtw2ipwZiWZkydyVNU5LaLa2Ak1GUnbGmS/The-Marky-Mark.png </center> # <center> Witness & Administrator of four full nodes </center> #  </br> # <center> My recent popular posts </center> # [STEEM, STEEM Power, Vests, and Steem Dollars. wtf is this shit?](https://steemit.com/steem/@themarkymark/steem-steem-power-vests-and-steem-dollars-wtf-is-this-shit) [The truth and lies about 25% curation, why what you know is FAKE NEWS](https://steemit.com/curation/@themarkymark/the-truth-and-lies-about-25-curation-why-what-you-know-is-fake-news) [WTF is a hardware wallet, and why should you have one?](https://steemit.com/bitcoin/@themarkymark/wtf-is-a-hardware-wallet-and-why-should-you-have-one) [GINABOT - The Secret to your Sanity on Steemit](https://steemit.com/ginabot/@themarkymark/ginabot-the-secret-to-your-sanity-on-steemit) [How to calculate post rewards](https://steemit.com/steemit/@themarkymark/how-to-calculate-post-rewards) [Use SSH all the time? Time for a big boy SSH Client](https://steemit.com/linux/@themarkymark/use-ssh-all-the-time-time-for-a-big-boy-ssh-client) [How to change your recovery account](https://steemit.com/steemit/@themarkymark/how-to-change-your-recovery-account) [How curation rewards work and how to be a kick ass curator](https://steemit.com/curation/@themarkymark/how-curation-rewards-work-and-how-to-be-a-kick-ass-curator) [Markdown 101 - How to make kick ass posts on Steemit](https://steemit.com/steemit/@themarkymark/markdown-101-how-to-make-kick-ass-posts-on-steemit) [Work ON your business, not in your business! - How to succeed as a small business](https://steemit.com/business/@themarkymark/work-on-your-business-not-in-your-business-how-to-succeed-as-a-small-business) [You are not entitled to an audience, you need to earn it!](https://steemit.com/steemit/@themarkymark/you-are-not-entitled-to-an-audience-you-need-to-earn-it) [How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!](https://steemit.com/sysadmin/@themarkymark/how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong) [Building a Portable Game Console](https://steemit.com/raspberrypi/@themarkymark/building-a-portable-game-console) [](https://v2.steemconnect.com/sign/account-witness-vote?witness=themarkymark&approve=1)
author | themarkymark |
---|---|
permlink | python-tips-pep-8 |
category | programming |
json_metadata | {"community":"busy","app":"busy/2.4.0","format":"markdown","tags":["programming","python","python-tips","dev","busy"],"users":["themarkymark"],"links":["http://pep8.org/","http://editorconfig.org/","http://pep8.org/","https://steemit.com/programming/@themarkymark/python-tips-f-strings-in-python-3-6-and-why-you-should-be-using-them","https://steemit.com/programming/@themarkymark/python-tips-underscores-in-numeric-literals","https://steemit.com/programming/@themarkymark/python-tips-a-better-interactive-shell","https://steemit.com/programming/@themarkymark/python-tips-secrets-module-new-in-3-6","https://steemit.com/witness-category/@themarkymark/why-you-should-vote-for-themarkymark-as-witness","https://steemit.com/steem/@themarkymark/steem-steem-power-vests-and-steem-dollars-wtf-is-this-shit","https://steemit.com/curation/@themarkymark/the-truth-and-lies-about-25-curation-why-what-you-know-is-fake-news"],"image":["https://steemitimages.com/0x0/https://steemitimages.com/DQmSsFP8BDE1DkXNN9hh1729MRexyqupLEKfWJTsRskjt33/image.png","https://steemitimages.com/0x0/https://steemitimages.com/DQmcWxV1dpA1eAtw2ipwZiWZkydyVNU5LaLa2Ak1GUnbGmS/The-Marky-Mark.png","https://steemitimages.com/0x0/https://steemitimages.com/DQmVpwMxWTYDVum2dXcVRBLwHqHZh2Sr6DDHAFwDeeTG2YK/themarkymark.png","https://steemitimages.com/0x0/https://steemitimages.com/DQmPkQhAQceC7aHr4Gy5GKv7LMoiy47P7PyaNCeZBHMpFke/white-bg-with-drop-shadow.gif"]} |
created | 2018-04-15 09:04:00 |
last_update | 2018-04-15 09:04:00 |
depth | 0 |
children | 17 |
last_payout | 2018-04-22 09:04:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 94.431 HBD |
curator_payout_value | 9.023 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 6,656 |
author_reputation | 1,779,919,634,875,089 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,165,335 |
net_rshares | 20,182,213,808,074 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 72,250,898,108 | 0.38% | ||
germanaure | 0 | 3,549,930,818 | 100% | ||
murh | 0 | 119,165,176 | 5% | ||
thecryptodrive | 0 | 76,493,182,512 | 20% | ||
trevonjb | 0 | 755,883,141,930 | 10% | ||
erizan | 0 | 238,016,571 | 100% | ||
alexpmorris | 0 | 229,569,265,193 | 80% | ||
kiddarko | 0 | 12,453,695,176 | 12.5% | ||
kenistyles | 0 | 15,345,511,065 | 11% | ||
ivet | 0 | 32,745,664,175 | 100% | ||
dadview | 0 | 2,697,659,264 | 7.5% | ||
busy.pay | 0 | 1,335,216,814,539 | 7.94% | ||
barton26 | 0 | 6,150,973,248 | 100% | ||
jamzed | 0 | 25,248,128,416 | 100% | ||
adventureevryday | 0 | 11,240,139,106 | 25% | ||
demartini | 0 | 9,453,173,080 | 100% | ||
steemcenterwiki | 0 | 4,063,074,599 | 20% | ||
playfulfoodie | 0 | 49,137,019,280 | 20% | ||
michellectv | 0 | 160,779,263,303 | 80% | ||
baldos | 0 | 19,277,605,926 | 80% | ||
buzzbeergeek | 0 | 12,521,641,283 | 25% | ||
ganjafarmer | 0 | 1,078,741,250 | 10% | ||
freebornsociety | 0 | 2,420,689,378 | 5% | ||
steemitcitizen | 0 | 988,332,210 | 12.5% | ||
nicnas | 0 | 23,142,809,491 | 70% | ||
luvabi | 0 | 25,145,499,441 | 80% | ||
denisechips | 0 | 9,660,474,738 | 25% | ||
lexiconical | 0 | 94,059,341 | 15% | ||
lazzelazer | 0 | 7,537,809,066 | 100% | ||
derrick829 | 0 | 14,267,946,701 | 1% | ||
assetminds | 0 | 2,848,027,782 | 100% | ||
epixar | 0 | 611,732,481 | 100% | ||
daydreams4rock | 0 | 23,958,207,593 | 80% | ||
hendrix22 | 0 | 12,617,379,303 | 10% | ||
dpakyaw | 0 | 3,004,559,824 | 16% | ||
superday | 0 | 2,350,325,784 | 100% | ||
vibvir | 0 | 1,508,708,026 | 100% | ||
hope-on-fire | 0 | 2,638,072,262 | 100% | ||
numbnut68 | 0 | 9,603,605,753 | 100% | ||
tymba | 0 | 5,083,499,597 | 71% | ||
avesa | 0 | 385,410,780 | 0.25% | ||
purepinay | 0 | 23,776,664,683 | 5% | ||
dorabot | 0 | 9,977,559,022 | 25% | ||
topkpop | 0 | 12,423,322,621 | 10% | ||
indy8phish | 0 | 5,393,491,594 | 100% | ||
kayros | 0 | 7,302,119,942 | 100% | ||
cicbar | 0 | 48,258,514,814 | 20% | ||
poweredbyweb | 0 | 50,378,637,371 | 80% | ||
hairshares | 0 | 247,176,260,230 | 100% | ||
magnat | 0 | 9,760,597,571 | 13% | ||
simplifylife | 0 | 151,006,178 | 0.25% | ||
kriptonoob | 0 | 1,790,754,545 | 2.5% | ||
akmal1 | 0 | 481,146,579 | 100% | ||
infamousit | 0 | 662,840,596 | 12.5% | ||
makerhacks | 0 | 49,976,063,072 | 20% | ||
juliawilliams | 0 | 31,441,550,165 | 100% | ||
shahab3211 | 0 | 604,953,708 | 100% | ||
curationstreet | 0 | 372,071,819 | 5% | ||
andrekweku | 0 | 111,707,664 | 12.5% | ||
zeddjacob | 0 | 1,405,047,864 | 100% | ||
yulem | 0 | 2,835,008,088 | 100% | ||
drmake | 0 | 95,558,168,977 | 80% | ||
danile666 | 0 | 18,858,645,656 | 80% | ||
hotvideos | 0 | 50,878,737,457 | 80% | ||
mytechtrail | 0 | 568,994,181 | 100% | ||
geekpowered | 0 | 10,490,145,937 | 50% | ||
steemusa | 0 | 8,500,975,980 | 13% | ||
jameszenartist | 0 | 2,699,395,481 | 100% | ||
cryptogem | 0 | 5,852,169,368 | 100% | ||
zyl | 0 | 118,179,907 | 80% | ||
dieterhubert | 0 | 484,055,689 | 100% | ||
upmyvote | 0 | 9,323,152,490,641 | 56.22% | ||
coincadet | 0 | 184,233,599 | 30% | ||
nelkeljdm | 0 | 3,853,744,754 | 5% | ||
amos811 | 0 | 4,877,667,838 | 100% | ||
doverun | 0 | 449,973,218 | 100% | ||
bec-on-the-block | 0 | 1,121,228,357 | 100% | ||
patricklancaster | 0 | 1,399,479,673 | 12.5% | ||
steemernoob | 0 | 615,377,263 | 100% | ||
wisewoof | 0 | 1,098,410,846 | 5% | ||
luisal314 | 0 | 426,758,330 | 100% | ||
saqibnazir | 0 | 236,784,108 | 100% | ||
manofwar | 0 | 439,568,764 | 100% | ||
techstack | 0 | 592,827,243 | 100% | ||
investfourmore | 0 | 14,685,145,006 | 20% | ||
cyber-smiley | 0 | 613,379,711 | 100% | ||
ipromote | 0 | 6,718,533,636,421 | 100% | ||
jvhplays | 0 | 611,557,247 | 100% | ||
nightdragon | 0 | 442,795,344 | 100% | ||
synergysteem | 0 | 5,293,818,765 | 100% | ||
natsch | 0 | 507,377,912 | 100% | ||
gtmatze | 0 | 1,002,919,329 | 100% | ||
jvhteach | 0 | 948,890,372 | 10% | ||
kessielynbote | 0 | 302,787,435 | 100% | ||
lamkote | 0 | 279,946,985 | 100% | ||
blerdrage | 0 | 4,943,814,627 | 100% | ||
skorpsim | 0 | 613,640,495 | 100% | ||
suntree | 0 | 519,756,568 | 100% | ||
reviewsatrandom | 0 | 25,277,603,726 | 80% | ||
memesplease | 0 | 23,450,348,126 | 80% | ||
enigmatv | 0 | 8,149,010,254 | 100% | ||
andrewharland | 0 | 5,687,329,861 | 20% | ||
marilin151 | 0 | 0 | 100% | ||
finanzamt | 0 | 597,797,026 | 100% | ||
tushy | 0 | 5,037,468,854 | 80% | ||
lordgod | 0 | 286,620,967,118 | 10% | ||
brightstar7 | 0 | 468,841,426 | 100% | ||
dindar | 0 | 19,744,834,199 | 22% | ||
therkut | 0 | 97,871,908 | 100% | ||
ceromiedo | 0 | 238,036,217 | 100% | ||
rogz06 | 0 | 1,107,262,873 | 50% | ||
linlux | 0 | 615,725,476 | 100% | ||
shahabudin | 0 | 64,328,575 | 100% | ||
blaqmonk | 0 | 582,943,060 | 100% | ||
nandie | 0 | 517,409,662 | 100% | ||
ssrimel | 0 | 597,082,400 | 100% | ||
kaybiel4u | 0 | 541,484,578 | 100% | ||
siabu | 0 | 330,570,260 | 100% | ||
nassarill | 0 | 549,663,768 | 100% | ||
eiffel4all | 0 | 611,767,437 | 100% | ||
sanchezsorlando | 0 | 100,941,140 | 100% | ||
qurator-tier-1-2 | 0 | 31,807,868,951 | 4% | ||
guktsby | 0 | 0 | 100% |
post a very remarkable I really like. hopefully posts I like that, too. friend help me.
author | akmal1 |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t092650617z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 09:27:00 |
last_update | 2018-04-15 09:27:00 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 09:27:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 87 |
author_reputation | 760,367,642,451 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,168,028 |
net_rshares | 0 |
Thank you for sharing
author | dpakyaw |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180416t034424868z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-16 03:44:24 |
last_update | 2018-04-16 03:44:24 |
depth | 1 |
children | 0 |
last_payout | 2018-04-23 03:44:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 21 |
author_reputation | 4,041,738,037,502 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,306,951 |
net_rshares | 0 |
Is it innapropriate to flag for differences in style preferences?
author | geekpowered |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180416t162319768z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-16 16:23:21 |
last_update | 2018-04-16 16:23:21 |
depth | 1 |
children | 4 |
last_payout | 2018-04-23 16:23:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 99,319,261,112,097 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,408,976 |
net_rshares | 0 |
When coding by yourself, you can use any style you want but eventually, you will work with others and using a uniform style code across all devs is a huge advantage.
author | themarkymark |
---|---|
permlink | re-geekpowered-re-themarkymark-python-tips-pep-8-20180416t173022284z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-16 17:30:03 |
last_update | 2018-04-16 17:30:03 |
depth | 2 |
children | 3 |
last_payout | 2018-04-23 17:30:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 165 |
author_reputation | 1,779,919,634,875,089 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,419,041 |
net_rshares | 0 |
So you're saying it's perfectly fine to flag someone for differences in coding style...if you're working with them? :P I mostly follow PEP8, but I think there are cases where it's better to ignore the line length.
author | geekpowered |
---|---|
permlink | re-themarkymark-re-geekpowered-re-themarkymark-python-tips-pep-8-20180417t015714331z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-17 01:57:15 |
last_update | 2018-04-17 01:57:15 |
depth | 3 |
children | 2 |
last_payout | 2018-04-24 01:57:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 214 |
author_reputation | 99,319,261,112,097 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,481,019 |
net_rshares | 0 |
Iβm going to install that module. These tips on python are great! Iβm working on some code right now that could use a bit of formatting ;)
author | iamredbar |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t130817445z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 13:08:18 |
last_update | 2018-04-15 13:08:18 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 13:08:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 138 |
author_reputation | 5,765,586,647,876 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,195,492 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
iamredbar | 0 | 0 | 0% |
wow very nice post
author | jakboy |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t090732076z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 09:07:30 |
last_update | 2018-04-15 09:07:30 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 09:07:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 18 |
author_reputation | 45,413,276,305 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,165,711 |
net_rshares | 0 |
Great effort and very helpful for the users, thank you The Mark O Mark
author | juliawilliams |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t090829348z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 09:08:33 |
last_update | 2018-04-15 09:08:33 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 09:08:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 70 |
author_reputation | 12,429,776,429,321 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,165,814 |
net_rshares | 0 |
Luar biasa post cantik
author | molynar | ||||||
---|---|---|---|---|---|---|---|
permlink | re-themarkymark-2018415t161242171z | ||||||
category | programming | ||||||
json_metadata | {"tags":["programming","python","python-tips","dev","busy"],"app":"esteem/1.6.0","format":"markdown+html","community":"esteem"} | ||||||
created | 2018-04-15 09:12:57 | ||||||
last_update | 2018-04-15 09:12:57 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2018-04-22 09:12:57 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 22 | ||||||
author_reputation | 637,681,558,979 | ||||||
root_title | "[Python Tips] PEP 8" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 50,166,347 | ||||||
net_rshares | 0 |
Ill have to check out these standards that I am sure I am not following when I get a little sleep.
author | nicnas |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t091149633z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 09:11:48 |
last_update | 2018-04-15 09:11:48 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 09:11:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 98 |
author_reputation | 38,554,121,369,241 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,166,207 |
net_rshares | 0 |
I wasn't aware or pep8, thanks mate. Since I use atom as an editor I did a quick search and found a linter python pep8 plugin for atom <a href="https://atom.io/packages/linter-python-pep8" >here.</a>. I look forward to your future tips on python.
author | synergysteem |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t134446264z |
category | programming |
json_metadata | {"tags":["programming"],"links":["https://atom.io/packages/linter-python-pep8"],"app":"steemit/0.1"} |
created | 2018-04-15 13:44:48 |
last_update | 2018-04-15 13:45:27 |
depth | 1 |
children | 2 |
last_payout | 2018-04-22 13:44:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 248 |
author_reputation | 40,909,575,209 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,200,871 |
net_rshares | 0 |
I would also recommend to use VSCode and you wonβt never look back to Atom. I am telling you from my experience. There are lot of plugins available which are really helpful for any kind of development.
author | techstack |
---|---|
permlink | re-synergysteem-re-themarkymark-python-tips-pep-8-20180415t152232248z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 15:22:33 |
last_update | 2018-04-15 15:23:15 |
depth | 2 |
children | 0 |
last_payout | 2018-04-22 15:22:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 203 |
author_reputation | 745,033,069,601 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,216,518 |
net_rshares | 0 |
Check out VS Code, really aggressive development progress. It's the Sublime Text we always wanted.
author | themarkymark |
---|---|
permlink | re-synergysteem-re-themarkymark-python-tips-pep-8-20180415t140544368z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 14:05:30 |
last_update | 2018-04-15 14:05:45 |
depth | 2 |
children | 0 |
last_payout | 2018-04-22 14:05:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 99 |
author_reputation | 1,779,919,634,875,089 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,204,073 |
net_rshares | 580,540,668 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
techstack | 0 | 580,540,668 | 100% |
Wow what an post about Python. I am not using though but I love python for many different reasons. First thing first it is really powerful language I ever saw. I hope I could get a chance to learn it. @themarkymark thanks for great work. I would recommend you please add some nice footer in your post so that reader can easily follow you. I have designed very nice [footer here](https://steemit.com/steem/@techstack/style-your-steem-with-stylish-footer). Please let me know if anyone interested for it. I can design for you as well in exchange of little SP delegation.
author | techstack |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t151956348z |
category | programming |
json_metadata | {"tags":["programming"],"users":["themarkymark"],"links":["https://steemit.com/steem/@techstack/style-your-steem-with-stylish-footer"],"app":"steemit/0.1"} |
created | 2018-04-15 15:19:57 |
last_update | 2018-04-15 15:19:57 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 15:19:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 571 |
author_reputation | 745,033,069,601 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,216,093 |
net_rshares | 0 |
Looking really good PeP8 style writing
author | usman119 |
---|---|
permlink | re-themarkymark-python-tips-pep-8-20180415t071551845z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-04-15 09:09:18 |
last_update | 2018-04-15 09:09:18 |
depth | 1 |
children | 0 |
last_payout | 2018-04-22 09:09:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 38 |
author_reputation | 9,777,746,754,968 |
root_title | "[Python Tips] PEP 8" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 50,165,914 |
net_rshares | 0 |