Kent,
Thanks for the tip. I can write the changed data back to my xml file. One snag that I found is that the des encryption that I used for the data that is written back, it is not parsed correctly when the file is read again with the new data in it. There is non-printable characters or non-as
On 8/29/05, Hans Dushanthakumar <[EMAIL PROTECTED]> wrote:
Thanks KentHow do I send a signal from the main thread to stop execution of a childthread?I tried the foll:, but got an error:Other than by this method, is there any other mechanism to stop athread?
import threadingimport timeclass shownum(
On 31/08/05, Faulconer, Steven M. <[EMAIL PROTECTED]> wrote:
> My question for all of you python people; how can I handle programs that MAY
> need input from the command line. I thought about using something like
> pexpect, but the input requests are fairly variable, and may not show up at
> all. A
Hello all,
Been digging through the web and the archives for the tutor list and can't
seem to locate an answer to my question. It is probably out there, but my
searching skills are failing me. I recently wrote a GUI for several command
line programs using Tkinter. Everything is working quite well,
Johan Geldenhuys wrote:
> That means that I have to compile the whole file from scratch in Python,
> minidom.
> I am not that good, yet, but will try.
No, not if I understand what you are trying to do - the xmlDocument you have is
all the data from the file, just write it back out using the code
me = class Beautiful
me.Crying...
Great Info, I was able to connect through DAO and
create an object and coulde open, Excel,Access and
Word docs but I couldn't find any documentation on
methods to use to do stuff. I will try ADO tonight
directly and
I am sure it will work great.
Eric
Thanks A
That means that I have to compile the whole file from scratch in Python, minidom.
I am not that good, yet, but will try.
will it be easier to search for the string that I look for in the file (readlines) and then just write the pieces back again?
Johan
On Tue, 2005-08-30 at 07:40 -0400, Kent J
Johan Geldenhuys wrote:
> Thanks for he help, so far.
>
> I am still having some questions on writing my new string back to the
> xml file after I found what I was looking for and changed it.
>
> Extracts:
>
> xmlDocument = minidom.parse(file_name) # open existing file for parsing
> main = xmlD
Eric Walker wrote:
> I want to know what modules are available to connect
> and talk with MSAccess databases...
google 'python msaccess'
You can talk to Access directly using ADO:
http://www.ecp.cc/pyado.html
or via DAO:
http://starship.python.net/crew/bwilk/access.html
adodbapi puts a Python D
Thanks for he help, so far.
I am still having some questions on writing my new string back to the xml file after I found what I was looking for and changed it.
Extracts:
xmlDocument = minidom.parse(file_name) # open existing file for parsing
main = xmlDocument.getElementsByTagName('Config')
10 matches
Mail list logo