def list_new(t):
 name = raw_input(light_magenta("New list's name: ", rl=True))
 mode = raw_input(light_magenta("New list's mode (public/private): ", rl=True))
 description = raw_input(light_magenta("New list's description: ", rl=True))
 try:
  t.lists.create(name=name, mode=mode, description=description)
  printNicely(green((name + ' list is created.')))
 except:
  debug_option()
  printNicely(red('Oops something is wrong with Twitter :('))

def list_new ( t ) : name = raw_input ( light_magenta ( "New list's name: " , rl = True ) ) mode = raw_input ( light_magenta ( "New list's mode (public/private): " , rl = True ) ) description = raw_input ( light_magenta ( "New list's description: " , rl = True ) ) try : t . lists . create ( name = name , mode = mode , description = description ) printNicely ( green ( ( name + ' list is created.' ) ) ) except : debug_option ( ) printNicely ( red ( 'Oops something is wrong with Twitter :(' ) )
create a new list .