#!/usr/bin/python from device import Device d = Device() d.open('') d.close()