Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 32: |
Line 32: |
| * One of the langauges for science (national weather services, NASA, genomics reseachers) | | * One of the langauges for science (national weather services, NASA, genomics reseachers) |
| * ''Python really shines when it comes to dealing with data and with the web.'' | | * ''Python really shines when it comes to dealing with data and with the web.'' |
|
| |
|
| |
| ==== Looking back: where did this course come from? ====
| |
|
| |
| * [[Community Data Science Workshops]]
| |
| * [[Community Data Science Course (Spring 2015)]]
| |
|
| |
|
|
| |
|
| ==== Looking ahead: other tools of the trade ==== | | ==== Looking ahead: other tools of the trade ==== |
|
| |
| * ''MySQL'' | | * ''MySQL'' |
| * ''Jupyter notebooks'' | | * ''Jupyter notebooks'' |
Line 47: |
Line 40: |
|
| |
|
| == Part 2: Basic Python concepts == | | == Part 2: Basic Python concepts == |
| ;Interactive
| |
| *math
| |
| :*addition
| |
| :*subtraction
| |
| :*multiplication
| |
| :*division
| |
| *types (int and float)
| |
| *variables
| |
| :*assignment
| |
| :*types
| |
| :*naming
| |
| *types (booleans)
| |
| :*equals, not equals, gt, lt
| |
| :*evaluate single
| |
| :*type
| |
| :*evaluate multiple
| |
| *types (string)
| |
| :*strings vs numbers
| |
| :*quoting and escaping
| |
| :*concatenation (same type, different types)
| |
| :*char position
| |
| :*length
| |
| *functions
| |
| :*type again
| |
| :*exit
| |
| :*help
| |
| :*common string functions (upper, lower, index)
| |
| :*string operators (in)
| |
| :*print
| |
| *if statements
| |
| :*indenting
| |
| :*compound conditionals
| |
| :*variable vs literal evaluation
| |
| :*changing variables conditionally
| |
| :*else, elif
| |
|
| |
|
| |
|
| ;File
| | * ''from tutorial'' |
| *python vs ipython | |
| *comments
| |
| *printing
| |
| *:single line printing
| |
| *:newlines
| |
| *:multiline printing
| |
| *:advanced if/then example
| |
|
| |
|
|
| |
|
| [[Category:DS4UX_(Spring_2016)]] | | [[Category:DS4UX_(Spring_2016)]] |