Assume you have a list
>>> m = [\'a\',\'b\',\'c\']
I\'d like to make a new list n that has everything except for a given
n
You can create a new list without the offending element with a list-comprehension. This will preserve the value of the original list.
l = ['a', 'b', 'c'] [s for s in l if s != 'a']