# Linux Kernel Module Cheat
The perfect emulation setup to study and develop the <<linux-kernel>> v5.9.2, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, <<c,ANSI C>>, <<cpp,C++>> and <<posix,POSIX>>. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>.

#### 27.7.1. Python

rootfs_overlay/lkmc/python

Examples:

- rootfs_overlay/lkmc/python/hello.py: hello world

- `time`

  - rootfs_overlay/lkmc/python/count.py: count once every second

  - rootfs_overlay/lkmc/python/iter_method.py: how to implement `iter` on a class

- Python standard library

- Build and install the interpreter

- Python gem5 user mode simulation

- Embedding Python in another application

- pybind11