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
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
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
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
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
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
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.
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