# Existing imports import os import sys # Global variable to store the saved character saved_character = None