Re: SOAP client
On Wed, 11 Feb 2009 07:33:29 -0800, mk wrote: > I'm trying to consume a SOAP web service using Python. Suds (ibid) -- accept no substitute! -- http://mail.python.org/mailman/listinfo/python-list
Re: switch to interactive mode
On Mon, 16 Mar 2009 23:49:34 +0100, nntpman68 wrote: > I'd like, that a python script can be started by just calling it > (clicking on it), > > but that the script can decide to enter interactive mode if certain > conditions occur. > > Is this possible? Don't know about the clicky-clicky part, but I've used code.interact to do something similar. JBW -- http://mail.python.org/mailman/listinfo/python-list
Re: Is there a simple soap library for python?
On Thu, 26 Mar 2009 11:17:28 +0100, Diez B. Roggisch wrote: > > > There is no such thing as a "simple soap library". Neither for Python, > nor for any other language. Thanks for the link. I had it bookmarked, but last time I tried it, it was dead. To me, it pretty accurately describes the current state of affairs. SOAP has the stench of Microsoft all over it. That said, I had modest success on the client side with SUDS: https://fedorahosted.org/suds/ Responsive developer added "SOAP with attachments" capability soon after I complained it was missing. JBW -- http://mail.python.org/mailman/listinfo/python-list
Re: Q: "Best" book for teaching
On Mon, 06 Apr 2009 07:37:19 -0700, grkuntzmd wrote: > What would be a good book to use as the text for the course? "Python Programming: An Introduction to Computer Science" Franklin, Beedle & Associates, by little Johny Zelle. Accept no substitues! Jim -- http://mail.python.org/mailman/listinfo/python-list
os.readlink() doco snafu?
English is my first language, but I doesn't be very good at it. I was trying to endow my symlinked python module with the ability to divine where it actually resides when I came across os.readlink(), documented at http://docs.python.org/lib/os-file-dir.html I'm not sure readlink() lives up to its documentation. To wit: $ touch bar # Create an empty file $ ln -s bar foo # And a symlink to it. $ python Python 2.5.1 <... Herald "the snitch" Redacted ...> Type "help", "copyright", "credits" or "license" for more information. >>> import os, os.path >>> path = "foo" >>> result = os.readlink(path) >>> result 'bar' >>> abspath = os.path.join(os.path.dirname(path), result) >>> os.path.isabs(abspath) False >>> abspath 'bar' The result makes sense, but it belies the documentation. Should I report this? Or is there another plausible interpretation? -- http://mail.python.org/mailman/listinfo/python-list
Re: How to search the Python manuals
On Fri, 22 Aug 2008 16:17:16 -0400, Terry Reedy instructs a procedure for locating the behavior of default function arguments: > -- For WinXP (I have no idea of how > the manuals works elsewhere): Windows is against my religion, so I may be completely off base here :) > <... snip prolonged clicky-clicky tap dance instructions. ...> The way I read it is that one has little trouble answering a question by reading the documentation if one knows *exactly* where to look. It is much easier to find where to look if the documentation corpus has a proper index. Since indexing is hard work that's effectively impossible to automate, I suspect Python's documentation is no better than many other open-source software projects. I learned what little Python I know from Martelli's book, which is quite well indexed. Those last 80 pages are very well worn. Jim Wilson Gainesville, FL -- http://mail.python.org/mailman/listinfo/python-list
