how to print a session variable in flask code example Example: session pop flask tutorial point session.pop('username', None)