Intermediate Python Programming Course
Вставка
- Опубліковано 30 чер 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
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
ua-cam.com/video/5lLkLi9SAlA/v-deo.html
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 love the way you're explaining! Decent speed, easy to understand. Perfect! Keep up!
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
ua-cam.com/video/5lLkLi9SAlA/v-deo.html
@@historyrogue5056 8 buried, 0 found
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
I love the way explain things; simple and accurate; directly to the objective. Thank a lot.
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.
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
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!
Thank you FFC and all the wonderful instructors, for this channel. Exactly what you want to watch.
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
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
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?
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! ;-)
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.
16 minutes into the video and I already doubled the notes that I have in relation to lists. Thank you so much!
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.
great job, Patrick! Worthy to follow to the end and to repeat every single step.
Week 2 of watching this tutorial and I'm almost halfway through. Definitely learning a lot
⭐️ 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😌
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
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
Wow, this feels like just what I needed and I only just begun. Thank you very much!
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
👍
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 so much , its my first time an actual intermediate course is available on search .
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.
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 in advance... Was waiting for this.
Amazing course! The tutor really went to tech topics briefly. Never had this much clarity before.
estou quase acabando o curso, estou em threading, coisa mais útil do universo, obrigado a vcs por terem disponibilizado esse conteúdo incrivel
Thank you for this course!!❤️
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?
Amazing course! Thank you so much for uploading this!
Awesome tutorial! Really really appreciate your work.
I really appreciate this channel and fantastic coding mates who support us.
Big applause from Japan 🇯🇵
Whoa. I just finished the beginner tutorial and now this one is up.
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!
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
Thanks I was always stuck in between. Thanks alot
x = len(myDict)
if x > 7:
print("okay")
else:
print("small")
I see what you did there 😂
lmao
Double Meaning eh?
Very good! Clear explanations and straight to the point.
You helped me understand Python much better - great demo of the fundamentals of much of the magic
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
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!
This is so incredibly helpful thank you so much!
I learn so much concepts that I havent got into depth with Python. Thanks a lot !!
One of the most helpful videos about Python I watched so far =) Thanks a lot!
Waiting for the expert course!
Thank you for such amazing content!!!
Glad you like the content :)
Patrick, thank you so much for this excellent video. Should pool be used with a context manager as you did with multiprocessing? Thank you again
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?
We all should should thank this teacher for making this video so understandable and thank free code camp for making it free. Thank you
I'm halfway through and it has been very insightful so far. Really great tutorial.
but my ua-cam.com/video/CMcEw_GT82g/v-deo.html
Thank you so much this is just what I was looking for.
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.
I will wait for the expert course now!!!
Extremely useful Python course. Thanks for sharing!!
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!
Okay, I'm posting this for myself. It's a bit late and I need to get some sleep. So I'll set a bit of a record each time.
Recently stopped
1) March 17, 2021 - 1:42:43
2) March 18, 2021 - 1:48:53
3) March 20, 2021 - 2:04:03
4) March 21, 2021 - 2:10:41
5) March 22, 2021 - 2:20:11
6) March 25, 2021 - 2:30:10
7) March 26, 2021 - 2:34:35
8) March 28, 2021 - 2:42:22
9) March 29, 2021 - 2:48:03
10) March 31, 2021 - 2:55:01
11) April 01, 2021 - 2:59:58
12) April 02, 2021 - 3:04:31
13) April 03, 2021 - 3:08:09
14) April 05, 2021 - 3:12:58
15) April 06, 2021 - 3:19:09
16) April 08, 2021 - 3:23:08
17) April 10, 2021 - 3:26:41
18) April 12, 2021 - 3:29:18
19) May 02, 2021 - 3:30:11
20) May 06, 2021 - 3:35:44
21) May 12, 2021 - 3:36:54
22) May 15, 2021 - 3:41:53
23) May 17, 2021 - 3:50:48
24) May 18, 2021 - 3:54:01
25) May 19, 2021 - 4:15:25
26) May 20, 2021 - 4:31:09
27) May 21, 2021 - 4:41:00
28) May 22, 2021 - 4:53:31
29) May 23, 2021 - 5:10:48
30) May 24, 2021 - 5:18:09
31) May 25, 2021 - 5:55:40
dude's getting really good at coding now uses "{}" out of python
Oh look, a time traveler
Yo where you at?
@@takharamazanpolat7610 I'm in the topic of JSON. I'm almost done with that topic 🤔😅. He was discussing about converting Python objects to JSON (Javascript Object Notation) data. Man, I'm going to need to get a laptop to practice this kind of stuff.
@@USSJ2Otaku3084 u on mobile?
how do you practice without laptop?
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
Superb !! Must watch python enthusiast. Thank you for creating this.
This is really a great course. In Threading lesson at time 4:28:10 if you align q.join() in line 26 with q. put(i) in line 24 then you don't need to use Lock. I didn't use Lock and my threads never mixed up.
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
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.
Thank you for this tutorial, man!
Hey Patrick , the video was quite helpfull and i really appreciate that
Thanks for uploading such a good content
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'
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
Thanks so much for sharing this tutorial. It's so helpful.
Wow! thank you for this wonderful course, I'm surprised that you make all of these amazing videos for free.
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 !
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..
Learnt a lot from this video, thank you so much Patrick and freeCodeCamp!
i learned a a lot from this full course ..thanks soo much for your effort..i advice this course for everyone
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
Neither watched the video but I already push the LIKE button!!!👏👏👏
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!
It was a very useful course for me, I gained many new insights. Thanks a lot!
If this was intermediate what the hell was covered in beginner. How to spell Python
I’m just a beginner (mostly doing my own lectures and coding) but this Intermediate tutorial feels really where I am at.
It’s an amazing content. I really appreciate you help guys.
P.S: I use sublime text but I was just wondering what IDE is he using here?
it's VSCODE
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.
I don't what UA-cam do but i get the recommended video, exact as i needed 🔥🔥
Google is watching us all :D :P
that's machine learning for you
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
Thank you VERY much. It is a very clear and consistent presentation. It clears and answers many questions. Mario. New York.
The way he rolls his tongue when he says "lock" is so off putting! :D
Good job on the tutorial, great stuff!
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.
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
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.
Very concise and precise!!! thank you👍👍👍
It is funny that the beginner Python tutorial has 19Million views and this one not even 300k. Where did all the people go?^^
They didnt continue i am here after passing my PCEP just to see if i miss something
lol XD
Python ate remaining...😀..people
Ikr this ones just as good
I'm a beginner but I went through a few beginner courses and didn't really feel like it was juicy enough. Now this here is great!!!
Finally the quality is fixed 👌
Thx FCC
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! 😁
someone who even taught us about errors and exceptions. Thanks for this great video !
Thanks for this just was searching this an hour ago and you uploaded this🤣🤣😹😹what a timing
I'm glad you like the content :)
very grateful for the teaching though having subtitles would help a lot when going in 1.25/1.5x.