def follow():
 t = Twitter(auth=authen())
 screen_name = g['stuff'].split()[0]
 if screen_name.startswith('@'):
  t.friendships.create(screen_name=screen_name[1:], follow=True)
  printNicely(green((('You are following ' + screen_name) + ' now!')))
 else:
  printNicely(red("A name should begin with a '@'"))

def follow ( ) : t = Twitter ( auth = authen ( ) ) screen_name = g [ 'stuff' ] . split ( ) [ 0 ] if screen_name . startswith ( '@' ) : t . friendships . create ( screen_name = screen_name [ 1 : ] , follow = True ) printNicely ( green ( ( ( 'You are following ' + screen_name ) + ' now!' ) ) ) else : printNicely ( red ( "A name should begin with a '@'" ) )
creates a relationship allowing the objects activities to appear in the users stream .