This guide is separated into the following modules:
File IO and Database
Chapter summary - Unit 3 File I/O: An introduction to file I/O, test files, CSV files, binary files; Exception Handling: handle a single exception, handle multiple exceptions, Two more skills; Work with a database: An introduction to relational databases, SQL statements for data manipulation, SQLite Manager to work with a database, use Python to work with a database File write modes “x” - Create - will create a file, returns an error if the file exist “a” - Append - will create a file if the specified file does not exist “w” - Write - will create a file if the specified file does not exist 1 f = open("myfile.txt", "x") This will create a file object, and operations can be made from the folllowing file object. ...