# solution for StringIO issue in safeurl.py - open safeurl.py and change `import StringIO` `to` `import io ` # Now open handler.py and do following - go to line 11 and change ` from cgi import escape` `to` `from html import escape` - Add this below line 11 `import html` - Go to line 4 in handler.py and change `urlparse` `to` `urlib.parse`
solution for StringIO issue in safeurl.py
import StringIOtoimport ioNow open handler.py and do following
go to line 11 and change
from cgi import escapetofrom html import escapeAdd this below line 11
import htmlGo to line 4 in handler.py and change
urlparsetourlib.parse