How to use bluetooth mode in Programming language(Python,Javascript)?

Hi @xvichie
this depends on RPi version. But as far as I remember you need to enable secondary serial in the raspi-config tool (+ dont forget to disable the system shell on this secondary UART interface - you can do it also in the raspi-config).

Cheers
JK