Embedded system applications are mainly written in low level programming languages like C, Assembly etc. Scripting languages like Perl and python are used by embedded developers in following cases:
Python is heavily used for writing scripts which trigger and test various parameters of IUT (Implementation under test). You can write a framework which allows writing scripts in python which will send and receive data over serial port to communicate with device firmware. We would also like to point out that the kind of python used here is nothing like that used by web programmers. These scripts mainly focus on exercising various parameters of systems. And once again here also you will find yourself playing a lot with individual bytes/bits thus, using low level list manipulation.
Parsing logs and providing results at higher abstractions:
Here you use python to parse log files and come up with very high level logs which somebody not familiar with exact system can read and understand. For example you may run tests for a 'Command Interpreter system' at various baud rates and finally come up with a high level result providing information about Baud rate cutoff over or below which system does not work.