[Tutor] print output

2009-04-16 Thread mbikinyi brat
  Dear ALL, I have defined variables as below and when I call them using the print function, I have something discontinous as in pink colour. How do I call it so that my output should be as in blue >>> counter=101 >>> miles=1000 >>> name="joe" >>> print counter 101 >>> print miles 1000 >>> print

Re: [Tutor] print output

2009-04-16 Thread vishwajeet singh
try this print str(counter) + "\n" + str(miles) + "\n"+ name On Thu, Apr 16, 2009 at 11:24 PM, mbikinyi brat wrote: > ** > *Dear ALL,* > I have defined variables as below and when I call them using the print > function, I have something discontinous as in pink colour. How do I call it > so that m

Re: [Tutor] print output

2009-04-16 Thread Dave Angel
mbikinyi brat wrote: Dear ALL, I have defined variables as below and when I call them using the print function, I have something discontinous as in pink colour. How do I call it so that my output should be as in blue counter=101 miles=1000 name="joe" print counter

Re: [Tutor] print output

2009-04-16 Thread Alan Gauld
"mbikinyi brat" wrote I have defined variables as below and when I call them using the print function, I have something discontinous as in pink colour. How do I call it so that my output should be as in blue print counter 101 print miles 1000 print name joe This is because you are u

[Tutor] Print Output Location in Windows XP

2005-09-02 Thread Tom Strickland
Up until now I have been running my Python programs in Linux. I just wrote one in Windows XP and I can't find the print output. The Python program has a print statement, and when I run the program a black window opens and I can see printing going on. However, when it's finished printing, the ou

Re: [Tutor] Print Output Location in Windows XP

2005-09-02 Thread Daniel Watkins
On Sat, 2005-09-03 at 03:30 +0100, Tom Strickland wrote: > > How do I get the output window to stay open, or where is the output > stored? You can open up a command prompt before running the program, which will allow you to see the output as the program runs. You get to this by 'Start > Run..' or

Re: [Tutor] Print Output Location in Windows XP

2005-09-02 Thread geon
Tom Strickland napsal(a): >Up until now I have been running my Python programs in Linux. I just >wrote one in Windows XP and I can't find the print output. The Python >program has a print statement, and when I run the program a black window >opens and I can see printing going on. However, when

Re: [Tutor] Print Output Location in Windows XP

2005-09-02 Thread Will Harris
Something I do is like raw_input("\n\nPress enter to exit.") at the end, this works if all you want to do is see the text on the screen. Tom Strickland wrote: >Up until now I have been running my Python programs in Linux. I just >wrote one in Windows XP and I can't find the print output. The P

Re: [Tutor] Print Output Location in Windows XP

2005-09-03 Thread Alan G
> Up until now I have been running my Python programs in Linux. I just > wrote one in Windows XP and I can't find the print output. The > Python program has a print statement, and when I run the program a > black window opens and I can see printing going on. Thats a standard Windows command box