[OT] Re: ultra newbie question (don't laugh)

2006-09-26 Thread Peter Otten
John Salerno wrote: > Thanks Fredrik! My initial feeling was the opposite, i.e. don't rush > into anything, just stop and think about how I want to do this first. > But then of course the possibilities piled up and I was stuck, so your > suggestion is probably much better at this point. I just nee

Re: ultra newbie question (don't laugh)

2006-09-26 Thread John Salerno
Fredrik Lundh wrote: > when you get programmers block, telling your brain to "shut up and let > me write some code" is often a good idea. just start tinkering with > your first idea, and see if you can make it work. if you get a little > stuck, hack your way through it. if you get really stu

Re: ultra newbie question (don't laugh)

2006-09-26 Thread Larry Bates
John Salerno wrote: > Ok, I've decided to make a little project for myself which involves > storing employee information in an XML file. I'm doing this partly to > experiment with working with XML. The blocks in the file will look > something like this: > > > John > Salerno > United States

Re: ultra newbie question (don't laugh)

2006-09-26 Thread George Sakkis
John Salerno wrote: > So you see, what I'm asking for is very basic help, sort of along the > lines of "what things do I need to consider before I even begin this?" > Is OOP necessary here? Would utility functions work just as well for > simply writing the information to a file? To start with you

Re: ultra newbie question (don't laugh)

2006-09-26 Thread John Salerno
George Sakkis wrote: > To start with your last question, yes, they probably would, *IF* all > you need to do is take data from the user (through a GUI, command line, > etc.) and store them in some persistent state (text file, pickle, db, > etc.). In practice, chances are you'll need to do somethin

Re: ultra newbie question (don't laugh)

2006-09-26 Thread Gal Diskin
John Salerno wrote: > Ok, I've decided to make a little project for myself which involves > storing employee information in an XML file. I'm doing this partly to > experiment with working with XML. The blocks in the file will look > something like this: > > >John >Salerno >United State

ultra newbie question (don't laugh)

2006-09-26 Thread John Salerno
Ok, I've decided to make a little project for myself which involves storing employee information in an XML file. I'm doing this partly to experiment with working with XML. The blocks in the file will look something like this: John Salerno United States Texas Houston #etc.

Re: ultra newbie question (don't laugh)

2006-09-26 Thread Fredrik Lundh
John Salerno wrote: > So you see, what I'm asking for is very basic help, sort of along the > lines of "what things do I need to consider before I even begin this?" > Is OOP necessary here? Would utility functions work just as well for > simply writing the information to a file? when you get p