Howw to prevent the duplication of any value in a column within a CSV file (python)

Chris Angelico rosuav at gmail.com
Wed Apr 27 02:37:27 EDT 2016


On Wed, Apr 27, 2016 at 4:26 PM, Adam Davis <peakgraphicz at gmail.com> wrote:
> I understand what you're saying! But where you say: " the_set = set()", what would go within the set brackets?

Nothing. The empty parentheses mean "call this with no arguments", and
when you call the set constructor like that, you get back an empty
set.

ChrisA



More information about the Python-list mailing list