title: How to display only the names of the users when opening /etc/group in Python?
body: <p>This is my code:           </p>
  
  <pre><code>grouplist = open("/etc/group" , "r")
  with grouplist as f2:
      with open("group" , "w+") as f1:
      f1.write(f2.read())
      f1.seek(0,0)
      command = f1.read()
      print
      print command
  </code></pre>
  
  <p>What command can I use to make it display only the names of the users without the ":x:1000:"</p>