#!/usr/bin/env python3 import twitools try: ato, ase = twitools.twoHelper().authenticate() except: print("Authentication failed.") print("ato=%s" % ato) print("ase=%s" % ase)