Python is well supported but sometimes requires more configuration. Find out what kind of system your webhost uses. Linux-based Apache servers are usually smart enough to simply run a Python script as long as a hashbang is present and the file is marked executable. Modern webhosts often use somewhat more complex frameworks but again it's just a matter of setting things up correctly.