Author: wez

IP Calculator

- - Comments Off on IP Calculator

This application takes the input of a network address at ‘ipCalc’ (ie: 10.255.200.200/14), and outputs the classification of the network, along with it’s start and stop IP, broadcast IP, and number of assignable IP addresses within the range. 12345678910111213141516171819202122232425262728293031323334353637383940414243import ipaddress import sys def ipCalc(targetIP):     try:      ...

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 12 + 2 Output 14 Input print function 123456# The print command echos...

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: 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 Division 5 /...