2014 Python lecture. Part I
The introduction to Python I'm giving at IA-UNAM is accessible here:
https://github.com/Morisset/Python-lectures-Notebooks/blob/master/Notebooks/intro_Python.ipynb
I will modify this notebook during the lecture (August 2014), so reload it to have the latest version.
The topics of this first lecture are:
- Using python as a calculator
- assignments
- comments
- types
- complex numbers
- booleans
- printing strings
- strings
- Tuples, lists and dictionaries
- Blocks
- List and dictionary comprehension
- Functions, procedures
- Scripting
- Importing libraries
ipython notebook
It should open a new tab in your web browser, with the list of ipynb files in the directory. Click on the one you want, will open a new tab similar to the first one, but this one is executed on YOUR computer, it means you are able to interact with the commands. You can change the commands, and execute a cell by SHIFT-ENTER. You can add comments in new cells, and save the result.
Any comments are welcome.
No comments:
Post a Comment