using os.walk to generate objects

2008-12-03 Thread Joe Hrbek
The code below works (in linux), but I'm wondering if there is a better/easier/cleaner way? It works on directory trees that don't have a lot of "."s in them or other special characters. I haven't implemented a good handler for that yet, so if you run this in your system, choose/make a simple dire

javascript to python

2008-10-02 Thread Joe Hrbek
Could someone help me translate to something that would close to it in python? The anonymous functions are giving me problems. var dataListener = { data : "", onStartRequest: function(request, context){}, onStopRequest: function(request, context, status){ instream.cl

Re: ANN: Python GUI development using XULRunner

2008-09-24 Thread Joe Hrbek
Todd, this is great! Thanks for your work on this. I've been using your extension for awhile, successfully creating little apps. Your gui_app template has been a huge help in advancing my understanding of how things fit together...takes some of the guesswork out. :) Thanks again, -j On Sep 16

Re: python and xulrunner

2006-05-01 Thread joe . hrbek
Well, it's my understanding (I could be wrong), that pyxpcom is to enable firefox/mozilla to use python. My interest is more in the area of xulrunner. I've read that page several times and pulled compiler/linker build steps from it, but never followed it exactly. I suppose I can try pyxpcom inste

python and xulrunner

2006-04-30 Thread joe . hrbek
Hi everyone, sorry, this post is a bit off topic. I posted this on a devel xul thread on the mozilla groups but didn't get a response. My hope is that some of you may have interest in this and have tried it yourself. I've been trying to get xulrunner compiled with python (in windows) but have be

Re: strange math?

2006-03-18 Thread joe . hrbek
Thanks for the great reply, Steve, et al. -j -- http://mail.python.org/mailman/listinfo/python-list

strange math?

2006-03-18 Thread joe . hrbek
Hello everyone, I'm experimenting with python and i'm following this tutorial: http://docs.python.org/tut/node6.html#SECTION00640 I'm in section 4.7.5 Lambda Forms. In this section I was working along and I noticed something strange. It happened because of a typo. Below is a co