Skip to content

dfbarrero/pythonCourse

Repository files navigation

Contents

0.- Python crash course

1.- Introduction to Python

2.- Control flow

3.- Data structures

4.- Modules

5.- IO

6.- Errors and exceptions

7.- Object-Oriented Programming in Python

Practical assignments

Notebooks

Compilation

Use xelatex or lualatex as latex processors, otherones would raise a compilation error. Custom UAH fonts are needed to properly compile the project. The original template used to format the slides, including the fonts, can be downloaded from this repository. By default, the theme will use UAH fonts installed in the system, edit the theme to easily change this behaviour.

Manual execution of xelatex or lualatex would generate a compilation error, since the tex documents require a variable containing the course for which the slides are compiled. You should use instead the command make which calls xelatex with the proper variable definition.

Several Makefiles are provided to ease repository management. Make executed from the root folder would compile the entire collections of slides for all the courses, while "make view" would open a PDF viewer with all the complided slides. On the contrary, if make is executed within a subfolder, it would only compile the slided contained in that folder. By default, make compiles the slides for all the courses, while "make course" would build the slides for that course.

The courses for which the slides are compiled are defined in the TARGET variable, in the begining of the Makefiles. The courses details such their names are defined in gsi-parametros.sty, in the root folder.

Credits

This course is based on "The Python Tutorial".