Re: [Tutor] String Encoding problem

2009-04-20 Thread Strax-Haber, Matthew (LARC-D320)
0500 To: "Strax-Haber, Matthew (LARC-D320)" Cc: Python Tutor Subject: Re: [Tutor] String Encoding problem Can you give us a simple description of what you are trying to do? And if you can post in plain text instead of HTML that would be helpful. Maybe this will give you some ideas - you c

Re: [Tutor] String Encoding problem

2009-04-20 Thread Kent Johnson
Can you give us a simple description of what you are trying to do? And if you can post in plain text instead of HTML that would be helpful. Maybe this will give you some ideas - you can trap the control-D and do your cleanup: http://openbookproject.net/pybiblio/tips/wilson/simpleExceptions.php Ke

Re: [Tutor] String Encoding problem

2009-04-20 Thread Strax-Haber, Matthew (LARC-D320)
angley Research Center (LaRC) Co-op, Safety-Critical Avionics Systems Branch W: 757-864-7378; C: 561-704-0029 Mail Stop 130 matthew.strax-ha...@nasa.gov From: Martin Walsh Date: Mon, 20 Apr 2009 16:05:01 -0500 To: Python Tutor Cc: "Strax-Haber, Matthew (

Re: [Tutor] String Encoding problem

2009-04-20 Thread Martin Walsh
Forwarding to the list. Matt, perhaps you can repost in plain text, my mail client seems to have mangled your source ... Strax-Haber, Matthew (LARC-D320) wrote: >> *From: *Martin Walsh >> >> The environment available to __del__ methods during program termination >> is wonky, and apparently not ve

Re: [Tutor] String Encoding problem

2009-04-20 Thread Kent Johnson
On Mon, Apr 20, 2009 at 10:46 AM, Matt wrote: > Running this interactively, if you finish off with 'del db', it exits fine > and creates a skeleton xml file called 'db.xml' with text ''. > However, if you instead CTRL-D, it throws at exception while quitting and > then leaves an empty 'db.xml' whi

Re: [Tutor] String Encoding problem

2009-04-20 Thread Martin Walsh
Matt wrote: > Hey everyone, > > I'm hoping someone here can help me solve an odd problem (bug?). I'm > having trouble with string encoding, object deletion, and the xml.etree > library. If this isn't the right list to be posting this question, > please let me know. I'm new to Python and don't know

Re: [Tutor] String Encoding problem

2009-04-20 Thread Strax-Haber, Matthew (LARC-D320)
> From: spir > Date: Mon, 20 Apr 2009 12:22:59 -0500 > To: Python Tutor > Subject: Re: [Tutor] String Encoding problem > > Le Mon, 20 Apr 2009 10:46:47 -0400, > Matt s'exprima ainsi: > >> Hey everyone, >> >> I

Re: [Tutor] String Encoding problem

2009-04-20 Thread spir
Le Mon, 20 Apr 2009 10:46:47 -0400, Matt s'exprima ainsi: > Hey everyone, > > I'm hoping someone here can help me solve an odd problem (bug?). I'm having > trouble with string encoding, object deletion, and the xml.etree library. If > this isn't the right list to be posting this question, please

[Tutor] String Encoding problem

2009-04-20 Thread Matt
Hey everyone, I'm hoping someone here can help me solve an odd problem (bug?). I'm having trouble with string encoding, object deletion, and the xml.etree library. If this isn't the right list to be posting this question, please let me know. I'm new to Python and don't know of any other "help me"