adeshpande3 / March-Madness-ML

Machine learned bracketology
190 stars 68 forks source link

Fixed Python 2 > Python 3 Errors #9

Closed breadbored closed 5 years ago

breadbored commented 5 years ago

Writing the CSV and printing some data were not working, so I updated it so that the file runs out of the box.

adeshpande3 commented 5 years ago

What was the reasoning behind removing the 'b' mode again? I wrote this part of the code a while ago, so can't remember the exact reason I had it in there.

breadbored commented 5 years ago

Python 3 now just uses 'w' instead of 'wb' like Python 2 uses. I actually have 0 idea why this change was made, but it's the only way to make it work in Python3.7

adeshpande3 commented 5 years ago

Gotcha sounds good thanks!