>>> d = [1,'q','3', None, 'temp'] >>> ['None' if v is None else v for v in d] [1, 'q', '3', 'None', 'temp']