I have been learning some Python here and there over the last few months. It is an interesting language and I think it has many great advantages for some applications. Without offending the Python diehards, I do not think it would be useful for high speed processing of data or graphics. For these tasks a compiled languge like C or C++ is the way to go. But for test or throwaway code it is great.
I had a simulator to write for work to test a serial interface. In the past I would have written it in C on either a PC or on an embedded processor. This time I elected to try it using Pythin on a PC. The code took a while to write only becuase I had no clue how to do structures and unions in Python. Turns out the “ctype” module is the way to go (or at least I think). When I started out I posted a querey on a Python forum and got the reply “And why would you think ctype will work?”. This caused me some consternation, but I proceeded and got it to work. Just goes to show you tha the Internet can sometimes be a good source of bad information.
Must explore to languge more including its ability to be called by C or to call C routines. This might make a very valuable testing platform.