Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Fuzzyman <[EMAIL PROTECTED]> wrote: > > > >alf wrote: > >> Hi > >> > >> I would like to convert the wctpXml-1.3.py program to Tcl (line by > >> line). > >> See http://sourceforge.net/project/showfiles.php?group_id=29217 > >> This program sends pages using WCTP. I know nothing about Python or > >> XML but this program is small and seems straightforward and I am sure > >> that I will be able to figure it out - with a little help ;-) > >> Currently I am stuck in not being able to identify the Tcl equivalent > >> of Python's "putrequest", as in: > >> h = httplib.HTTP("wctp.skytel.com",80) > >> h.putrequest("POST","/wctp") > >> > > > >You'll get more help on Tcl syntax in a Tcl group. :-) > > > >Of the HTTP object, the Python documentation says : > . > . > . > >In other words - you're creating an HTTP connection and request. You'll > >need to find an 'equivalent' library for Tcl and convert the request > >using hte semantics of whatever library you choose. > . > . > . > If you don't immediately see what you're after in <URL: > http://wiki.tcl.tk/http >, post in comp.lang.tcl, and > we'll straighten this out.
Hi I actually did post in comp.lang.tcl. Please search for "wctp" -- the 3 results are all mine. Apparently, I am the only person interested in implementing it in Tcl. As always, I appreciate your good will and help. alf. -- http://mail.python.org/mailman/listinfo/python-list