Daily Archives: 2018-11-12

6. Web Applications

- - Comments Off on 6. Web Applications

Django is a free and open source web framework which allows us to map a requested URL from a user to the code that’s meant to handle that request. Virtual Environment or “venv” allows you to have a virtual installation of Python and packages on your computer. This allows you...

2. Hello World

- - Comments Off on 2. Hello World

Local Python interpreters can execute lines of code as you input them – for example, on a Mac from Terminal you may run the command ‘python3’, which will load the Python version 3 interpreter. Input math functions [cc lang=”python” width=”100%” height=”100%”] 2 + 2 [/cc] Output [cc lang=”python” width=”100%” height=”100%”]...

1. Data Types

- - Comments Off on 1. Data Types

This is a list of datatypes along with their short name and examples of how to use them: [table id=1 /] Numbers Once we have our Python environment setup we can execute numerical calculations and obtain their results Addition 4 + 4 = 8 Multiplication 2 * 2 = 4...