Editing File

2006-07-12 Thread D
Hi, I currently have a Python app with a Tkinter GUI frontend that I use for system administration. Everytime it launches, it reads a text file which contains info about each host I wish to monitor - each field (such as IP, hostname, etc.) is delimited by !!. Now, I want to be able to edit host

Re: Editing File

2006-07-12 Thread Jeremy Jones
D wrote: Hi, I currently have a Python app with a Tkinter GUI frontend that I use for system administration. Everytime it launches, it reads a text file which contains info about each host I wish to monitor - each field (such as IP, hostname, etc.) is delimited by !!. Now, I want to be

Re: Editing File

2006-07-12 Thread [EMAIL PROTECTED]
D wrote: Hi, I currently have a Python app with a Tkinter GUI frontend that I use for system administration. Everytime it launches, it reads a text file which contains info about each host I wish to monitor - each field (such as IP, hostname, etc.) is delimited by !!. Now, I want to be

Re: Editing File

2006-07-12 Thread D
Thanks, guys. So overall, would it just be easier (and not too rigged) if any changes were made by just editing the text file? I want to do this project the right way, but if it's going to be a big pain to implement the edit function, just modifying the text file directly isn't that big of a

Re: Editing File

2006-07-12 Thread [EMAIL PROTECTED]
D wrote: Thanks, guys. So overall, would it just be easier (and not too rigged) if any changes were made by just editing the text file? I want to do this project the right way, but if it's going to be a big pain to implement the edit function, just modifying the text file directly isn't

Re: Editing File

2006-07-12 Thread Jeremy Jones
D wrote: Thanks, guys. So overall, would it just be easier (and not too rigged) if any changes were made by just editing the text file? I want to do snip [EMAIL PROTECTED] wrote: snip Might be overkill - but pickle the data memeber that contains the information. If you use text

Re: Editing File

2006-07-12 Thread Tal Einat
akameswaran at gmail.com akameswaran at gmail.com writes: D wrote: Thanks, guys. So overall, would it just be easier (and not too rigged) if any changes were made by just editing the text file? [snip] have you used pickle? if the data is as simple as you say it is, you will be able

Re: Editing File

2006-07-12 Thread Maric Michaud
Le mercredi 12 juillet 2006 17:00, D a écrit : Thanks, guys. So overall, would it just be easier (and not too rigged) if any changes were made by just editing the text file? I want to do this project the right way, but if it's going to be a big pain to implement the edit function, just

Re: Editing File

2006-07-12 Thread D
Thanks to all for the suggestions - I am going to give them a try this afternoon. I am still fairly new to Python, so this will definitely be a good learning experience. :) Maric Michaud wrote: Le mercredi 12 juillet 2006 17:00, D a écrit : Thanks, guys. So overall, would it just be easier