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
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
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
"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
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
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
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
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
> 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