python - Issue with ® symbol crashing IDLE -


i doing assessment university have scrape websites , display information using tkinter. website using uses ® symbol instead html code ®. every time run code, idle crashes. wondering if knows way around issue.

    urllib import urlopen     re import findall     tkinter import *     htmlparser import *      games_window = tk()     games_window.title('top 10 games specials')     games_window.geometry('1000x1000')       games_contents = urlopen("http://store.steampowered.com/search/?specials=1").read()     gam_info = findall('<img src="([\w\.:/]*.jpg[?t=0-9]*)[a-z\s?="<>/_]*([\w\.\-\(\) \':$&!®]*)[a-z\s/<>="_]*([\w ,]*)[\w\s/<>="&-;%#]*([0-9\.$]*)[\w\s/<>]*([0-9\.$]*)',games_contents)      info01 = label(games_window, text = gam_info[0][1], font=("courier", 15), relief=sunken)      info01.place(x = 230, y = 450)      games_window.mainloop() 


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -