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.
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.....
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.
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!
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
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.
@@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.
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
@@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.
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.
@@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.
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.
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.
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.
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!
Really nice course, like the other comments mention it's very clear and covers simple but really efficient pieces of code one should know. I have 1 issue though: 1: groupby: when changing the order of the data (persons = [{'name':'Tim', 'age': 25}, {'name':'Rob', 'age': 27},{'name':'Reggie', 'age': 29},{'name':'Lea', 'age': 25}]) they do not get grouped here is the result: 25 [{'name': 'Tim', 'age': 25}] 27 [{'name': 'Rob', 'age': 27}] 29 [{'name': 'Reggie', 'age': 29}] 25 [{'name': 'Lea', 'age': 25}] For info i am using python 3.9.11 Thanks!
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
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.
I watched this video after Python for beginners. I was skeptical to rewatch the List, Tuples, Dictionary and Set section. But it was worth it. learnt many unknown things.
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.
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!
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.
This is perfect for me. I have experience in C# and JavaScript. I need a Python tutorial that skips the basics and jumps right to the practical real-world stuff
The logging explanation in your Python tutorial could be clearer. Consider providing more examples and diving deeper into configuration options for better understanding. Thanks
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
19:09 Starting over with this, got to about halfway last time- quit after the logging section because it made zero sense but here's to finishing it finally.
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'
@@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
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.
To all the new learners like me from python 3.7 Dictionaries are ordered. In previous versions of python dictionaries were unordered and as this video is 3 years old still a great video for python learners just add this little bit of info to your knowledge bucket.
@@user-kw5hm7fq5m Good luck with it! Don't forget to practice, if it's your first programming language. Cause, even for me, who learned C++, it's hard to code on python some basic things that I can on C++. It's like not knowing how to express yourself in other language. Just an advice from student to student. Write some simple apps that do stuff with interesting technologies/libraries, look at other people's projects and try to replicate them yourself or just read their codes. It's definitely mandatory to become a good programmer, in my and many other people's opinion.
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
Hello, sir, I want to add a little bit diff in the code in the lesson about Pool (apply()): result = pool.apply(cube, [numbers[2]]) - it was OK. Thanks for your Course!
great tutorial! but as a first-time learner of python, I think the logging section would require more intro to the topic. I did not understand too much that section.
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?
Great tutorial, finally something non-trivial or focused on topics outside the language (libraries, data science, etc). Regarding multiprocessing.Value and .Array, reading the docs, it seems they come with a lock one can use. Also you should have mentioned, reading and writing is safe, but not read-and-modify (and the lock is needed then).
31:16 You used to call me on my You used to, you used to Yeah You used to call me on my cell phone Late night when you need my love Call me on my cell phone Late night when you need my love And I know when that hotline bling That can only mean one thing I know when that hotline bling That can only mean one thing Ever since I left the city, you Got a reputation for yourself now Everybody knows and I feel left out Girl, you got me down, you got me stressed out 'Cause ever since I left the city, you Started wearing less and goin' out more Glasses of champagne out on the dance floor Hangin' with some girls I've never seen before You used to call me on my cell phone Late night when you need my love Call me on my cell phone Late night when you need my love I know when that hotline bling That can only mean one thing I know when that hotline bling That can only mean one thing Ever since I left the city, you, you, you You and me, we just don't get along You make me feel like I did you wrong Going places where you don't belong Ever since I left the city, you You got exactly what you asked for Running out of pages in your passport Hanging with some girls I've never seen before You used to call me on my cell phone Late night when you need my love Call me on my cell phone Late night when you need my love And I know when that hotline bling That can only mean one thing I know when that hotline bling That can only mean one thing These days, all I do is Wonder if you're bendin' over backwards for someone else Wonder if you're rollin' up a Backwoods for someone else Doing things I taught you, gettin' nasty for someone else You don't need no one else You don't need nobody else, no Why you never alone? Why you always touchin' road? Used to always stay at home, be a good girl You was in the zone Yeah, you should just be yourself Right now, you're someone else You used to call me on my cell phone Late night when you need my love Call me on my cell phone Late night when you need my love And I know when that hotline bling That can only mean one thing I know when that hotline bling That can only mean one thing Ever since I left the city
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!
@@ManishSharma-lm3wg Frontend: HTML, CSS and Javascript (a framework optionally for JS) Backend: you could use Django or Flask, they are frameworks using python for backend. Also, think about a database SQL or NoSQL.
@@ManishSharma-lm3wg Personally, I am still in the learning and don't have a grasp of all the technologies, I learned Python from FreeCodeCamp at first then read the book "Automating the Boring Stuff" which put me on a descent level to learn more complicated topics, then I moved to mobile app dev with Flutter and Dart (still in the process) from RU-vid and Udemy. I am planning to learn HTML/CSS from FreeCodeCamp video and then Vue.Js, the latter I still didn't figure out a resource to learn from. Also, I am planning to learn a python backend framework Flask with Corey Schafer who is a great instructor, one of the best actually, on RU-vid and then learn Flask with MongoDB a NoSQL data base from Udemy.
I can't thank you enough for this tutorial. I'm taking Google Python Automation course. I wish they would have introduced many methods like this before pushing us ahead with limited methods.
Everyone note this, use earphones then speed the video at 2x, you can complete it more earlier. Without earphone at 2x you may have to face some understanding issues. ❤
To anyone finding the 'logging' part of the video difficult , i highly recommend the basic tutorial in the python documentation. it is really useful if u r starting logging
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.
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! 😁
You were really fast to view the original. You must have the bell turned on ;) And yes, the version we uploaded earlier today had a minor editing issue, so we re-uploaded.
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 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.