pep8.org - The Prettiest Way to View the PEP 8 Python Style Guide

  Рет қаралды 85,553

Real Python

Real Python

Күн бұрын

Пікірлер: 53
@noisycarlos
@noisycarlos 6 жыл бұрын
Sooo the document to make Python easier to read, needs to be reformatted to be easier to read.
@googleuser4203
@googleuser4203 6 жыл бұрын
Ohh the ironyyyyyy
@markhathaway9456
@markhathaway9456 5 жыл бұрын
like bugs on your deployment day
@Moalli14
@Moalli14 5 жыл бұрын
I myself as a complete beginer (1 month into programming) found PEP-8 kinda hard to understand and apply, and that's hampering me on learning Python with correct and concise style from day one. Still, it's pretty good to have that kind of document so easily avaliable, but reformatting it would help a bunch of beginers to learn Python the right way from the start, not acquiring "vices" that need to be removed afterwards.
@destiny_02
@destiny_02 3 жыл бұрын
The whole python documentation need that. It looks like some school kid made that website.
@simplegupta7154
@simplegupta7154 6 жыл бұрын
There are lots of things in Python to be learn and it's nice that you are summarizing them. Keep going. 🙂
@realpython
@realpython 6 жыл бұрын
I'm glad you are enjoying it!
@rajarshiroy8794
@rajarshiroy8794 10 ай бұрын
I literally love it, I don't know why but I never heard of this pep8 style guide until recently when I searched how to write production level code. I wish I know it sonner, I am definetly going to share it in my circle
@chirasha-nz-zim
@chirasha-nz-zim 7 жыл бұрын
This is good , saves me time from looking up the original pep guide via google and this was definitely done for humans ,thanx dbader .... and for the record ,i love your articles
@RC-bl2pm
@RC-bl2pm 7 жыл бұрын
Stone cold noob here..just started looking at pep and then saw this. Way easier to read! Thanks for the lifeline.
@realpython
@realpython 7 жыл бұрын
You're welcome! Happy to help. :)
@MADPURO
@MADPURO 7 жыл бұрын
R C how’s it going so far? Have you kept learning python?
@RC-bl2pm
@RC-bl2pm 7 жыл бұрын
yeah i have. I got through a full course of python and began with flask. This opened a big hornets nest of problems! I am now simultaneously learning html/css and sqlite because a web page is more than flask and python! DRAT! I did manage to get a one page static toehold up at pythonanywhere and am currently working on a grocery list app locally for later deployment(again as an exercise). So much to learn and the first look at something new can be confusing but its really fun.
@MADPURO
@MADPURO 6 жыл бұрын
R C that’s awesome to hear man! Congrats. I know how you feel after finding out with html and css lol. Those two were the stepping stones that started my learning journey. Although I’ve only done a tribute page with html, css, and js..I am interested in seeing how it goes learning python. I’m at 45% in a udemy course and so far I learned about using Jupyter and manipulating csv,JSON..etc. Is your site visible? I feel it’s motivating knowing someone else at similar a level lol.
@RC-bl2pm
@RC-bl2pm 6 жыл бұрын
ryancross.pythonanywhere.com/ just a single static page...not much but i managed to get through some html/css/flask and to get it up on pythonanywhere! I, m working on an app now that will require forms and a database and Im dying because im so buried. are you taking timbuchalkas udemy course? I have that course but went through treehouse first time which is too bad because udemy was better.
@MADPURO
@MADPURO 7 жыл бұрын
DEEEEEFinately going to check it out. I’ve been trying to get use to reading the python documentation and this might just send me over the edge in excitement.
@realpython
@realpython 6 жыл бұрын
Happy to help!
@parthpanchal1620
@parthpanchal1620 5 жыл бұрын
Hey, dan!! I love your blogs and emails. it saves my time. great work.
@aka5
@aka5 4 жыл бұрын
me: pep Real Python: peepee
@Hshjshshjsj72727
@Hshjshshjsj72727 4 жыл бұрын
LOL I think maybe he likes saying it 😏
@BM-uf4pp
@BM-uf4pp 3 жыл бұрын
haha this had me laughing so hard
@johncollins8141
@johncollins8141 9 ай бұрын
yeah @1:48 the style guide to enhance py code readability is hard to read .....
@Silvertestrun
@Silvertestrun 11 ай бұрын
Thank you!
@shahrokhabbasirad2223
@shahrokhabbasirad2223 6 жыл бұрын
Thanks for your nice video. I was wondering if we need to be worried about this? coz you can install pylon package for example and everything will be conformed to PEP8 style. Am I right?
@PeterKirwan
@PeterKirwan 6 жыл бұрын
A great resource! Just a heads up that a redirect needs to be set up from the http to the https :)
@merchantscape
@merchantscape 7 жыл бұрын
the cursive font type makes reading the comments in the code hard!
@MADPURO
@MADPURO 7 жыл бұрын
merchantscape might be a pain in the butt..but I think you can view the source code and change the font if you’re on a laptop/pc by changing it through css. Depends how it was done of course. Although of course it won’t stay to what you change it to but if you’re gonna have it open..it’ll remain until then. I’m gonna try it later and see.
@webapplicationguide3798
@webapplicationguide3798 7 жыл бұрын
Hi Dan, Is flake8 following pep8 style guide , just like pylint.
@pineapplepizza6045
@pineapplepizza6045 3 жыл бұрын
That is just great!!! Thanks for sharing. I should go to bed now but instead I’ll start reading now 😂😂
@dentonhess5810
@dentonhess5810 4 жыл бұрын
Great information flow. TY
@HG-mt3vl
@HG-mt3vl 6 жыл бұрын
Great introduction video.. please make some detailed video demonstrating typing of real code by pep-8
@realpython
@realpython 6 жыл бұрын
I appreciate the suggestion!
@Oladipupo_
@Oladipupo_ 4 жыл бұрын
Thanks for this Dan
@kunalsoni7681
@kunalsoni7681 3 жыл бұрын
Helpful video ☺️❤️🤠
@heshankumarasinghe3159
@heshankumarasinghe3159 4 жыл бұрын
Thanks.... Like the new site....
@danielrhouck
@danielrhouck 3 жыл бұрын
I don’t think I’ve ever heard anyone spell out P-E-P before, instead of reading it as a word. Is that typical and I’m the weird one?
@apdy27
@apdy27 4 жыл бұрын
Pep8ing the pep8!
@sreehari563
@sreehari563 3 жыл бұрын
The only problem is that I just cannot use 4 spaces instead of one tab. I am too lazy and I really don't want to do that. Will that be a problem? Are spaces mandatory or in other words do every professional Python programmer who follows the style guide press down 4 spaces instead of one tab every single time?
@therealspikebh
@therealspikebh 3 жыл бұрын
You can config that in the IDE, tab = 4 spaces
@sreehari563
@sreehari563 3 жыл бұрын
@@therealspikebh yes, sometime after writing this comment, I figured out how to do this while using VS Code. Thanks for the reply 👍. But on notepad and other traditional text editors like Vim/EMACS I think, you have no option but to keep pressing space four times.
@therealspikebh
@therealspikebh 3 жыл бұрын
@@sreehari563 i didnt know about emacs or a normal editor, i never checked out if pycharm has that kption though
@sreehari563
@sreehari563 3 жыл бұрын
@@therealspikebhpretty sure that pycharm will have it too👍. I think a wide majority of programmers are now using IDE's instead of text editors, so everyone should be able to enjoy the ease of pressing tab for 4 spaces
@sabuein
@sabuein 3 жыл бұрын
Thank you.
@jasonlloyd806
@jasonlloyd806 7 жыл бұрын
awesome work!
@gauravmarwaha8466
@gauravmarwaha8466 4 жыл бұрын
domain expired...!!!!
@alexpasko1126
@alexpasko1126 6 жыл бұрын
"Make you code look like >everyone< else's code" hahahaha if only it was true!
@Neoplasie1900
@Neoplasie1900 5 жыл бұрын
At least everyone has a common ground. There are virtually infinite ways to write code that accomplishes a tasks. PEP8 throws out the really bad stuff and makes code more readable regardless of coding style applied thereafter.
@abdullahalumran4653
@abdullahalumran4653 4 жыл бұрын
I don't think you got the point.
@monad99
@monad99 6 ай бұрын
it's not pp8 it's pEp8
@adkharu
@adkharu 6 жыл бұрын
The irony...
Write Python Code Properly!
25:46
Tech With Tim
Рет қаралды 148 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Pylint Tutorial - How to Write Clean Python
17:49
Real Python
Рет қаралды 159 М.
Python tricks: Writing user-friendly code with PEP-8 naming conventions
15:30
What Python Projects Should I Build to Get a Job?
12:19
Real Python
Рет қаралды 237 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Python GUI Development With PySimpleGUI
15:15
Real Python
Рет қаралды 1 МЛН
Python dataclasses will save you HOURS, also featuring attrs
8:50
String Conversion in Python: When to Use __repr__ vs __str__
14:58
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 622 М.
Why Your Brain Sabotages Your Goals (and How to Fix It)
11:56
Productive Peter
Рет қаралды 24 М.