Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
1,179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. defaultAdAlertDest= ['hsingh@gmail.com" "hariom.singh@gmail.com']
  2.  
  3. ["hsingh@arinc.com","hariom.singh@rockwellcollins.com"]
  4.  
  5. val = ','.join(str(x) for x in defaultAdAlertDest)
  6. new_list = val.split(" ")
  7.  
  8. In [31]: new_list
  9. Out[31]: ['hsingh@gmail.com"', '"hariom.singh@gmail.com']
  10.  
  11. with all the garbled quotation marks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement