Joseph,
I too am trying to get familiar with Python. I stumbled up the site Learning Python the Hard Way (http://learnpythonthehardway.org/book/) and have found it a pretty good format. If you have much programming experience you’ll find the first third of it or so to be pretty basic, but as the author says, work through it anyway to get used to Python’s syntax. Of course that won’t help you with the specific classes you were asking about, but it will give you the basics of how Python does things.
Jim
--- Jim McCorison Orcas Island, WA
On Feb 4, 2015, at 11:07 AM, Joseph scanlan Joseph.P.Scanlan@n7xsd.us wrote:
I'm working on an IC-F520 driver and am mostly happy with my MEM_FORMAT. CHIRP even reads an ICF file and displays memories.
Now to organize those memories into banks. I just don't get how classes MemoryMapping, MappingModel, Bank, and BankModel work together. No big surprise; this is the first time I've used Python.
The IC-F520 has a pretty simple bank model. Memories (256 of them) are stored as an array. Another array of 16 numbers tells how many memories are in each of the 16 banks.
Links to previous postings and web pages will be appreciated.
-- -- wireless Joseph.P.Scanlan@n7xsd.us +1-702-896-0507
-- work Joseph.P.Scanlan@ClarkCountyNV.gov +1-702-455-3679
These mechanics and mathematics they give me comfort when I'm afraid. --Venus Hum _______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers