Navigation
index
next
|
previous
|
AMS 129, Fall 2018 0.1.1 documentation
»
Lecture Notes
»
Previous topic
Pandas
Next topic
Recap & Outlook
This Page
Show Source
Quick search
Chapter 5. Python - IO, OS functionality, debugging, OOP
ΒΆ
Recap & Outlook
Reading Materials
Python inputs and outputs
Read and write files
Iterating over a file
File modes
with
statement
Command line input arguments
Exercise
Manipulating OS functionalities using Python
os
module: directory and file manipulation
os.path
: path manipulations
Running Linux commands
glob
: pattern matching on files
sys
module: system-specific information
Exercise
Exception handing and debugging in Python
Exceptions
Catching exceptions
Python debugging
Print statements
pdb debugger
Debugging after an exception occurs
Using pdb from IPython
A short example of object-oriented programming (OOP) in Python
Exercise
Navigation
index
next
|
previous
|
AMS 129, Fall 2018 0.1.1 documentation
»
Lecture Notes
»