[Tutor] boolean raw_input

Kent Johnson kent_johnson at skillsoft.com
Fri Aug 20 03:30:03 CEST 2004


The diropenbox function in EasyGui might be just what you need. Or you 
could use multchoicebox() to present a list of possible directories and let 
the user pick the one(s) of interest.
http://www.ferg.org/easygui/index.html

Kent

At 11:23 PM 8/19/2004 +0100, Bernard Lebel wrote:
> > raw_input is strictly text based. Check boxes are GUI things.
> > What do you have in mind exactly? Can you show us some
> > hypothetical code that does what you would like, then
> > explain how it would appear to the user?
>
>Hum well, it concerns my Check_Sequence script that I posted for comments.
>The main problem for the people who use it is that it is more or less
>democratic. If you let it run as is, it will visit all directories under the
>root directory. You can exclude in advance few directories, but the problem
>remain: if a user wants to "check" only specific folder because he doesn't
>have to waste to get errors about things he's not concerned about and such,
>an easy way to handle that would be to have 3 prompts that will ask if he
>wants to visit a certain folder or not. Each prompt being for a different
>folder.
>
>Right now I use the y/n approach, it works well, but still, users are
>generally very picky about these things and would be more interested in the
>real deal.
>
>Any advice?
>
>
> > As the Aberdonian landlady said to her new lodger:
> > "If there's anything you need just ask, and I'll show you
> > how to get along without it..." :-)
>
>I like the sound of that ;-)
>
>
>Bernard
>
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list