Can anyone tel me how to start a python script on boot, and then also load the GUI ? I am debian based Raspbian OS.
The reason I want to run the python script on boot is because I need to read key board input from a RFID reader. I am currently using raw_input() to read data from the RFID reader. The 11 character hex value is then compared against  a set of values in a txt file. This raw_input() did not work for me on autostarting python script using crontab and also  using with LXDE autostart.
So, I am thinking to run python script at boot, so that it reads keyboard input. If there are any other ways of reading keyboard input using crontab autostart and LXDE autostart, please let me know.
Try to use bootup option in crontab:
@reboot   python /path/to/pythonfile.py
Starting a python script at boot and loading GUI after that