This website contains the learning materials for a 3 part workshop on Python Basics.
This lesson introduces Jupyter notebooks and Python for absolute beginners. If you are completely new to text analysis, this is the place to start. This lesson describes operators, expressions, data types, variables, and basic functions.
This lesson describes the basics of flow control statements including:
if
statementselse
statementselif
statementswhile
and for
loop statementstry
and except
This lesson describes the basics of lists and dictionaries including:
in
and not in
operatorsindex()
, append()
, insert()
, sort()
)update()
, keys()
, values()
, items()
, get()
)Note: The Python Basics Series contains two additional notebook templates. See them and many more Constellate lesson templates in our GitHub repository.
We will show how to teach your own form of Python Basics at your institution using GitHub.