Re: [Tutor] Retrieving information from a plain text file(WinXP/py2.6.2/Beginner)

2009-11-06 Thread Alan Gauld
"Katt" wrote (Looks like maybe you hijacked another thread, instead of just creating a new message, with new topic, for the list) Sorry, about that. I got lazy and just replied to a tutor message I had in my inbox. Will make sure not to let that happen again. Looks like it happened agai

Re: [Tutor] Retrieving information from a plain text file(WinXP/py2.6.2/Beginner)

2009-11-05 Thread Katt
Hello all, Thank you all for your help. I appreciate it alot. I have been trying to work with file IO alot recently and would like to improve my little program so that I no longer use a hard coded list, but a text file that I can edit easily. The text file is three lines long and looks exa

Re: [Tutor] Retrieving information from a plain text file(WinXP/py2.6.2/Beginner)

2009-11-03 Thread Alan Gauld
"Serdar Tumgoren" wrote Also, on a side note, you can greatly improve the readability of your code by using the triple-quote style for multi-line docstrings inside functions (rather than the hash comment marks). I tend to use hash marks for one-line/inline comments, since they can really beco

Re: [Tutor] Retrieving information from a plain text file (WinXP/py2.6.2/Beginner)

2009-11-02 Thread Dave Angel
(Looks like maybe you hijacked another thread, instead of just creating a new message, with new topic, for the list) Katt wrote: Hello all, Thank you all for your help. I appreciate it alot. I have been trying to work with file IO alot recently and would like to improve my little program so

Re: [Tutor] Retrieving information from a plain text file (WinXP/py2.6.2/Beginner)

2009-11-02 Thread Serdar Tumgoren
Hi Katt, It appears you did not return the list of reminders that you extracted in the "read_reminders" function, but simply printed them from inside that function. If you modify your code as below to store the list in a variable called "reminders", you should be able to access the list in your

Re: [Tutor] Retrieving information from a plain text file (WinXP/py2.6.2/Beginner)

2009-11-02 Thread vince spicer
On Sun, Nov 1, 2009 at 5:37 PM, Katt wrote: > Hello all, > > Thank you all for your help. I appreciate it alot. > > I have been trying to work with file IO alot recently and would like to > improve my little program so that I no longer use a hard coded list, but a > text file that I can edit eas

Re: [Tutor] Retrieving information from a plain text file (WinXP/py2.6.2/Beginner)

2009-11-02 Thread Katt
Hello all, Thank you all for your help. I appreciate it alot. I have been trying to work with file IO alot recently and would like to improve my little program so that I no longer use a hard coded list, but a text file that I can edit easily. The text file is three lines long and looks exac