[wxPython] connecting to mySQL

Thanks.

Your suggestions worked just fine. I was trying to make it harder than
it actually was.

Now that I can connect, I was able to select and print 1000 records to
Python Shell.

I created a text control using:
   
self.out=wxTextCtrl(panel, -1, '', style=wxTE_MULTIPLINE)

but it only has space to WriteText for 364 records.

How can I expand self.out to be able to hold 1000 records?

···

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

DJ Webre wrote:

Thanks.

Your suggestions worked just fine. I was trying to make it harder than
it actually was.

Now that I can connect, I was able to select and print 1000 records to
Python Shell.

I created a text control using:
   self.out=wxTextCtrl(panel, -1, '', style=wxTE_MULTIPLINE)
but it only has space to WriteText for 364 records.

How can I expand self.out to be able to hold 1000 records?

Use a wxListControl. We use it for our database application, and even 10.000 records are displayed in no time, nicely put into the list control columns

Horst