Removing python mode