Ayman herr you can try GSM module to reading and sending message through python using Raspberry Pi But reading data from sim card other then SMS require some socket programming concept as well as tcp connection concept imo https://circuitdigest.com/microcontroller-projects/raspberry-pi-phone-by-interfacing-gsm-module
GAWEN STEASY Sir, do you mind giving links to buy GSM module especially for raspberry pi
Don't use it for illegal purpose be safe :)
Maybe you could access it with basic file handling, but maybe it requires rooting.
Have a look at pySIM. You can read SIMs with that. If you want to get really deep into cellular tech, check out “Open BTS” at openbts.org. If you’re willing to buy some additional equipment you can fire up your own cell service.
Kod amaton farsish konin
Error in Program