My thought is seperate main and utility functions to different files.
For example there will be a Main.py and UsbUtil.py and from Main.py
you can import usb functions.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor