TypeError: 'write() argument 1 must be unicode, not str'
python 2.7
:~/parser$ parserator init test_123
Initializing directories for test_123 <open file '
- test_123 <open file '
', mode 'w' at 0x7f98203211e0> - raw <open file '
', mode 'w' at 0x7f98203211e0> - training <open file '
', mode 'w' at 0x7f98203211e0> - tests <open file '
', mode 'w' at 0x7f98203211e0>
Generating init.py <open file '
replacing "w" with "wb" https://stackoverflow.com/questions/45520097/wb-vs-w-in-unix-for-python
seems to fix it