title: python return two dictionaries
body: <p>I am trying to return two dictionaries. person_to_friends and person_to_networks are given functions, and profiles_file is a text file.
  What I wrote is:</p>
  <pre><code>def load_profiles(profiles_file, person_to_friends, person_to_networks):
      &quot;&quot;&quot;
      (file, dict of {str : list of strs}, dict of {str : list of strs}) -&gt; NoneType
      Update person to friends and person to networks dictionaries to include
      the data in open file.
      &quot;&quot;&quot;
      profiles_file = open('data.txt', 'r')
      person_to_friends = person_to_friends(profiles_file)
      person_to_networks = person_to_networks(profiles_file)    
      return person_to_friends, person_to_networks
  </code></pre>
  <p>This only gives me person_to_friends dictionary..Could anyone can help this problem?</p>
  <p>What I want to return is</p>
  <blockquote>
  <p>{person_to_friends}</p>
  <p>{person_to_networks}</p>
  </blockquote>