standalone process to interact with the web

beginner zyzhu2000 at gmail.com
Tue Jul 31 21:11:38 CEST 2007


On Jul 31, 1:11 pm, Steve Holden <st... at holdenweb.com> wrote:
> beginner wrote:
> > Hi Steve,
>
> > On Jul 31, 11:42 am, Steve Holden <st... at holdenweb.com> wrote:
> >> beginner wrote:
> >>> Hi Everyone,
> >>> I am looking for a way to allow a standalone python process to easily
> >>> interactive with a few web pages. It has to be able to easily receive
> >>> requests from the web and post data to the web.
> >>> I am thinking about implementing a standalone soap server, but I am
> >>> not sure which library is good.
> >>> Any suggestions?
> >>> Thanks a lot,
> >>> Geoffrey
> >> Look nor further than mechanize -
>
> >>    http://wwwsearch.sourceforge.net/mechanize/
>
> >> With mechanize and its partner ClientForm you can rule the web world ;-)
>
> >> regards
> >>   Steve
> >> --
> >> Steve Holden        +1 571 484 6266   +1 800 494 3119
> >> Holden Web LLC/Ltd          http://www.holdenweb.com
> >> Skype: holdenweb      http://del.icio.us/steve.holden
> >> --------------- Asciimercial ------------------
> >> Get on the web: Blog, lens and tag the Internet
> >> Many services currently offer free registration
> >> ----------- Thank You for Reading -------------
>
> > This seems to be an HTTP client library. It is very interesting, but
> > is not what I need. I am looking for something that can provide
> > service to web pages. For example, when a browser requests a web page,
> > the web page is going to send a few requests to my server. My server
> > then is going to respond, and the web page takes the response and
> > format it in human readable form.
>
> Well, surely in that case you can use any protocol you like. It's up to
> the web server and your "web server server" to agree how to communicate.
> Take a look at the SocketServer library, for example.
>
> regartds
>   Steve
> --
> Steve Holden        +1 571 484 6266   +1 800 494 3119
> Holden Web LLC/Ltd          http://www.holdenweb.com
> Skype: holdenweb      http://del.icio.us/steve.holden
> --------------- Asciimercial ------------------
> Get on the web: Blog, lens and tag the Internet
> Many services currently offer free registration
> ----------- Thank You for Reading -------------- Hide quoted text -
>
> - Show quoted text -

Yes exactly. I just don't want to reinvent the wheel as I imagine
there are already tons of libraries and frameworks that support RPC or
the like functions.

Thanks,
Geoffrey




More information about the Python-list mailing list