Pylint Tutorial - How to Write Clean Python

  Рет қаралды 159,837

Real Python

Real Python

Күн бұрын

Пікірлер: 72
@drew4980
@drew4980 7 жыл бұрын
My new favorite python youtuber! Really love how you're bridging the gap between beginner and intermediate. Not many other people do that very well but you're nailing it.
@realpython
@realpython 7 жыл бұрын
Thank you for the kind words! :-)
@noinformationavailable4114
@noinformationavailable4114 6 жыл бұрын
I had so much trouble understanding python until i saw your videos! You turned my crappy unclean and duct taped code into something nice and presentable!!
@realpython
@realpython 6 жыл бұрын
That's great to hear! I'm glad the videos have been helpful to you. :-)
@sepehrnematollahi1151
@sepehrnematollahi1151 3 жыл бұрын
Thanks for putting a little content between all the ads!
@JoshEnglish
@JoshEnglish 7 жыл бұрын
The score is based on the number of errors and the number of lines. 10 is "perfect" and there is no lower bound to the score.
@egimessito
@egimessito 2 жыл бұрын
read...actually studied your book. Finally going deep is now easy to understand how to go from cs or java to py. Well done and thank you
@cybersphere
@cybersphere 4 жыл бұрын
If you use Visual Studio Code, Pylint is included by default. You just have to give installation permission. Style errors are then highlighted automagically.
@dineshsadhwani3717
@dineshsadhwani3717 Жыл бұрын
Automagically? You mean automatically?
@cybersphere
@cybersphere Жыл бұрын
@@dineshsadhwani3717 No, automagically. It combines the words automatic and magically and means automatically in a way that seems magical.
@ivanlaplante
@ivanlaplante 3 жыл бұрын
3:26 Could anyone tell me in which context he recommends using vEnv? To install any (surf?) Python tool/dependency?
@VenkateshwaraDoijode
@VenkateshwaraDoijode 4 жыл бұрын
How to save pylint example.py console output to text file ?
@3ckortreat
@3ckortreat 3 жыл бұрын
how did you make your terminal frameless??
@kennyPAGC
@kennyPAGC 7 жыл бұрын
pylint missed the triple whitespace between the keyword def and the function name crash
@petrockspiracy3120
@petrockspiracy3120 4 жыл бұрын
Can anyone explain to me why I get a mixed-indentation error for using tabs only when I haven't used spaces? If I just use spaces it's okay but surely no one actually types out four spaces... I don't get it. Edit: okay I just did adjusted the option at the bottom right of the window to be spaces and it converts them for you
@RobinTheHoodedMan
@RobinTheHoodedMan 7 жыл бұрын
Great video. As a Python noobie I'm still finding out all the wrinkles, and finding out about helpful programming tools, and seeking the 'ultimate' IDE for Python (lol). Succint and to the point, nice one. Now I'm subscribed!!
@realpython
@realpython 7 жыл бұрын
Thanks! I hope I can continue to help you on your journey through Python!
@banderilllero
@banderilllero 5 жыл бұрын
so is this equivalent to Misra checker?
@ayushtripathi1125
@ayushtripathi1125 4 жыл бұрын
I know I'm three years late, but I'm new to python and I would appreciate some help. I successfully installed pylint, but when I do "pylint [full path of file name]" command prompt says pylint is not recognized as an internal or external command. Please help, thanks!
@compphysgeek
@compphysgeek 4 жыл бұрын
looks like pylint is not in your path, so you must either update your path variable with the location of pylint or call pylint also with its full path
@Danny-uq9zf
@Danny-uq9zf 4 жыл бұрын
What shell is that!? Please make a video on installing and customizing that terminal/shell!
@atefehnasiran1294
@atefehnasiran1294 4 жыл бұрын
I wanted to pylint one of my files butvI had SyntaxError: invalid syntax what can I do?
@malic_zarith
@malic_zarith 6 жыл бұрын
I have a question. A bunch of people say to work 6 hours a day if one wants to learn programming for a job. I only work four hours a day. This includes also working 4 hours on weekends. Is that enough, or should I start doing 6?
@realpython
@realpython 6 жыл бұрын
Yes, that is enough. Some people only manage about an hour a day, as long as you are consistent with it, you will find yourself progressing.
@malic_zarith
@malic_zarith 6 жыл бұрын
@@realpython Ok that's good
@philtoa334
@philtoa334 Жыл бұрын
it was time for u to use that 🤣. Thanks really nice vid.
@MrVictorock
@MrVictorock 7 жыл бұрын
You should do videos about job interview in python too...for example: What a python developer must know before a job interview?
@youwouldbetterfuckme
@youwouldbetterfuckme 6 жыл бұрын
This question disqualifies a candidate IMHO.
@jamesuejio2787
@jamesuejio2787 5 жыл бұрын
realpython.com/python-coding-interview-tips/ :D We will have a related video walkthrough attached to the video in the next coming months.
@sumitkumarsain5542
@sumitkumarsain5542 6 жыл бұрын
Hi Dan. Do u have a playlist for python tutorials!! Thanks, Sumit
@realpython
@realpython 6 жыл бұрын
I have a few playlists available, you can check them out here: kzbin.info/door/I0vQvr9aFn27yR6Ej6n5UAplaylists
@webapplicationguide3798
@webapplicationguide3798 7 жыл бұрын
Thanks Dan for all those tips.
@budi0580
@budi0580 2 жыл бұрын
Is this tutorial still relevant today ?
@dmytroohorodnik3562
@dmytroohorodnik3562 4 жыл бұрын
You can run "pylint pylint" :)
@JSimba94
@JSimba94 7 жыл бұрын
Wondering how you edited your terminal window removing the title bar??? Great video! Keep it up with the great content!
@realpython
@realpython 7 жыл бұрын
It's a setting in iTerm2 (remove border or something like that).
@satoshinakamoto171
@satoshinakamoto171 5 жыл бұрын
thanks ur great. please keep making videos ...ur helping the community alot with ur helpful videos.
@realpython
@realpython 5 жыл бұрын
Thanks for the kind words!
@sergeydeluxe
@sergeydeluxe 4 жыл бұрын
Great tutorial! Thank you!
@iaroslavdavydiak6439
@iaroslavdavydiak6439 3 жыл бұрын
Awesome. Thank you!
@harshmishra8990
@harshmishra8990 5 жыл бұрын
Thanks for such amazing tutorials.
@EnglishRain
@EnglishRain 4 жыл бұрын
13:00 - didn't realize we had to uppercase base level variables.
@bfdhtfyjhjj
@bfdhtfyjhjj 4 жыл бұрын
Hes wrong. You need to use uppercase because its not variable, its a constat.
@EnglishRain
@EnglishRain 4 жыл бұрын
@@bfdhtfyjhjj Thanks for correcting me.
@vaneakatok
@vaneakatok 5 жыл бұрын
I can't find a way, I mean a video on generating UMLs Do you have are intend to do any?
@ArturdeSousaRocha
@ArturdeSousaRocha 5 жыл бұрын
Personally I prefer to leave pylint as it is and only disable specific messages to indicate that I had a good reason to do something and it's not an error. Interestingly, VS Code disables almost all pylint messages by default.
@shahrokhabbasirad2223
@shahrokhabbasirad2223 6 жыл бұрын
I really enjoyed. This video is AWESOME
@realpython
@realpython 6 жыл бұрын
Thanks for the kind words!
@jimgolab536
@jimgolab536 3 жыл бұрын
Lint = Lexical Interpreter.
@tarekhesham5133
@tarekhesham5133 7 жыл бұрын
Thank you very much for these great tips.
@realpython
@realpython 7 жыл бұрын
You're welcome :-)
@maukaladka4100
@maukaladka4100 3 жыл бұрын
Nice one
@malharjajoo7393
@malharjajoo7393 6 жыл бұрын
Nice tutorial.
@realpython
@realpython 6 жыл бұрын
Thanks!
@angelluisgarciaguzman5598
@angelluisgarciaguzman5598 4 жыл бұрын
It just works!
@Albin_Evald
@Albin_Evald 5 жыл бұрын
after watching for 17 minutes, 17:07.... DOH
@vighnesh153
@vighnesh153 5 жыл бұрын
Or use PyCharm
@vighnesh153
@vighnesh153 3 жыл бұрын
@Peter Mortensen it has builtin pep8 checks.
@lumed2189
@lumed2189 4 жыл бұрын
Pylint👍👍😍
@swadhikarc7858
@swadhikarc7858 4 жыл бұрын
Line 14 has more spaces between def and function name, still a perfect code 😂
@elhamzeinodini4828
@elhamzeinodini4828 4 жыл бұрын
💥💥💥
@CryptoPi_314
@CryptoPi_314 5 жыл бұрын
If possible can you plz. make a video on 'Design Patterns with Python': en.wikipedia.org/wiki/Design_Patterns#Patterns_by_Type :)
@gshan994
@gshan994 2 жыл бұрын
Arjan codes is a youtube channel to check for design patterns with python
@amberlong1354
@amberlong1354 5 жыл бұрын
me too.
@yuverris
@yuverris 4 жыл бұрын
nice pylint ruined my whole day
@jonathanmoore5619
@jonathanmoore5619 4 жыл бұрын
Concentrate on creating... Python... Literally the snake eating it's own tail...
@jonathanmoore5619
@jonathanmoore5619 3 жыл бұрын
@Peter Mortensen I rest my case... Some make, some check, some do nothing at all.
@oxygenist
@oxygenist 3 жыл бұрын
.
@inftertainment
@inftertainment 5 жыл бұрын
Running ‘pip install pylint’ in terminal gets me nothing but ‘-bash: pip: command not found’
@KishoreKumar-is3qn
@KishoreKumar-is3qn 5 жыл бұрын
install pip
@AtlantaTerry
@AtlantaTerry 5 жыл бұрын
@@KishoreKumar-is3qn thanks, but noobs might not know how.
Mastering Python Code Quality with Pylint
14:44
NeuralNine
Рет қаралды 30 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 622 М.
Powerful VSCode Tips And Tricks For Python Development And Design
15:50
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 126 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 337 М.
Python AST Parsing and Custom Linting
11:24
mCoding
Рет қаралды 46 М.
Make Your Python Code More Professional
19:43
NeuralNine
Рет қаралды 68 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.