Display a list using PyQt

2009-02-15 Thread member Basu
I'm writing an application with PyQt as the GUI toolkit. I have a function that returns a simple list and I would like to update a List View widget with it. However I can't get it to work. I'm not sure if I need to subclass one of the Model classes, because it is just a list. Can someone point me

Py2app Py2exe and losing extensibility

2009-02-09 Thread member Basu
I'm currently working on a project that allows users to write their own Python modules as simple extensions (basically output formatters). I would like to do a cross-platform release and so I'm using PyQt and will be trying to convert it to native builds using Py2app and Py2xe. I don't want users

Re: Get a list of functions in a file

2008-12-29 Thread member Basu
Thanks for all your replies, but the thing is I want to get the list of functions in that file itself, not by importing it as a module. I've decided to go with a class-based approach due to a number of other reasons, but I'm still interested in a way to get function name in that file itself.

Get a list of functions in a file

2008-12-28 Thread member Basu
I'm putting some utility functions in a file and then building a simple shell interface to them. Is their some way I can automatically get a list of all the functions in the file? I could wrap them in a class and then use attributes, but I'd rather leave them as simple functions. Thanks, Basu --