How to run python programs on openwrt?

How to run python, javascript (or any language) client-server file on openwrt?
Can i run from Luci web interface?
Or ssh and uci is only the option?

Luci uses a web server, a tiny one, you can use it, if it fits your needs, or install lighthttpd or apache.

I only want to run a code/program, How can i run on Openwrt?

Install python, and run it ?

Please give me relevant documentation link

Yeah, right.

opkg update; opkg install python3


You might want to run python in a virtualenv on USB drive if many dependencies are needed.