Creating Objects
Scott Anderson
sanderson at ttm.com
Wed Jan 26 21:23:13 EST 2000
More information about the Python-list mailing list
Wed Jan 26 21:23:13 EST 2000
- Previous message (by thread): Creating Objects
- Next message (by thread): Creating Objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Small suggestion: Create an object for each system that will translate to and from a neutral internal representation. Then, for each message do a translate from the incoming system to the neutral rep, then from the neutral rep out to the outgoing system: msgObject = incoming.translateToNeutral(message) outgoing.translateFromNeutral(msgObject) I've used this method before with multiple, non-standard communications. Any similarities between the format for the individual systems is up to you to factor, as you haven't given any detail. :-) Regards, -scott calishar@*NOSPAM*home.com wrote: > > Hi folks, > > I'm working on solving a problem that my boss put to me the other > day, and I have run into a solution that I don't know how to implement > in Python (or any other language for that matter) > > Basic description of problem (particulars not included) > > Work out a system that can import information from (any number) of > systems, and write the infomration out (meaningfully) to any system in > the set. >
- Previous message (by thread): Creating Objects
- Next message (by thread): Creating Objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list