<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, I am new to python and need a little help. I 
am trying to write to a file but wich i can the only problem that I have is that 
Each raw_input I want to write to a seperate line so that it will print on the 
screen like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kevin</FONT></DIV>
<DIV><FONT face=Arial size=2>27</FONT></DIV>
<DIV><FONT face=Arial size=2>Male</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>right now it just prints to the screen like 
this:</FONT></DIV>
<DIV><FONT face=Arial size=2>Kevin27Male </FONT></DIV>
<DIV><FONT face=Arial size=2>here is the code that I did:</FONT></DIV>
<DIV><FONT face=Arial size=2>NAME = raw_input("What is your name? ")<BR>AGE = 
raw_input ("What is your age? ")<BR>SEX = raw_input ("What is your sex? 
")</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>player = open("name.plr", 'w')<BR>player.write 
(NAME)<BR>player.write (AGE)<BR>player.write 
(SEX)<BR>player.close()</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>player = open("name.plr", 'r')<BR>line = 
player.readline()<BR>player.close()</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>print line</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for any help </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kevin</FONT></DIV></BODY></HTML>