On Tue, 30 Oct 2007, Shriphani Palakodety wrote: > Hello, > > I found this amazing thing: > http://developer.mozilla.org/en/docs/My_Chrome_Oven:_Generating_XUL_with_Python > > I am happy that I finally can work my way around in python. > Can someone tell me how to get previews of files (like in nautilus) using > python ? > > Regards, > Shriphani Palakodety >
To be able to work with Python, you would require Python-XUL bindings ! What that means is: Python gets to access XPConnect, since thats where all the nsComponents live ! You might want to try working through PyXPCOM links on http://swik.net/xpcom+python While all of us have our favourite programming languages, the state of art in writing firefox extensions continues to be XUL + JavaScript + CSS. JavaScript inside Firefox always, yes "always" will have the most stable and fully supported bindings to XPCOM. The amount of investment of time and contributors all the way upto JavaScript 4 (ES4) is huge and that means we are going to see better features and improved capabilities. Try to look at Firefox Extension writing from that perspective. thanks Saifi.

