Yes, you always need to include a script.py file.
The script.py controls the RPi GPIO ports,, I2C and rest of your connected hardware.
The HTML displays your webpage content, (use CSS to style), javascript will interface
the HTML to call python scripts and functions in script.py
There are some tutorials, framework basis (which I think Eric meant "Framework Basic")
link below: