Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2017
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.97 KB | None | 0 0
  1. >>> for person in a:
  2.     print('_' * 50)
  3.     print(from_email_to_name(a, person.get_email()), end='\r')#not the most logical way to do it but im lazy and the function structures the output well
  4.     print('( {0} | {1})'.format(person.get_gender(), person.get_email()))
  5.     friend_emails = person.get_friends_list()
  6.     friend_names = []
  7.     for _x in friend_emails:
  8.         friend_names.append(from_email_to_name(a, _x))
  9.     print('- {0}'.format(person.get_status()))
  10.     print('- Friends ({0})'.format(str(len(friend_names))))
  11.     for _x in friend_names:
  12.         print('\t' + _x)
  13.  
  14.        
  15. __________________________________________________
  16. Fox Mulder
  17. ( m | fox@findthetruth.com)
  18. - The truth is out there!
  19. - Friends (1)
  20.     Tony Stark
  21. __________________________________________________
  22. Tony Stark
  23. ( m | tony@ironman.com)
  24. - Saving the world is hard work - no time for friends.
  25. - Friends (0)
  26. __________________________________________________
  27. Phil Dunphy
  28. ( m | phil@dunphy.com)
  29. - wtf? = why the face?
  30. - Friends (2)
  31.     Robbie Gray
  32.     Fox Mulder
  33. __________________________________________________
  34. John Mayer
  35. ( m | john@guitar.com)
  36. - Waiting on the world to change!
  37. - Friends (2)
  38.     Katy Perry
  39.     David Guetta
  40. __________________________________________________
  41. Katy Perry
  42. ( f | katy@perry.com)
  43. - Waiting on John to change.
  44. - Friends (3)
  45.     John Mayer
  46.     David Guetta
  47.     Jimmy Fallon
  48. __________________________________________________
  49. David Guetta
  50. ( m | dguetta@willworkwithanyone.org)
  51. - Will collaborate with anyone who has a heartbeat.
  52. - Friends (5)
  53.     Katy Perry
  54.     John Mayer
  55.     Tony Stark
  56.     Fox Mulder
  57.     Robbie Gray
  58. __________________________________________________
  59. Jimmy Fallon
  60. ( m | jimmy@tonightshow.com)
  61. - I wish I was as good as Letterman, thank goodness he's retiring.
  62. - Friends (2)
  63.     Robbie Gray
  64.     Tony Stark
  65. __________________________________________________
  66. Robbie Gray
  67. ( m | robbie@football.com)
  68. - Training hard... can we win?  Yes we Ken!
  69. - Friends (4)
  70.     Jimmy Fallon
  71.     Fox Mulder
  72.     John Mayer
  73.     Tony Stark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement