Hex editor - Python beginner's code open to review

CC crobc at BOGUS.sbcglobal.net
Fri Aug 10 23:36:58 EDT 2007


Hi:

http://web.newsguy.com/crcarl/python/hexl.py

This is my first Python program other than tutorial code snippet 
experimentation.  I chose a hex line editor.  I may do a hex screen 
editor once this is done, if I feel like playing with the curses module. 
  Or move straight to wxPython.

This is unfinished, and is really just a hex viewer at this point.  It 
seems like a good point to stop and see what others think.  I would be 
interested to hear any comments.

My command parsing if of course crude, brute-force, and not very 
scalable.  I am doing some reading on this subject, and will be trying 
to do a more generalized approach in the next revision.  This is going 
to be a subject where I need to learn a lot, because I have 2-3 
embedded applications in C that need varying levels of command parsers, 
so I will be seeking to improve this skill considerably.

Thanks for input.



-- 
_____________________
Christopher R. Carlen
crobc at bogus-remove-me.sbcglobal.net
SuSE 9.1 Linux 2.6.5



More information about the Python-list mailing list