Read/Write into Pseudo Character Device Driver. to check the output of write run:
sudo dmesg
or keep this running on another terminal
tail -f /var/log/kern.log
To run the module,
python3 test.py
This will make/change permissions/open a terminal to send data to device to read the data
cat /dev/chardev01