Is there, in Python, a session system as it exists in PHP?
I need to do an access control for a Python application that uses the database. I have already developed a similar (but web) project with PHP and used its session feature and found it very practical and therefore wanted to implement something similar in this new application.
Note: this is not a web project, but rather a local application.