User input question

Steve Holden sholden at holdenweb.com
Thu May 30 11:51:51 EDT 2002


"Ken" <ken at hotmail.com> wrote ...
>
> "Eric Brunel" <eric.brunel at pragmadev.com> wrote in message
> news:ad4t64$qli$1 at wanadoo.fr...
> > Ken wrote:>
> > > Does this also work for user input from keyboard?
> >
> > Yep. It's exactly the same thing than in C++.
> > --
> > - Eric Brunel <eric.brunel at pragmadev.com> -
> > PragmaDev : Real Time Software Development Tools -
> http://www.pragmadev.com
>
> But how do I set a field on the web browser for people to type in? Don't I
> need a form for people to type in? If so, how do I define the "method",
> "action" etc. from the form header? (eg: "<form name=update
> action=search.cgi method=post>")
>

Ken:

The problem seems to be that you are attempting a change of language (C++ to
Python) at the same time as a change of environment (desktop to web). You do
need to understand a little more about web communications mechanisms as
well.

There are books that could help you <shameless plug>(see the pydish link
below, for example)</shameless plug>, but what you probably need is a good
long look at the CGI module and a few examples of dynamic web code in
Python.

regards
 Steve
--
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list