Please include "goto" command in future python realeses
I know that proffesional programers doesn't like to use it,
but for me as newbie it's too hard to get used replacing it
with "while", "def" or other commands
--
http://mail.python.org/mailman/listinfo/python-list
On 3 Mar 2005 11:06:58 -0800, [EMAIL PROTECTED] wrote:
> How did we ever live without Google?
We used Yahoo (and still using it)
--
http://mail.python.org/mailman/listinfo/python-list
I have line "time.sleep(60)" in my code
How do I cancel waiting 60 seconds if I want to continue with program
imediately ? Like "Press some button if you don't want to wait"
If it can't be canceled what's the other solution to
"wait certain time/or press any button to continue" problem ?
--
os = windows xp
How do I make "myprogram.py" start fullscreen at windows command prompt ?
Also I made it as "myprogram.exe" with py2exe,but how to start fullscreen ?
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote:
> Please help me.
> How do you clear the screen and then display a number with an enlarged font
> size (about 300).
> Adam.
To clear screen in windows :
#at the beggining of the program
import os
#when you want to clear the screen
os.system("cls")
On Sun, 13 Feb 2005 12:08:26 +1000, Nick Coghlan wrote:
> Try this:
>
> print "Hit a key!"
> cekaj()
> print "Nap time!"
> time.sleep(15)
> print "Hit another key!"
> cekaj()
>
> with the two different implementations, and see what happens if you hit a key
> when the 'Nap Time!' prompt appears.
On Fri, 11 Feb 2005 21:38:47 -0500, Peter Hansen wrote:
> print prompt
> while msvcrt.kbhit():
> msvcrt.getch()
> msvcrt.getch()
Thanks, it works but without line "print prompt" and also
I'm not sure if I should put this function :
def cekaj():
while msvcrt.kbhit():
msvcrt.getch
On Fri, 11 Feb 2005 18:00:08 +0100, den wrote:
> Did you try this:
>
> import msvcrt
> msvcrt.getch()
Yes, that's what I need. Thank you.
BTW, sometimes program continues
without me pressing any button, why ?
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 11 Feb 2005 16:35:19 +, Simon Brunning wrote:
> Err, why?
It looks to ugly this way. I want to press
any key without ENTER to continue
--
http://mail.python.org/mailman/listinfo/python-list
I need something like "Press any key to continue" code for my program.
Currently I use : raw_input("Press Enter to continue ") but it's lame.
--
http://mail.python.org/mailman/listinfo/python-list
OK, thanks all
Here's presentation of my advanced programming skills :)
import os
import time
os.system("cls")
number = 78
guess = 0
while guess != number:
guess = input("Guess number: ")
if guess > number:
print "Lower"
tim
I've just finished reading Python turtorial for non-programmers
and I haven't found there anything about some usefull commands I used in
QBasic. First of all, what's Python command equivalent to QBasic's "goto" ?
Secondly, how do I clear screen (cls) from text and other content ?
And last, how do I
I found some e-book about Python 2.1, I want to print it but just to check
first if sintax of Python 2.1 is same as 2.4 ? Also does anybody know where
can I download any newer Python related e-book, because there isn't any
published yet in my country.
--
http://mail.python.org/mailman/listinfo/p
On Mon, 03 Jan 2005 19:56:10 -0600, Rob Emmons wrote:
> I believe also if you want to use MS Visual Studio -- Active State sells
> python programming tools that plug into MS Visual Studio if you want to do
> that. I've not tried these so I don't know how they work or if they are
> any good.
Than
On Mon, 03 Jan 2005 17:19:22 -0500, Peter Hansen wrote:
> What do you mean by "Windows Applications"? I'm running
> Python on Windows XP, so every program I write with
> Python is a "Windows application" by my definition. Obviously
> you are using a different one.
>
> (And if you just mean "it
On Mon, 03 Jan 2005 22:57:22 +0100, Jarek Zgoda wrote:
> Close your eyes, see this model-view-controller in your application,
> rewrite it in Python using one of its MVC frameworks.
>
> You see? It's easy, like that!
Yes, only if I'd know what you're talking about :(
--
http://mail.python.org
Well that's it, how do I make Windows Application with Python ???
Is there simple way that works 100% ? How can I rework visual design
done in VS 2003 to use it for my python program ?
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 02 Jan 2005 21:56:45 +0100, Gian Mario Tagliaretti wrote:
> don't be scared when you see the dimension of the files...
1.9 Mb for a console application ?!
And is it possible to make Windows application ?
I want to display results in windows message box.
--
http://mail.python.org/mailman
Just how to make *.exe file from python code ??
I typed this :
a, b = 0, 1
while b < 1000:
print b,
a, b = b, a+b
and saved it as pyt.txt
Now, how do I make pyt.exe file ???
I want to run it on windows where isn't installed python.
--
http://mail.python.org/mailman/listinfo/pyth
On Sat, 01 Jan 2005 16:03:08 -0500, Mark Nenadov wrote:
> What can you do with Python? Just about anything your heart desires.
Thanks everybody, I downloaded latest windows version and
Python-Docs-2.4 archive. Is that enough for absolute beginner.
Is there any e-book, step by step guide ... etc f
Beginners question, but really what can you do with it ?
How hard is Python to learn compared with other languages
(let's say C#). Can you make fullscreen game with it (for example) ?
I've looked at http://www.python.org but nothing concrete there
--
http://mail.python.org/mailman/listinfo/pytho
21 matches
Mail list logo