Importing
External libraries are used with the import [libname] keyword. You can also use from [libname] import [funcname] for individual functions. Here is an example:
import random
from time import clock
randomint = random.randint(1, 100)
>>> print randomint
64