How to link pages

I have two different files, signup.py and home.py
On finishing signup I want the user to be redirected to home.py.
Is there any way this can be done?
Please answer