Handling Menubars in WXGlade

2007-11-23 Thread jatin patni
Hi, I recently started working on WXGlade...

I found some amount of documentation online

I am having problems integrating event handlers with MenubarsI
want each menu item to open a new window with custom made
controls...but I can't find it anywhere.Writing event handler is
secondary actually...How can I attach each menu item with a custom
dialog or another window

Sorry for the newbie slangI am new to programming...
Thanks

-- 
[EMAIL PROTECTED]
Ph: 91-9953411751
http://jatinpatni.co.nr
-- 
http://mail.python.org/mailman/listinfo/python-list


Problem in the program flow...please help?

2008-01-09 Thread jatin patni
I am making a python application with a GUI using WXGlade which connects to
a website and extracts some information, this takes around 5-20 seconds of
time per website.

I have a button(GUI) which when clicked, calls a function connect( ) which
takes around 5-20 seconds to complete(As I mentioned Earlier)
The problem is, during this time the other part of the code is rendered
useless, I cannot access other parts of the code, for example a cancel( )
function to be called when cancel button is pressed, cannot be pressed until
the previous function is completed and moreover the GUI hangs(stops
responding).

I am planning to explore Threading and Asynchronous data transfer, next.
Please help me out if anyone has had a similar experience in the past.

Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list

Re(Thanks...Re: Problem in the program flow...please help?)

2008-01-09 Thread jatin patni
Thanks Jerry..For the link...I am looking into it...

On Jan 9, 2008 2:36 PM, Jerry Hill <[EMAIL PROTECTED]> wrote:

> On Jan 9, 2008 7:44 AM, jatin patni <[EMAIL PROTECTED]> wrote:
> > I have a button(GUI) which when clicked, calls a function connect( )
> which
> > takes around 5-20 seconds to complete(As I mentioned Earlier)
> > The problem is, during this time the other part of the code is rendered
> > useless, I cannot access other parts of the code, for example a cancel(
> )
> > function to be called when cancel button is pressed, cannot be pressed
> until
> > the previous function is completed and moreover the GUI hangs(stops
> > responding).
>
> See http://wiki.wxpython.org/LongRunningTasks for a discussion of some
> of the ways you can deal with this.
>
> --
> Jerry
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Problem in importing modules using py2exe

2008-01-09 Thread jatin patni
I am trying to generate binaries on Windows platform using py2exe, but it is
unable to import this module named "Mechanize". The error says " it could
not find this module"...while the module is present along with all the other
modules "Python/Lib/site-packages/"...

Any help would be appreciated...Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Import module conflict

2008-01-10 Thread jatin patni
>Suppose I've a module named "urllib" and from it I need to import the
>urllib module from the python standart library.

>¿how can I do this?

>The problem I found is that when I do:


>import urrlib

>The imported module is itself, and not the one from the stdlib.

>Any idea?

Try this:
*from stdlib import urllib

I am a newbie but this might help
*
-- 
http://mail.python.org/mailman/listinfo/python-list

Help installing python spider monkey

2008-02-03 Thread jatin patni
Hi, I am having trouble installing python-spidermonkey module.
It requires mozillas spidermonkey to be built and installed.

Could anyone guide me in the right direction.
I just have python installed and not vc++ etc.

Please help.:(
-- 
http://mail.python.org/mailman/listinfo/python-list