Subj : Re: Equivalent of JS_InitClass for global object? To : netscape.public.mozilla.jseng From : David Bradley Date : Sun Aug 24 2003 11:26 pm John J. Lee wrote: > I've written a Javascript/Python bridge. I can implement Javascript > objects in Python, except for one case: I can't implement the JS > global object in Python (in particular, I want to implement the > "window" object found in web browsers' object models). Have you looked a PyConnect? The code may be in a bit of disarray, not sure how well maintained it is, but it might be an easier task to get it in order than reinvent it: http://lxr.mozilla.org/mozilla/source/extensions/python/xpcom/ David Bradley .