annika-w
5/30/2017 - 2:33 PM

Python Modules and Packages

Usage of some standard packages.

import time

time.sleep(5)   # 5 seconds
import logging

logging.basicConfig(filename='file.log', level=logging.DEBUG)
logging.info(info_to_print)