Skip to content
Tiago Duarte da Silva edited this page Mar 11, 2021 · 5 revisions

Workshop: Introduction to Python 3

Contents

  1. Interpreter
  2. Variables
  3. Data Types
  4. Flow Control
  5. Data Structures
  6. Iteration
  7. Functions
  8. Comprehensions and Generators
  9. Decorators
  10. Object Oriented Programming
  11. Modules

Exercises and Solutions

  1. Exercises
  2. Solutions
  3. OOP Exercises
  4. OOP Solutions

Presentation

Our presentation was built using remark, and you can open it here

Recommended IDEs

  • Spyder/Anaconda: Installs python and various modules for you, recommended for an easier setup.
  • VS Code: Requires the manual installation of the most recent version of Python 3. Please refer to Python in VS Code for more detailed instructions. We recommend the Code Runner extension (present on the website listed above). If you use this extension and wish to input to the terminal, go to File > Settings > Extensions > Code Runner configuration > check "Run in Terminal".
  • Vim: Vim8 or NeoVim prefered. Only use if you are familiar with Vim. Recommended extensions: coc, coc-python (node.js required for both).

If you don't want to install Python and/or an IDE you can also use websites that interpret Python code, such as online-python.com.

Other Resources

Authors

  • João Costa (@joaocostaifg)
  • João Lucas (@joaolucasmartins)
  • Tiago Silva (@tiagodusilva)