Pythonista solution for DietCoda OffLine code edit