I ran into this issue when trying Inelastica out -- it would simply fail with the message that string module has no attribute named 'split'. It turns out that a lot of things were removed from the string module in python 3. Fortunately most fixes were doable by find-replace all (eg. string.atoi -> int) or regex.
As a fun fact, I found out that usage of some of these string module functions have been deprecated since version 2.0 of Python, released in 1991 (according to the py 2.7 docs). But others seem to have been removed as well in the py3 transition. Inelastica is now free of the string module.
I ran into this issue when trying Inelastica out -- it would simply fail with the message that string module has no attribute named 'split'. It turns out that a lot of things were removed from the string module in python 3. Fortunately most fixes were doable by find-replace all (eg.
string.atoi
->int
) or regex.As a fun fact, I found out that usage of some of these string module functions have been deprecated since version 2.0 of Python, released in 1991 (according to the py 2.7 docs). But others seem to have been removed as well in the py3 transition. Inelastica is now free of the string module.