LANGUAGE » PYTHON

Module

Importing

python
## Extern modules
import math
from math import sqrt
from math import *

## From project
from . import mymodule

## Python 2.7 prioritize system modules
from __future__ import absolute_import

Common modules

python
import math
print math.sqrt(25)

import random
random.randint(1, 6)