How To Prevent Python Program From Closing