Example py works with either remote or local data