def db_data(): """Return data from a table in the database""" db = Db() data = db.read_data(sys.argv[2]) for returned in data: print returned