If I have a list comprehension (for example) like this:
[\'\' for x in myList]
Effectively making a new list that has an empty string for e
The generator objects don't actually use the variables. So something like
list(('' for x in myList))
should do the trick. Note that x is not defined as a variable outside of the generator comprehension.