Intermediate Python Programming Course
HTML-код
- Опубликовано: 31 июл 2024
- Take your Python skills to the next level with this intermediate Python course. First, you will get a review of basic concepts such as lists, strings, and dictionaries, but with an emphasis on some lesser known capabilities. Then, you will learn more advanced topics such as threading, multiprocessing, context managers, generators, and more.
💻 Code: github.com/python-engineer/py...
🎥 Course from Patrick Loeber. Check out his channel: / @patloeber
🔗 Written Tutorials from Patrick: www.python-engineer.com/cours...
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Intro
⌨️ (0:00:56) Lists
⌨️ (0:16:30) Tuples
⌨️ (0:29:49) Dictionaries
⌨️ (0:42:40) Sets
⌨️ (0:58:44) Strings
⌨️ (1:22:50) Collections
⌨️ (1:36:43) Itertools
⌨️ (1:51:50) Lambda Functions
⌨️ (2:04:03) Exceptions and Errors
⌨️ (2:20:10) Logging
⌨️ (2:42:20) JSON
⌨️ (2:59:42) Random Numbers
⌨️ (3:14:23) Decorators
⌨️ (3:35:32) Generators
⌨️ (3:53:29) Threading vs Multiprocessing
⌨️ (4:07:59) Multithreading
⌨️ (4:31:05) Multiprocessing
⌨️ (4:53:26) Function Arguments
⌨️ (5:17:28) The Asterisk (*) Operator
⌨️ (5:30:19) Shallow vs Deep Copying
⌨️ (5:40:07) Context Managers
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
Finally, course which doesn't cover creating variables, and writing loops for the millionth time...
THANKS!
Glad you like it :)
Agree!
Well it's for intermediates Sooo....they should already know that
I think he's being sarcastic ;-;
@@soupnoodles He's definitely not
word of advice to everyone, never name your dictionaries "myDict". Leads to some really awkward scenarios in interviews when you have to explain your code.....
HAHAHAHAHAHAHAHA!
The guy from the video messed alot with his dict
i bet your dict was really big
"So let's say mydict.pop()" 😜
I don't know what's better, these lessons or this comment. XD
I watched the whole thing in about 2 weeks, leaving the browser tab open, and watching 1-2 sections every day. Thanks a lot!
Haha doing the same rn in 2024 :D
I finished this course and I plan to keep it in my playlists as every topic was directly explaining without excessive details. Really enjoyed the course.
Can you send me the link for your playlist? If it's good for beginners
Just finished the lesson. Man was this far more in depth than what I was expecting. I appreciate you teaching us step by step how to make the most of our systems while coding and showing how we can modify functions. This was a great reference that I expect to look back on for a review.
what's next?
Learn python with me
ruclips.net/video/5lLkLi9SAlA/видео.html
@@historyrogue5056 8 buried, 0 found
Really great video for interviews recap! Just want to point out one thing: it is not recommended to "share" value, i.e, memory, in multiprocessing procedure, because it is relatively inefficient to try to access a data from the RAM by different processors at the same time. In order to maximize the ability of the multiprocessing technique, you'll usually split a relatively large dataset into subsets, and hand each of the subsets to different processors and squeeze out all the calculation resource per processor to do whatever complex calculating process you want for the dataset, and finally merge all the sub-results back into the overall result (this is also why people say multiprocessing is for CPU-bound task). Therefore, using "Lock" for avoiding race conditions is actually "mimicking" threading behavior.
That being said, the multiprocessing module provides several data-exchange methods if your "data sharing" situation is actually for cross-process communication, or update a global factor for the rest of the processor to use.
There are a lot of details in the documentation of the python multiprocessing module, I basically just rephrase them with adding some of my experience in using these techniques in real life. Hope it is helpful!
Learn python with me
ruclips.net/video/5lLkLi9SAlA/видео.html
I love the way you're explaining! Decent speed, easy to understand. Perfect! Keep up!
Keep doing the great work, this world needs more of it.
I did a few different python courses and never really understand some of the syntax. I built some projects too and after watching this video I have started to understand a lot more Python. Honestly, this is amazing. Thanks for this, I know I will keep visiting again to recap the concepts. The video is so easy that even a beginner will understand what is happening. It enables someone from beginner level to enter intermediate so easily. I wish I saw this video before!! really hope there is more videos like this. Thank You so much
What sort of projects do you build? I'm in the process of learning all of this stuff, but I have no idea what sort of projects will help me learn further - I have no imagination
Thank you so much for this awesome tutorial! I've been getting bored with all the beginner's python tutorials, and this was right on par with good amount of new materials learned!
I'm really happy you enjoyed it!
I love the way explain things; simple and accurate; directly to the objective. Thank a lot.
Thank you FFC and all the wonderful instructors, for this channel. Exactly what you want to watch.
16 minutes into the video and I already doubled the notes that I have in relation to lists. Thank you so much!
Thank you so much for this. I have started and stopped more Python courses over the last few years than I can count. This is the first where I've gone from start to finish. Great pace, great concept introduction and explanation, you're helped me so much my man.
pace in nice
Love how this course gets straight to the point. Can't wait to finish it. Also, was mind blown that tuples are more efficient than lists. Never would have thought of that.
Was it useful the course?
I'm right at half-way through and I feel like this is some of the most efficient learning I've ever done. I have done 2 or 3 other beginner Python courses before, so I'm pretty set up for this level. I'm hoping the next half is as good as the first.
Keep it up!
Same!
There will be a next one ? Cool !
i think you have enough knowledge to start solving problems.
This was OUTSTANDING! I watched it over about three weeks, when I had time. I learned so much. Next onto Numpy from the same author.
Week 2 of watching this tutorial and I'm almost halfway through. Definitely learning a lot
Thanks so much , its my first time an actual intermediate course is available on search .
Danke Schön!! Awesome video. Even though I have years of professional experience with Python, still I found this video useful. Applauds for the great work.
title: Intermediate python course
first 5 seconds: Hey guys welcome to this advanced python course
this comment made me laugh out loud hahaha
Came here just to comment this lol 😂😂
rest of the course: pretty beginner
whatt?
*10
great job, Patrick! Worthy to follow to the end and to repeat every single step.
Amazing course! The tutor really went to tech topics briefly. Never had this much clarity before.
After a lot of hours of playback this tutorial, i am bit wiser now. I've learned a lot of intermediate stuff about python, i took some notes, hope to find some projects to do and use all this knowledge. Thank you for the great tutorial! Really helps!
Thanks this is gonna help with Interviews, too many basic courses on python, this really helped even for someone like me who has been coding in python since 2015.
That's nice to hear :)
good luck! >:D
You in python group on telegram ?
@@gingertankguy advise to go through the book
www.linuxlinks.com/wp-content/uploads/2019/07/Fundamentals-Computer-Programming-C-Sharp.pdf
I am learning coding on my own and such a book is a shift from a level to another.
@@amraboughazala5986 Thanks for the C# book link...; very deeply appreciated! ;-)
I'm halfway through and it has been very insightful so far. Really great tutorial.
Amazing course! Thank you so much for uploading this!
I really appreciate this channel and fantastic coding mates who support us.
Big applause from Japan 🇯🇵
Thanks in advance... Was waiting for this.
Tremendous! I've watched only the first half-hour so far but I could see from the start that this tutorial is laid out thoughtfully, giving very clear and concise explanations. This old "mainframe" programmer learning Python for fun is looking forward to the rest!
Thank you for this course!!❤️
Whoa. I just finished the beginner tutorial and now this one is up.
We all should should thank this teacher for making this video so understandable and thank free code camp for making it free. Thank you
Awesome tutorial! Really really appreciate your work.
I'm very experienced with Python but i picked up a lot of little tips and improvements from the course. Excellent course, thankyou so much
👍
I will wait for the expert course now.
@@FreeJobClub good by then maybe your english will improve.
@@muhammadaman9010
Goodbye*...
@@parryhotter9333 "Good, by then maybe your english will improve". He was right the first time mate.
@@mikailu8964 no he wasn't, because then he would've used a comma.. mate
@@parryhotter9333 I'm not sure why you're so insistent on their grammar being correct considering they were merely referencing the fact that the beginners course was made 2 years ago. Thus by using pattern recognition of...literally one instance then you can joke the next will be another 2 years.
Nobody was complaining.
Thanks y lot for creating the video!! All examples demonstrated in the video are very useful to understand the coding concepts. Very importantly, instructor Patrick also explained that which datatype is more efficient.
Great content! Very well organized and clear explanantions!!!! Perfect level of detail. Great for the intermediate level! Thank you for your contribution to the Python community!
One of the most helpful videos about Python I watched so far =) Thanks a lot!
Full respect and keep it that way! I am old-school, running Ubuntu (still) on 32bit Intel CPU (as I love it due to stability), and I just ... Adore your tutorials and Python as well as SQL tutorials made me Jr. Full Stack Developer basically. Keep this way and in the name of thousands of hundreds of IT heads here with golden awards from International Championships in coding/ programming and engineering please give us more and more and go with that "normal" language with common sense implemented. Respect for effort and if I have had money to donate I would!
I learn so much concepts that I havent got into depth with Python. Thanks a lot !!
Very good! Clear explanations and straight to the point.
Thanks I was always stuck in between. Thanks alot
Very good tutorial. Finished it in 3 days. Excellent tutorial. Gave me an in-depth understanding of python, and how to optimize prformance using processes like multithreading and multiprocessing
Hi! I am watching this tutorial now. I have some misunderstanding in some topics, Could I disscuss with you?
I am going to use this as an everyday guide for when I am building apps, or just messing around with Python.
Great tutorial. THANKS
The way he rolls his tongue when he says "lock" is so off putting! :D
Good job on the tutorial, great stuff!
I will wait for the expert course now!!!
This course is perfect!! I'm currently watching the beginner's python tutorial (7 hours of 13 hours). After I get my certification, I will start this course.
This is so incredibly helpful thank you so much!
You helped me understand Python much better - great demo of the fundamentals of much of the magic
Waiting for the expert course!
Thank you for such amazing content!!!
Glad you like the content :)
Every time he said "my dict" i chuckled like a kid in grade school
I'm 33
Who didnt. I mean del(ete) my dict ...
I'm Juan
♫ ♬ my dict is bigger than yours, your dict don't even function ♫ ♬
Same xD
@@TheMaestroGuy bruh
Thank you for your time and effort Patrick this video was just perfect it really helped me to better understand python but I wish for future videos you would consider using some sort of zooming really would be great
someone who even taught us about errors and exceptions. Thanks for this great video !
I don't what RUclips do but i get the recommended video, exact as i needed 🔥🔥
Google is watching us all :D :P
that's machine learning for you
For anyone new to Python who is curious, There's a way to shorten checking whether or not an element is in a list/tuple. Instead of
if "banana" in mylist:
print("yes")
else:
print("no")
, you can just use
print("banana" in mylist).
good tip!
lol, but the result is different
first gives you "yes" or "no"
second True or False
If you specifically wanted to print 'yes' or 'no', you could also shorten it by using ternary operators: print('yes') if 'banana' in mylist else print('no')
This prints the bool tho, not yes or no
I honestly thought it would give back an error if there is no banana
Wow! thank you for this wonderful course, I'm surprised that you make all of these amazing videos for free.
Thank you for this tutorial, man!
Neither watched the video but I already push the LIKE button!!!👏👏👏
Thanks for this wonderful free course. I really appreciate it.
I feel the logging topic could have been better if it was slowly introduced in terms of it's importance and application to software development.
Nonetheless, good job!
I get an error in the last part. Would you have any idea how I can solve this? I tried to google it, it was challenging to find for me.
Traceback (most recent call last):
File "/Users/Jeroen/PycharmProjects/pythonProject/IntermediateCourse/10_logging_3.py", line 6, in
logging.config.fileConfig('logging.conf') #load the config file
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/logging/config.py", line 80, in fileConfig
_install_loggers(cp, handlers, disable_existing_loggers)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/logging/config.py", line 227, in _install_loggers
section = cp["logger_%s" % log]
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/configparser.py", line 963, in __getitem__
raise KeyError(key)
KeyError: 'logger_simpleExample #define root and simpleExample logger'
Seriously I don't even know what to do with the Logging, and because of that, I still can't understand it
@@jahmovementempaya1084 IMO 1) the most important use of Logging is to print the output into a file, which you cannot do with a normal print() statement. Also, logging is lightweight compared to pandas.export_to_csv() etc. 2) the second import use case is by managing the log levels (DEBUG, INFO, WARNING, etc.). For example: you might want to print onto console only the necessary output and hence you can set streamhandler to warning level (and above); on the other hand you might want to print every output onto a file and hence you can set filehandler to debug (and above).
The simplest technique is to start replacing print statements with loggers and you will see the benefits
Yeah same here
Extremely useful Python course. Thanks for sharing!!
Superb !! Must watch python enthusiast. Thank you for creating this.
Thank you! such a great valuable course... waiting for the Expert Python Programming Course
Glad you like it!
@@patloeber Thanks!
@@patloeber Thank you very much !
Thank you so much I was looping in to open and load 2 files then find what are the common values in both files and by loading it to a set it reduced the time from 12+ sec's to surprisingly 0.013 :D
Thank you so much this is just what I was looking for.
Wow, I haven't had much time yet to see it all but just by scrolling through I have already seen a great value in this. Thanks!
Can't wait for the advanced python course :)
chat.whatsapp.com/HpMxp1vdERUFVxbamKRC4L
This group is for python language beginners , intermediate and experts. ....for interactive learning and clearing each others doubts
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Intro
⌨️ (0:00:56) Lists
⌨️ (0:16:30) Tuples
⌨️ (0:29:49) Dictionaries
⌨️ (0:42:40) Sets
⌨️ (0:58:44) Strings
⌨️ (1:22:50) Collections
⌨️ (1:36:43) Itertools
⌨️ (1:51:50) Lambda Functions
⌨️ (2:04:03) Exceptions and Errors
⌨️ (2:20:10) Logging
⌨️ (2:42:20) JSON
⌨️ (2:59:42) Random Numbers
⌨️ (3:14:23) Decorators
⌨️ (3:35:32) Generators
⌨️ (3:53:29) Threading vs Multiprocessing
⌨️ (4:07:59) Multithreading
⌨️ (4:31:05) Multiprocessing
⌨️ (4:53:26) Function Arguments
⌨️ (5:17:28) The Asterisk (*) Operator
⌨️ (5:30:19) Shallow vs Deep Copying
⌨️ (5:40:07) Context Managers
there are timestamps built into the video
The Logging explanation was really bad
Noice😌
Appreciate this !! real intermediate stuff!
In the common video for multiprocessing,
we used p.join() and t.join()
but later when we had separate videos for threads and multiprocessing in the queues example,
we didn't use t.join() but used q.join()
while in the multiprocessing example we used p.join() as well as "while not q.empty()" which is replacing the q.join()
What is the difference?
A thing to notice:
A list (set, tuple, or dict) that contains objects can't be copied with just copy() function. (It can be, but you will only copy references to objects, not objects itself)
So modification of an object in one list will affect another.
deepcopy function should be used for this king of copying.
'king of copying' ? How very true
@@olegmakarov7877I think he meant 'kind of copying'
It’s really a satisfaction to see lectures about programming
This course is hella underrated. Deserves many more views!
give yourself more time to explore some of these topics in your own perspective. figure out how you learn. learn to google -> learn the basics -> learn basics of OOP (classes / attributes / methods / inheritance) -> learn about modules / libraries / packages -> learn to use the help() function & how to read documentation -> then come to this video. appreciate the overview, get the names of the things you need to know -> give yourself more time to explore these topics in your own perspective .... and the cycle continues.
Finally the quality is fixed 👌
Thx FCC
Learnt a lot from this video, thank you so much Patrick and freeCodeCamp!
estou quase acabando o curso, estou em threading, coisa mais útil do universo, obrigado a vcs por terem disponibilizado esse conteúdo incrivel
It went smoothly till logging, Json. Bit
Could have some more elaboration on what it is and what we use for. Generally it's easier to remember when you understand usage of something. You guys done a great load of job with those courses
Thanku Soo much free code camp team..I learned SQL and python from this ..I just love the explanation and it excites me to learn more from you... please can you make video on competitive programming through python.. there are no video on CP through python..
Thanks so much for sharing this tutorial. It's so helpful.
Thanks! Now we need a Advanced Python Programming Course!
I want to ask a question about the example of threads with lock.
Since we have used lock, the 2 threads will not be executed in parallel but sequencely (the 2nd thread waits till the 1st has finished); thus, the use of threads has no sense in this example, am I right ? or I didn't understand well ?
Thanks for this just was searching this an hour ago and you uploaded this🤣🤣😹😹what a timing
I'm glad you like the content :)
this channel is a fucking gem , i am not even kidding , i love yall , thanks for everything !
Hey Patrick , the video was quite helpfull and i really appreciate that
Thanks for uploading such a good content
I can't believe how easy Python is after only coding in C++ and C#. So little text to write in order to achieve things that would've taken x5 more lines of code in C-based languages.
I love how the video link says intermediate python then after clicking I’m greeted with the video displaying “Advanced Python” ha ha.
What's next? An advanced Python video that's actually about obfuscated Python?
you're funny like a snake in the trousers
Is der a difference btn dem?
Hahaha
i learned a a lot from this full course ..thanks soo much for your effort..i advice this course for everyone
Thank you for taking the time to create this
I just started the beginner one
Was feeling good about myself
Then I see this
Practice practice, read official documentation, practice some more
Realize that you learned more then most of your friends in 8 hours and its all free :D good luck in your journey I guess
same
i finished it about 3 weeks ago and jumped to this like wholy fuckt his is complicated
@@reggie7807 practice basics some more, get comfortable with them and then come back to this course
OMG, 6 hours video without any subjects, my stamina can't afford this.
😂😂
I'm only 20 minutes in so far and haven't done anything with coding since 2015. It's nice to see that I'm not completely out of the loop. Thanks for the video! 😁
Thank you for this video. My favorite part was generators, from this I've started building a trading app that will simulate a real one.
Day 1 on the road of Data Scientist, wish me luck guys! :)
@@soupnoodles He may have known the basics. He's looking to become a data scientist so its different
Good luck man!
How are you doing as of today? How's your journey coming along?
how’s it going so far
@@slvzbcq2681 ya
This is really good content,
it goes way faster than the beginner tutorial and I think some constructive feedback would be the way you explain things, some people might think the speed is perfect, but for me honestly it felt like you were reading from a textbook, making no jokes unlike Mike, it was a great learning experience but some things could be changed for the benefit of entertainment while learning
Keep it up !
agree'
I agree, some jokes and a bit more elaboration on a coupla points woulda been nice
This is one of the best tutorials and well explained teaching, im grateful for this
Hello do you have any notices and if yes can you send me. I would be pleased of an answer.
I can't thank you enough for this tutorial. I was able to clear python interview from this course.
Thanks for the video, watched it at 3x. It was a good brush up on practical python usage. Would love to watch an even advanced version of this one 👍
Glad you liked it! Do you have any suggestions that you want to see in an even more advanced course?
@@patloeber yeah I be glad to suggest some - classes overloading with all the __call__, __getitem__ etc functions , logging to stream, sockets, subprocess library, argparse, smtp, and if possible a non usual library like twisted, celery etc.
How you watched at 3x? Did you download this video?
@@hemant05 chrome's video speed control extension
@@deekshantwadhwa OK, thanks. Didn't know about it.
Can't believe the timing on this one. I've just gotten slightly comfortable with using python and was looking to advance my competence with something like this. Thank you for providing this stuff for free. Why don't you bother monetizing it? Such a trivial thing. I wouldn't be bothered at all if the video was disrupted by several ads.
Glad you like the tutorial :)
I am learning from beginning. Where did you practice to get more comfortable with the language?
@@guptajikiladki3496 python (beginners) from this same channel. Its about 4 hours long
You can pay if you want. But we want it for free.