Python Tutorial
Python Tutorial
Basic Python and Linear Algebra Applications
9/7/2016
CIS 519 - Python Tutorial
Installing Python
9/7/2016
CIS 519 - Python Tutorial
2
The Python Interpreter
Which editors are good to use? - Sublime () - Notepad++ ()
9/7/2016
CIS 519 - Python Tutorial
3
Running Python files
9/7/2016
CIS 519 - Python Tutorial
4
Some tutorial
Etc etc, main content. Perhaps:
1. Basics (if, elif, variables, importance of indentation, etc) 2. Importing libraries, examples of good libraries 3. Arrays 4. Matrices
[, ]
9/7/2016
CIS 519 - Python Tutorial
5
REPL
Read Evaluate Print Loop (AKA an interpreter)
Get information with dir(),help(),type()
A great place to try things out if you are unsure!
source:
9/7/2016
CIS 519 - Python Tutorial
6
Identifiers, names, variables
All 3 mean the same thing Variable naming convention
Functions and variables: lower_with_underscore my_num = 5
Constants: UPPER_WITH_UNDERSCORE SECONDS_PER_MINUTE = 60
source:
9/7/2016
CIS 519 - Python Tutorial
7
Binding
x = 1
source:
9/7/2016
CIS 519 - Python Tutorial
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.