<HTML><HEAD>
<META charset=US-ASCII http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ffffff">
<DIV>Hello all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I know that when you put a comma at the end of a print command,&nbsp;the next printed object&nbsp;will be printed on the same line, separated by a space. Is there a way to do this without the space separation? i.e.:</DIV>
<DIV>&nbsp;</DIV>
<DIV>def mod():</DIV>
<DIV>&nbsp;&nbsp;&nbsp; import msvcrt</DIV>
<DIV>&nbsp;&nbsp;&nbsp; model = msvcrt.getch()</DIV>
<DIV>&nbsp;&nbsp;&nbsp; if model == '1':</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print model(*)</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; model = msvcrt.getch() ##to get the next number</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print model</DIV>
<DIV>&nbsp;</DIV>
<DIV>would output:</DIV>
<DIV>&nbsp;</DIV>
<DIV>12</DIV>
<DIV>&nbsp;</DIV>
<DIV>, printing the numbers one at a time, if '12' were inputed. as it is, the output is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1 2</DIV>
<DIV>&nbsp;</DIV>
<DIV>, which isn't what i want. So in other words: is there a way to provide 'real-time' printing without the space separation?&nbsp; The reason I'm using msvcrt.getch() is because if the number doesn't begin with a 1, then it must be below 10, as the choices are from 2 to 15; which would make it easier (no need to hit enter) to process the choice.</DIV>
<DIV>&nbsp;</DIV>
<DIV>* insert unknown symbol here</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT lang=0 face=Arial size=2 FAMILY="SANSSERIF" PTSIZE="10">Email: dragonfirebane@aol.com<BR>AIM: singingxduck<BR>Programming Python for the fun of it.</FONT></DIV></BODY></HTML>