Re: Checking function calls

2006-03-06 Thread paul . dale
I will be out of the office from March 3rd to March 31st. In urgent cases please contact [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: xml.dom.minidom - parseString - How to avoid ExpatError?

2005-10-28 Thread Paul Dale
Hi Greg, Not really an answer to your question but I've found 4Suite ( http://4suite.org/index.xhtml ) quite useful for my XML work and the articles linked to from there authored by Uche Ogbuji to be quite informative. Best, Paul Gregory PiƱero wrote: Thanks, John. That was all very

Re: Redirect os.system output

2005-10-25 Thread Paul Dale
You might want to try python expect which gives you a very simple and scriptable interface to a process. http://pexpect.sourceforge.net/ I've been using it on windows to automate a few things. Cheers, Paul jas wrote: Kent, Yes, your example does work. So did os.popen...however, the

Re: Redirect os.system output

2005-10-25 Thread Paul Dale
cmd shell. After that everything has worked without problem. Good luck, Paul jas wrote: Paul, I did ceck out the PExpect, however, I thought it was not ported for Windows. Did you find a ported version? If not, what did you have to do to be able to use it? Thanks Paul Dale wrote: You

Re: Binding a variable?

2005-10-24 Thread Paul Dale
Thanks everyone for your comments and suggestions! I haven't quite decided which approach I'll take, but it's nice to have some options. Paul Tom Anderson wrote: On Fri, 21 Oct 2005, Paul Dale wrote: Is it possible to bind a list member or variable to a variable such that temp = 5 list

Binding a variable?

2005-10-21 Thread Paul Dale
Hi everyone, Is it possible to bind a list member or variable to a variable such that temp = 5 list = [ temp ] temp == 6 list would show list = [ 6 ] Thanks in advance? Paul -- http://mail.python.org/mailman/listinfo/python-list

How to tell if an exception has been caught ( from inside the exception )?

2005-09-22 Thread Paul Dale
Hi everyone, I'm writing an exception that will open a trouble ticket for certain events. Things like network failure. I thought I would like to have it only open a ticket if the exception is not caught. Is there a way to do this inside the Exception? As far as I can see there are only two

Re: Should I move to Amsterdam?

2005-08-25 Thread Paul Dale
But yes, the Netherlands is a highly civilised country - up there with Denmark and Canada, and above the UK, France or Germany, IMNERHO. I'm not going to bother comparing it to the US! How strange that you put Canada so high on your list. --

Nested Regex Conditionals

2005-08-23 Thread Paul Dale
Hi All, I know that several of you will probably want to reply you should write a parser, and I may. For that matter any tips on theory in that direction would be appreciated. However, if you would indulge me in my regex question I would also be most grateful. I'm writing an edi parser and

Re: up to date books?

2005-08-18 Thread Paul Dale
I highly recommend the Safari library service from Oreilly ( http://safari.oreilly.com ) you can check out all of the books listed below and about 10,000 more. The library contains much more than just Oreilly's books, but they are, of course, all in there. The first 2 weeks is free after that