Presentation is loading. Please wait.

Presentation is loading. Please wait.

Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center Windows Python Tutorial Kurt Schwehr Jan 2007.

Similar presentations


Presentation on theme: "Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center Windows Python Tutorial Kurt Schwehr Jan 2007."— Presentation transcript:

1 Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center Windows Python Tutorial Kurt Schwehr Jan 2007

2 Day 1 Introduction and Basic Mechanics Installing python and a source code editor Editing and running script files Using the IPython shell Basic python concepts

3 Class website: http://vislab-ccom.unh.edu/~schwehr/Classes

4 Python Homepage http://python.org

5 Online documentation

6 http://docs.python.org/tuthttp://docs.python.org/tut/

7 Books http://diveintopython.org

8 Videos

9 Installing python

10 Download and install the big package

11 What you get

12 You can use dos

13

14 Exit with Ctrl-D or Ctrl-Z

15 Cygwin is also good Challenge is getting all the packages installed

16 Start ipython!

17 What is ipython?

18 IPython: an Enhanced Python Shell

19 Get started with IPython

20 We need to be able to save & run scripts

21 Start SciTE

22 Initial ScitTE view

23 Ex01 - hellow world

24 Saving a file in SciTE

25 Running ex01.py

26 Basic string operations

27 Getting help with the ‘tab’ key

28 More string operations

29 Lists are created with [ ]

30 The math module

31 Getting help on functions

32 More help

33 from math import *

34 If tests and indentation matters

35 for loops

36 Matplot lib

37 1st plot

38 2nd plot

39


Download ppt "Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center Windows Python Tutorial Kurt Schwehr Jan 2007."

Similar presentations


Ads by Google