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.
--
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
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
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
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
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 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 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.
I see the
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)
--
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
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
--
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
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.
--
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.
--
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 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 :(
--
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 has a GUI,
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.
Thanks
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 ?
--
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
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
21 matches
Mail list logo