Guest User

Untitled

a guest
Oct 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. bruno@Solo:~/Desktop/po$ python heuristic.py 6_10_origin.TXT
  2. Traceback (most recent call last):
  3. File "heuristic.py", line 76, in <module>
  4. main(sys.argv)
  5. File "heuristic.py", line 70, in main
  6. instance.from_raw_string(text_instance)
  7. File "/home/bruno/Desktop/po/instance.py", line 15, in from_raw_string
  8. tokens = raw.replace("\r\n", "\n").replace("\n", " ").split(" ")
  9. AttributeError: 'list' object has no attribute 'replace'
Add Comment
Please, Sign In to add comment