Reading from files in Python, part 2 Problem Solving w/Python Ch 4 Lecture 7
Do you want to learn to code? If you're a beginner, you're in the right place! This video is part of an introductory series that will teach you to program in the popular Python programming language. In this video, we learn how to read a file of any length using a loop, and we look at how looping patterns work with a file, such as totaling values or finding the largest value. This series of videos is suitable for beginners or experienced programmers who want to learn Python. Let's have some fun learning to program with Python! The file reading part 1 video is here: https://youtu.be/00pXsthBfPk The variable roles video is here: https://youtu.be/zsF9sz0hIvI You can purchase the book that goes with this video series here, as an ebook: https://amzn.to/3oiWwOb Or textbook: https://www.barnesandnoble.com/w/problem-solving-with-python-margaret-stone-burke/1129539414?ean=9798986151311 You can practice with the program from this video that reads ice cream flavors from a file here*: https://codecheck.io/files/23082019196t1gig8mncple8sdxbebtqk2l You can practice with the program from this video that counts the instances of "chocolate" in each line of a file here*: https://codecheck.io/files/230820191582vi2i501ra5snvi02icghvat You can practice with the program from this video that finds the child who got the most candy from a file here*: https://codecheck.io/files/23082018369baz0sqwc9ctmvg2h8050dbeb The github repository with all of the code examples for the book and these videos is here: https://github.com/ProfessorBurke/PythonProblemSolving If you want to earn credit for learning to code, take an online course at CCRI! These videos are part of the Programming Concepts course: https://ccri.edu/comp/ *The CodeCheck system courtesy of Cay Horstmann, https://horstmann.com/codecheck/ 00:00 Where we've been and where we're going 00:53 Reading from a file in a loop 07:35 Counting values in a file using a loop 11:42 Reading records from a file in a loop 15:49 Most-wanted holder pattern reading from a file
Download
0 formatsNo download links available.