[Tutor] newbie programmer

Dustin Phillips python-tutor@ev1.net
Wed Jun 4 01:39:04 2003


I checked out the useless python website and it is great, it has some really
interesting challenges that I can practice with.  I am attempting to take on
one of these challenges and a question immediately came up.  I am trying to
create a dos based menu driven application, but I was wondering what is the
most efficient way to implement a menu system?  I started out using several
print statements, but I plan on linking the main menu to submenus and so on
which will get very cumbersome.  How can I make the menus more modular?
Should I save the menu entries into a dictionary?
----- Original Message -----
From: "Dustin Phillips" <python-tutor@ev1.net>
To: "Alan Gauld" <alan.gauld@blueyonder.co.uk>; <python-tutor@mail.ev1.net>;
<tutor@python.org>
Sent: Tuesday, June 03, 2003 11:21 PM
Subject: Re: [Tutor] newbie programmer


> Thanks for the insight and suggestions, I will check out the useless
python
> sight right away.
> ----- Original Message -----
> From: "Alan Gauld" <alan.gauld@blueyonder.co.uk>
> To: <python-tutor@mail.ev1.net>; <tutor@python.org>
> Sent: Tuesday, June 03, 2003 5:43 PM
> Subject: Re: [Tutor] newbie programmer
>
>
> > > just wondering what sort of real world things I can do with
> > > python?
> >
> > Games, Graphics, Scientific numerical simulations, etc.
> > THere used to even be a web browser written in Python,
> > there is also a graphics program(like Visio).
> >
> > Try searching sourceforge to see what open source projects
> > are underway using Python.
> >
> > With ,more experience you can even join one of the project
> > teams...
> >
> > Oh yes, And the IDLE development tool that comes with
> > Python is written in Python...
> >
> > > anyone have any advice or suggestions?
> >
> > For some fun small projects check out the "Useless Python"
> > website, which is far from useless...
> >
> > Alan G
> > Author of the Learn to Program web tutor
> > http://www.freenetpages.co.uk/hp/alan.gauld
> >
> >
>
>