Quoting John Gilmore <[EMAIL PROTECTED]>:
> In general I wonder -- is it the practice in Python to have "includes" > run off and do things that could cause errors? I'm used to more static > languages where if you import a library, it just lays there until you call > it. :-) That way, you can parse your arguments and produce your error > messages, and maybe never even call that included package, depending on > the options you were passed. You can put the import statements in a try block so that you can gracefully handle exceptions. For some reason, nobody ever seems to do this, but I did it in some of the early SDR-1000 code I checked in. Matt _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
