Talk:Generating TSP art from a stippled image

From Evil Mad Scientist Wiki
Jump to: navigation, search

I'm a beginner with Python, I'm used to using C++. I tried to use your software to generate TSP-Art, after correcting (hopefully) syntax errors due to Python3, on the "tspart.py", "tspbitcity.py" and "tspsolution.py" files, I keep getting errors of various types on the generation of the files. For example: $ python3 tspart2.py a.PBM Loading bitmap file a.PBM ... Traceback (most recent call last):

  File "tspart.py", line 241, in <module>
    if not cities.load( infile ):
  File "/home/renato/Graphic-Work/Drawing-single-line/A/work/tspbitcity.py", line 280, in load
    f = open( self.infile, 'rb' )

FileNotFoundError: [Errno 2] No such file or directory: 'a.PBM'




In response to the above unsigned comment/request for help: We can not provide technical support or other guidance in response to comments left on the wiki like this.

Windell Oskay / Evil Mad Science (talk) 09:37, 18 February 2023 (PST)