python – Raspberry pi control from a private ip

So, i have a raspberry pi and was wondering, How do i host a html,css and python based website. Its not really a website. But i want to use python in it so i can control features on my raspberry pi from the ip. For example, make a website that i can go onto my phone and put a link in and it opens on my raspberry pi, or a media player. Anything. But is there a way? I want to make it boot on start and launch it using python.

Sorry if this was weird.

i know theres a dependency for python that allows for this, but i cant find it. Also i am not sure you can use python on it.

Read more here: Source link