[Tutor] Web Browser in Python

R. Alan Monroe amonroe at columbus.rr.com
Wed Aug 3 14:32:52 CEST 2005


>> I need to program a web browser in python.I dont have any idea of how to
>> start, what i do have is time and willingness to learn.Could anyone direct
>> me to some suitable reference? 
>> Shitiz
>> 

> How about Grail http://grail.sourceforge.net/ ?

Looks neat, but it doesn't run on my box:

C:\net\grail-0.6>grail.py
C:\net\grail-0.6\grailbase\app.py:6: DeprecationWarning: the regex module is deprecated; please use the re module
  import regex
C:\Python23\lib\regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub()
  DeprecationWarning)
Traceback (most recent call last):
  File "C:\net\grail-0.6\grail.py", line 499, in ?
    main()
  File "C:\net\grail-0.6\grail.py", line 108, in main
    app = Application(prefs=prefs, display=display)
  File "C:\net\grail-0.6\grail.py", line 248, in __init__
    self.stylesheet = Stylesheet.Stylesheet(self.prefs)
  File "C:\net\grail-0.6\Stylesheet.py", line 21, in __init__
    self.load()
  File "C:\net\grail-0.6\Stylesheet.py", line 45, in load
    massaged.append((g, c), v % fparms_dict)
TypeError: append() takes exactly one argument (2 given)



More information about the Tutor mailing list