get_session.py file to access session data

Changed some tabs to spaces.