How to get each url on different pages in deploying?

In deploying with github, i suppose that one .py file is connecting with one url.
is there any way to get each url on different pages?