This is my 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
What command can I use to make it display only the names of the users without the ":x:1000:"
 
     
     
     
    