Hi all~ I just be interested in embedded development, and as known to all, C is the most popular programming language in embedded development. But I prefer to use Python, does Python be adapted to do any tasks about embedded development or automatic control? And are there some books about this be worth recommended? Thanks!
The reason C (and C++) are prevalent in embedded systems is that they are systems-level languages with minimal run-time environment requirements and can run stand-alone (bare metal), with an simple RTOS kernel, or within a complete OS environment.  Both are also almost ubiquitous being available for most 8, 16, 32 and 64 bit architectures.  For example, you can write bootstrap and OS code in C or C++, whereas Python needs both of those already in place just to run.
Python on the other hand is an interpreted language (although it is possible to compile it, you would also need cross-compilation tools or an embedded target that could support self hosted development for that), and a significant amount of system level code (usually and OS) as well an the interpreter itself is required to support it.  All this precludes for example deployment on very small systems where C and even C++ can deliver.
Moreover it Python would probably be unsuitable for hard-real-time systems due to its intrinsically slower execution and non-deterministic behaviour with respect to memory management.
If your embedded system happened to be running Linux it would of course be possible to use Python but the number of applications to which it was suited may be limited, and since Linux itself is somewhat resource hungry, you would probably not deploy it is the only reason was to be able to run Python.
Python on automatic control and embedded development