Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> for person in a:
- print('_' * 50)
- 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
- print('( {0} | {1})'.format(person.get_gender(), person.get_email()))
- friend_emails = person.get_friends_list()
- friend_names = []
- for _x in friend_emails:
- friend_names.append(from_email_to_name(a, _x))
- print('- {0}'.format(person.get_status()))
- print('- Friends ({0})'.format(str(len(friend_names))))
- for _x in friend_names:
- print('\t' + _x)
- __________________________________________________
- Fox Mulder
- ( m | fox@findthetruth.com)
- - The truth is out there!
- - Friends (1)
- Tony Stark
- __________________________________________________
- Tony Stark
- ( m | tony@ironman.com)
- - Saving the world is hard work - no time for friends.
- - Friends (0)
- __________________________________________________
- Phil Dunphy
- ( m | phil@dunphy.com)
- - wtf? = why the face?
- - Friends (2)
- Robbie Gray
- Fox Mulder
- __________________________________________________
- John Mayer
- ( m | john@guitar.com)
- - Waiting on the world to change!
- - Friends (2)
- Katy Perry
- David Guetta
- __________________________________________________
- Katy Perry
- ( f | katy@perry.com)
- - Waiting on John to change.
- - Friends (3)
- John Mayer
- David Guetta
- Jimmy Fallon
- __________________________________________________
- David Guetta
- ( m | dguetta@willworkwithanyone.org)
- - Will collaborate with anyone who has a heartbeat.
- - Friends (5)
- Katy Perry
- John Mayer
- Tony Stark
- Fox Mulder
- Robbie Gray
- __________________________________________________
- Jimmy Fallon
- ( m | jimmy@tonightshow.com)
- - I wish I was as good as Letterman, thank goodness he's retiring.
- - Friends (2)
- Robbie Gray
- Tony Stark
- __________________________________________________
- Robbie Gray
- ( m | robbie@football.com)
- - Training hard... can we win? Yes we Ken!
- - Friends (4)
- Jimmy Fallon
- Fox Mulder
- John Mayer
- Tony Stark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement