Re: Convert a long XML string into indented format

2006-01-25 Thread mwilliams
I would recommend using Amara (http://uche.ogbuji.net/tech/4suite/amara/). It works wonders with XML. Regards, Michael -- Original Message -- From: [EMAIL PROTECTED] Reply-To: python-list@python.org Date: Wed, 25 Jan 2006 20:55:03 +0100 >Send Python-li

Re: How to get the local mac address?

2005-12-15 Thread mwilliams
Well, that kinda depends on what you want the MAC Address of. Personally (on Unix systems) I simply read from a popen('ifconfig') and use a regular expression to parse out the mac address. Works perfectly. Just my 2ยข, Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: executing a system command from my Python app

2005-12-13 Thread mwilliams
You may also look into the PExpect modules as well. If you're that's truly what you wish to do. Regards, Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Background process for ssh port forwarding

2005-11-15 Thread mwilliams
Actually, an even better solution would be to set up public keys WITH a password, then simply use an "ssh-agent" to keep it in memory. That way, you can leave the processes to do what deeds they will, and the keys are still protected with a password in the event they are stolen. On Nov 15,