#NEWLINE# def users( self , args ) : #NEWLINE# #INDENT# response = self . _users ( ) #NEWLINE# users = response [ 'users' ] #NEWLINE# print ( '{:<36} {:<24} {:<30} {:<19} {:<8} {:19}' . format ( 'USER ID' , 'NAME' , 'LOGIN' , 'CREATE TIME' , 'PROVIDER' , 'TEXT' ) ) #NEWLINE# tz = pytz . timezone ( args . timezone ) #NEWLINE# for user in users : #NEWLINE# #INDENT# create_time = datetime . strptime ( user [ 'createTime' ] , '%Y-%m-%dT%H:%M:%S.%fZ' ) #NEWLINE# print ( '{} {:<24} {:<30} {:<19} {:<8} {}' . format ( user [ 'id' ] , user [ 'name' ] , user [ 'login' ] , create_time . replace ( tzinfo = pytz . UTC ) . astimezone ( tz ) . strftime ( '%Y/%m/%d %H:%M:%S' ) , user [ 'provider' ] , user [ 'text' ] ) )