Files—Input & Output
- NumPy: Reading and writing files
- NumPy: Input and output
- PDA 6 (Pandas): Data Loading, Storage, and File Formats
- MATLAB: Data Import and Export
- digital representation of data
Concepts
- what is a file?
- what is a file type?
- encoding/decoding as bytes (binary)
- importing/exporting data using NumPy, Pandas, and MATLAB
demo
- week04demo.ipynb (right-click to download)
exercises: easier
exercises: more challenging
fun and challenging
- XOR decryption from Project Euler (problem 59)
- a sample solution: pe059.py