Friday, January 17, 2014

Plan for First Class

Plan for First Class (Nice & easy for first day)
  • Discuss syllabus
  • Know how to make a PB&J sandwich??
  • Discuss Python
    • What is it?
    • About Python
      • Supported by ESRI
      • Free
      • Platform Independent
      • Easy
      • Interpreted, not compiled
    • Versions
      • Latest version is: 3.3
      • ArcGIS is usually packaged with an earlier version
    • Editors
      • IDLE (freely included with all versions of Python)
    • Requirements
    • Development environments
  • Discuss Example Script
    • View
    • Determine your age

  • In-Class Assignments
    • Edit the script to also print the % of your age lived if your life expectancy is 95 years old.
    • Write an entirely new script that will provide the year born based on age.

  • New Python Topics Today:
    • Variables
    • Numeric types
      • Integer
        • whole integers
        • 32 bits of precision
      • Long
        • whole integers
        • unlimited precision
      • Float
        • decimals
        • precision based on hardware
    • Numeric operations
      • +, -, /, *
    • Printing to the screen
    • Executing programs

No comments:

Post a Comment