Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bruno@Solo:~/Desktop/po$ python heuristic.py 6_10_origin.TXT
- Traceback (most recent call last):
- File "heuristic.py", line 76, in <module>
- main(sys.argv)
- File "heuristic.py", line 70, in main
- instance.from_raw_string(text_instance)
- File "/home/bruno/Desktop/po/instance.py", line 15, in from_raw_string
- tokens = raw.replace("\r\n", "\n").replace("\n", " ").split(" ")
- AttributeError: 'list' object has no attribute 'replace'
Add Comment
Please, Sign In to add comment