I use python 3.4.
Generating code with the error info:
Traceback (most recent call last):
File "ribosome.py", line 371, in
line = dnastack[-1][0].readline()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 285: illegal
multibyte sequence

TAS57x7_Param_c_tpl.py.dna.txt
My *.dna file has been attached.