This book introduces computer-based modeling of oceanic processes. It contains over twenty practical exercises, using freely available open-Source software, and covers a wide range of topics, from long surface waves to general wind-driven circulation.