I am now doing CS50W project 1. After letting user login and having enabled the user to do the book search, I need a way to keep track of the user when he or she is browsing from one page to another. I wonder how I can do that in python. In java that I am used to, I will set up a static variable from the start and set the value after the user login and the same variable can be passed from one function to the other. Is there any equivalent in python?
Thanks. Hoi Fei