Explore the basics of text data manipulation. Learn techniques to read and write files efficiently, delving into line-by-line and character-by-character parsing to build a strong foundation in handling textual data using Python.
Overview
Syllabus
- Unit 1: Reading Whole Text Files in Python
- Reading and Printing File Content
- Opening and Reading Files in Python
- Enhance File Reading with with
- Read and Display File Content
- Unit 2: Parsing Files Line-by-Line in Python
- Using Readlines for Data Extraction
- Clean Up File Output
- Processing File Lines with Python
- Calculate Average Temperature from File
- Sorting Names from a File
- Unit 3: Working with the read() Method in Python
- Reading the First Ten
- Reading Specific Portions with Read
- Master File Reading Techniques
- Reading Files in Manageable Chunks
- Compare File Reading Methods
- Unit 4: Writing to Files in Python
- Reading and Writing with Python Files
- Read and Sum Random Numbers
- Writing an API Key to File
- Appending Names to Your File
- Calculating Average from File Data