Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 31-Oct-2006 A Python Tutorial Kurt Schwehr 31 Oct 2006.

Slides:



Advertisements
Similar presentations
Document Title Document Subtitle. Page 2 Divider 1 if Needed Subtitle if any.
Advertisements

Media Center Essential Question How can I be an effective user of information?
An Introduction to Word Processing and Microsoft Word.
Python Basics: Statements Expressions Loops Strings Functions.
Visual Basic for Applications. What it does Extends the features and built in functions of Excel – Create and run VB procedures – Some may be easy to.
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center Windows Python Tutorial Kurt Schwehr Jan 2007.
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 31-Oct-2006 A Python Tutorial Kurt Schwehr 31 Oct 2006.
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center Windows Python Tutorial Kurt Schwehr Jan 2007.
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 13-Mar-2007 A Python Tutorial Part 2 Kurt Schwehr 13 Mar 2007.
Script Languages in Science CCOM Student Seminar Series Kurt Schwehr 12-Nov-2008.
Google Earth Part 2 Kurt Schwehr 28-Oct Getting the Google Earth lectures
MENTAL MATH Adding Facts to = = =
Microsoft Excel 2010 Test. Test question 1 To start Key Tips, you press which of the following keys? (Pick one answer.) Make the switch to Excel 2010.
Introduction to Python: Slides Referenced in Homework 0 CSE-391: Artificial Intelligence University of Pennsylvania Matt Huenerfauth January 2005.
Structure of program You must start with a module import# You must then encapsulate any while loop in a main function at the start of the program Then.
1 Introduction to PHP. 2 What is this “PHP” thing? Official description: “PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open Source.
Converting © Math As A Second Language All Rights Reserved next Fractions to Decimals.
2006 GIS Jam: ArcGIS Python Scripting
MODELLER hands-on Ben Webb, Sali Lab, UC San Francisco Maya Topf, Birkbeck College, London.
Python: An Introduction
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 31-Oct-2006 A Python Tutorial Kurt Schwehr 31 Oct 2006.
MICROSOFT WORD TRAINING Lesson 1. Lesson 1: Getting Familiar with Microsoft Word 2007  Microsoft Word is a word processing software package. You can.
Spreadsheet Basics What is a Spreadsheet? A spreadsheet (or worksheet) is an arrangement of cells in columns and rows used to organize, analyze, calculate,
4 Editing files and Emacs Editing files The Emacs editor.
HONG KONG TAOIST ASSOCIATION WUN TSUEN SCHOOL Microsoft PowerPoint 2010 Chapter 1 – Introduction of PowerPoint.
Adding SubtractingMultiplyingDividingMiscellaneous.
Budget Distribution Upload Job New process: DUBC (Distribute University Budget to CCC) and DUER (Distribute University Estimated Revenue to CCC)
Last Week Modules Save functions to a file, e.g., filename.py The file filename.py is a module We can use the functions in filename.py by importing it.
Formatting Output. Line Endings By now, you’ve noticed that the print( ) function will automatically print out a new line after passing all of the arguments.
Title of Presentation Student names Teacher name Class period Any graphic that enhances your presentation All students in group complete this slide.
Interactive Notebook Guide. PageTitle 247Unit 8 Title Page Vocab Pocket Standards Checklist & Concept Map Adding Integers Subtracting.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Midterm Exam Topics (Prof. Chang's section) CMSC 201.
Compsci 101.2, Fall Plan for WEFWOO l Review for exam, studying and practicing for exams and APTs in Compsci 101  Why memorization doesn't help.
Microsoft Project – Tutorial 6 Working with Excel as Microsoft Project uses many sheets for entering and working with data, it is fairly easy to import.
Turtle Graphics Lesson 2 1. There are 3 homeworks to complete during the six lessons of this unit. Your teacher will let you know when a homework has.
Dictionaries and File I/O George Mason University.
NXT File System Just like we’re able to store multiple programs and sound files to the NXT, we can store text files that contain information we specify.
Fun Fact: Python is not named for the snake Rather, it is named for Monty Python’s Flying Circus.
Getting Started With Python Brendan Routledge
1 PowerPoint: Using Breeze to create streaming presentations.
Presentation Title.
QRB 501 Week 3 Learning Team Case Studies Complete the following case studies from Ch. 8 & 9 of Business Math: Case Study 8-3, p. 300 Case Study 9-1, p.
Presentation Title.
Scientific Programming in Python -- Cheat Sheet
Creates the file on disk and opens it for writing
CSC 458– Predictive Analytics I, Fall 2017, Intro. To Python
Formatting Output.
Uncertainty Representation in Hydrographic Surveys and Products
Formatting Output.
Hire Toyota Innova in Delhi for Outstation Tour
SQL – Python and Databases (Continued)
How to Format Your MLA Paper In Google Docs
Escape sequences: Practice using the escape sequences on the code below to see what happens. Try this next code to help you understand the last two sequences.
How to Format Your MLA Paper In Google Docs
Types, Truth, and Expressions (Part 2)
Creates the file on disk and opens it for writing
CSC 458– Predictive Analytics I, Fall 2018, Intro. To Python
Lists in Python Outputting lists.
Group 1 Group 1 Group 1 Group 1 word word word word word word word word word word word word word word word word word word word word word word word.
Math 5-4: Warm-up.
Appending or adding to a file using python
Adding with 9’s.
Adding with 10’s.
Microsoft PowerPoint.
Types, Truth, and Expressions
Adding ____ + 10.
Presentation Title Your information.
Formatting Output.
This is my sheet And this is my sheet.
Presentation transcript:

Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 31-Oct-2006 A Python Tutorial Kurt Schwehr 31 Oct 2006

Where is python on my machine?

Fink for unix software

Fink Commander

Emacs Cheat Sheet

Setting up ~/.emacs

Getting started

Strings

Getting help with the ‘tab’ key

More string operations

Lists are created with [ ]

The math module

Getting help on functions

More help

from math import *

The Decimal module

Converting between strings and numbers

If tests and indentation matters

for loops

Reading a file Adding a comma prevents the extra new line

Reading numbers from a file