math1um / objects-invariants-properties

Objects, Invariants and Properties for Graph Theory (GT) automated conjecturing: in particular with the Sage program CONJECTURING: http://nvcleemp.github.io/conjecturing/
GNU General Public License v3.0
15 stars 6 forks source link

problem with load_dimacs_graphs() #621

Open math1um opened 3 years ago

math1um commented 3 years ago

the function definition has the following import which no longer exists in Python3:

from cStringIO import StringIO

a discussion of a replacement is here:

https://stackoverflow.com/questions/57472080/modulenotfounderror-no-module-named-cstringio

it looks like we can use:

from io import StringIO

of course, this needs to be tested!