Introduction to Python
Workshop Schedule, 8/15/18 | |
---|---|
9:45 | Presenter Introduction ::: Ed Mondragon |
9:50 | Python Introduction (reasoning) ::: Reasons for learning Python ::: Python-Java comparison ::: Interpreted vs. Compiled Knowledge Check ::: Python Quiz |
Python IDE Introduction ::: << open Python IDE on PC >> |
|
Python Basics Output ::: [ print ] Variables & Data Types :::::: Number [int : float : complex ] :::::: String (text) :::::: List (mutable array structure) :::::: Tuple (immutable array structure) :::::: Dictionary (mutable array structure with keys and values) Arithmetic Operators ::: Addition ( + ) ::: Subtraction ( - ) ::: Multiplication ( * ) ::: Division ( / ) ::: Exponents ( ** ) ::: Modulus ( % ) |
|
11:15 | Lunch (1 hr) |
12:15 | Python Basics (continued) String Formatting (suggested) ::: print ('{} {}'.format('text', 3)) String Formatting (OLD) ::: print ('text %s int %d float %f' % ('Joe', 10, 3.7) User Input ::: [ input() ] Conditionals ::: ( if : elif : else ) Loops ::: ( for : while ) |
Interactive Computer Simulation ::: Compute-It |
|
1:45 | Break (15 min) |
Python Basics (continued) Functions ::: [ def name(): ] Random Numbers ::: [ import ] |
|
Interactive Game Dev: Number Guessing Game | |
Knowledge Check ::: Python Quiz |
|
Pycharm Edu Introduction ::: built-in tutorial |
|
3:15 | Wrap Up: Take Aways ::: Workshop Survey |
Python Resources | |
---|---|
Learn Python Programming | Learn Python 3.6 for Total Beginners (free) |
LearnPython.org | Python - Pluralsight.com |
Fundamentals of Python Programming - Draft Richard L. Halterman |
Learning to Program with Python - Help Univ. of Kentucky |
Code Comparison: Hello World in Java and Python
Related Resources | |
---|---|
Google Python Class (FREE) |
Online Python Course (FREE with quizzes & exercises) |
CodeHS Teacher Professional Development (FREE) |
MIT Introductory Programming Courses (fee/free) |
Computer Science Teacher Association (FREE membership & PD) |
Cyber Teacher Association (FREE membership & PD) |
micro:bit handheld programmable computer |
Mobile CSP AP CS Principles course |
NSA Day of Cyber (FREE cyber security activity) |
Microsoft + Education Free Resources |
PhET Interactive Simulations (Science & Math Simulations) |
Python Tutorial code examples with IDE |
Raspberry Pi small, programmable computer |
Turtle Programming in Python GeeksforGeeks CS portal |