Newby question: how manage user input??

Gerrit Holl gerrit.holl at pobox.com
Tue Jan 11 04:54:48 EST 2000


Giovanni Riccardi wrote on 947568751:
> I want to make a simple script that print out
> some text (actually questions), get what the user
> wrote at the displyed prompt and make some calculation
> with that.
> I tried to implement the user input with stdin or raw_input but after
> returning the value the function I wrote doesn't
> get back to the main loop??

Can you please give us your code, what you have now?

> Some refs (with examples) on the net for this problems?
> Or could someone explain it to me??

Did you already read www.python.org/doc/current/tut?

regards,
Gerrit.

-- 
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK-----
If you think Linux should get more hardware drivers, _please_ sign this:
http://www.libranet.com/petition.html




More information about the Python-list mailing list