⭕ Overview
In this lesson, I'll guide you through writing a Python program to build a list of dictionaries. Each dictionary will represent an employee with keys for the first name, last name, email, and company salary, as shown in a sample table.
We'll start by reading data from a file named `employees.csv` and then constructing a list of dictionaries from this data. Next, I'll show you how to search through this list to find entries that match a given substring in the first name field. Once we find a match, we'll build another list based on these results.
By the end of this tutorial, you'll have a functional Python program that reads data from a CSV file, organizes it into dictionaries, and performs efficient searches, enhancing your data handling and programming skills.
Bug: There’s a bug at 17:35
We need to break out of the loop after line #40 once a match is found, otherwise it could append multiple copies of the same person.
If you find this video helpful, please give it a thumbs up, share it with your friends, and subscribe to my channel for more tutorials and insights into programming. Your support helps me create more content to assist you in your learning journey. Thank you for watching!
⭕ Chapters
0:00 - Introduction
⭕ About me
I am a Web instructor and author for Linkedin Learning (formerly Lynda.com), Packt, E-C Council, Udemy, and MC Press.
⭕ Visit my site: https://christianhur.com
⭕ My complete online training courses:
☑️ REST APIs & AJAX Operations Using Node, Express, and jQuery: https://www.udemy.com/course/rest-api...
☑️ Build Clean and Secure PHP Web Apps From Scratch: https://www.udemy.com/course/build-cl...
☑️ Angular 9 New Features: https://www.packtpub.com/web-developm...
☑️ Full-Stack Web Development with Flask: https://www.packtpub.com/web-developm...
☑️ Full-Stack Web Development with Django & Angular 8: https://www.packtpub.com/web-developm...
☑️ Angular 7 New Features: https://www.packtpub.com/web-developm...
☑️ The DOM in JavaScript, jQuery, AngularJS, and React : / the-dom-in-javascript-jquery-angularjs-and...
☑️ Building JSF Web Applications with Java EE 7: / building-jsf-web-applications-with-java-ee-7
☑️ Troubleshooting Vue.js: https://www.packtpub.com/application-...
⭕ Check out my book:
Developing Business Applications for the Web: With HTML, CSS, JSP, PHP, ASP.NET, and JavaScript is available on Amazon and MC Press.
☑️ Link: https://www.mc-store.com/collections/...
На этой странице сайта вы можете посмотреть видео онлайн Build a Mini Search Engine in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Christian Hur 19 Март 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,871 раз и оно понравилось 26 зрителям. Приятного просмотра!