def list_topics():
 pubsub_client = pubsub.Client()
 for topic in pubsub_client.list_topics():
  print topic.name

def list_topics ( ) : pubsub_client = pubsub . Client ( ) for topic in pubsub_client . list_topics ( ) : print topic . name
list topics .