This question is based on this answer.
I\'m looking for a function similar to PHP\'s session_start() for Python. I want to access a dictionary like
You might consider looking into the Beaker library for Python which isn't tied to any one web framework an will work in a WSGI compatible environment:
http://beaker.groovie.org/
Beaker is a library for caching and sessions for use with web applications and stand-alone Python scripts and applications. It comes with WSGI middleware for easy drop-in use with WSGI based web applications, and caching decorators for ease of use with any Python based application.