Adding a DB regs to a wx listbox

2007-06-12 Thread Marcpp
Hi, I need add to a listbox a list of items extracted from a database. This is that I've do: class tasques(wx.Frame): def __init__(self, *args, **kwds): self.list_box_1_copy = wx.ListBox(self, -1, choices=[], style=wx.LB_SINGLE|wx.LB_ALWAYS_SB) ... How I add the list to choices?

wx Listbox event

2007-06-13 Thread Marcpp
Hi, I need to charge a list when starts the program. I've tried a few events like: self.llistatids = wx.ListBox(self, -1, choices=['a'], style=wx.LB_SINGLE|wx.LB_ALWAYS_SB) self.llistatids.SetBackgroundColour(wx.Colour(255, 255, 220)) self.llistatids.Bind(wx.EVT_LISTBOX, self.carrega_llistatids)

Function that returns a tuple

2007-06-16 Thread Marcpp
Hi, I need to returns a tuple from a function (reads a database) Any idea?. -- http://mail.python.org/mailman/listinfo/python-list

Re: Function that returns a tuple

2007-06-17 Thread Marcpp
On 17 jun, 03:53, Dan Hipschman <[EMAIL PROTECTED]> wrote: > On Sat, Jun 16, 2007 at 06:30:26PM -0700, Marcpp wrote: > > Hi, I need to returns a tuple from a function (reads a database) > > Any idea?. > > Like this? > > def foo(): > return 1, 2, 3, 4 Hi

WX call a pywx program from a program, and return values

2007-06-24 Thread Marcpp
I need to call a pywx program(1) from an wxpy program(2) and return a value to program(2). Any example to do it? -- http://mail.python.org/mailman/listinfo/python-list

WXPYTHON push button call a frame

2007-07-05 Thread Marcpp
Hi I need to call a widget from a button in WXPYTHON. I've tried to this from a function like this, but when push the button, the program opens a window and do error. Any idea? . def DialogRRHH(self,event): prog = wx.PySimpleApp(0) wx.InitAllImageHandlers() DialogRR

Re: WXPYTHON push button call a frame

2007-07-05 Thread Marcpp
On 5 jul, 14:51, Steve Holden <[EMAIL PROTECTED]> wrote: > Marcpp wrote: > > Hi I need to call a widget from a button in WXPYTHON. I've tried to > > this from a function like this, but when push the button, the program > > opens a window and do error. > > Any

wx DatePicker (set blank values)

2007-07-09 Thread Marcpp
I need to set a DatePicker to blank value and GetValue() needs to be 0. Thanks by advance. -- http://mail.python.org/mailman/listinfo/python-list

PYQT 3 communication with 2 windows

2007-04-19 Thread Marcpp
Hi, I'm introducing to program in python + pyqt. I have a main window that call a second window (to introduce a info with textedit) when press the second window button I need to return to the main window the info introduced in the second window. I've seek in the pyqt doc examples but i don't find i

Re: PYQT 3 communication with 2 windows

2007-04-24 Thread Marcpp
On 21 abr, 02:43, David Boddie <[EMAIL PROTECTED]> wrote: > On Thursday 19 April 2007 22:38, Marcpp wrote: > > > Hi, I'm introducing to program in python + pyqt. > > I have a main window that call a second window (to introduce a info > > with textedit) > &

Re: PYQT 3 communication with 2 windows

2007-04-24 Thread Marcpp
On 21 abr, 02:43, David Boddie <[EMAIL PROTECTED]> wrote: > On Thursday 19 April 2007 22:38, Marcpp wrote: > > > Hi, I'm introducing to program in python + pyqt. > > I have a main window that call a second window (to introduce a info > > with textedit) > &

Generating PDF reports

2007-07-26 Thread marcpp
Hi i'm introducing to do reports from python, any recomendation? -- http://mail.python.org/mailman/listinfo/python-list

Pyqt programming question

2007-04-12 Thread Marcpp
I have a program (python + pyqt), with a button I'll would to open a new dialog window to input text, when press save or ok, this text is returned to the principal program. I've seek in internet but i don't find anything. -- http://mail.python.org/mailman/listinfo/python-list

Re: Pyqt programming question

2007-04-12 Thread Marcpp
On 12 abr, 11:48, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Thursday 12 April 2007 10:23 am, Marcpp wrote: > > > I have a program (python + pyqt), with a button I'll would to open a > > new dialog window to input text, when press save or ok, this text is > >

Re: Pyqt programming question

2007-04-12 Thread Marcpp
On 12 abr, 12:07, "Marcpp" <[EMAIL PROTECTED]> wrote: > On 12 abr, 11:48, Phil Thompson <[EMAIL PROTECTED]> wrote: > > > On Thursday 12 April 2007 10:23 am, Marcpp wrote: > > > > I have a program (python + pyqt), with a button I'll would to open

Re: Pyqt programming question

2007-04-12 Thread Marcpp
On 12 abr, 12:34, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Thursday 12 April 2007 11:07 am, Marcpp wrote: > > > On 12 abr, 11:48, Phil Thompson <[EMAIL PROTECTED]> wrote: > > > On Thursday 12 April 2007 10:23 am, Marcpp wrote: > > > > I have a prog

Pyqt calling custom dialog

2007-04-12 Thread Marcpp
I need to call a custom dialog from a program, and return parameters. Any idea or example? -- http://mail.python.org/mailman/listinfo/python-list

Re: Any Pythonistas in Mexico?

2007-04-12 Thread Marcpp
On 12 abr, 09:41, Hugo González Monteverde <[EMAIL PROTECTED]> wrote: > Hola, > > Leí este mail viejísimo en una lista. Yo uso Python y también quería > saber quién pythoneaba en México. Todavía estás por ahí? > > Saludos, > > Hugo G. Yo vivo en España. Usas el pyqt? -- http://mail.python.org/ma

Qt4 in ubuntu

2007-04-15 Thread Marcpp
Is possible install Qt4 pyqt4 under kubuntu? Few times ago i tried to run pyqt in ubuntu (gnome) but i can't do it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Qt4 in ubuntu

2007-04-16 Thread Marcpp
On 15 abr, 22:54, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Marcpp schrieb: > > > Is possible install Qt4 pyqt4 under kubuntu? > > Few times ago i tried to run pyqt in ubuntu (gnome) but i can't > > do it. > > It's certainly possible

Pyqt calling a custom dialog and returning the vars

2007-04-16 Thread Marcpp
I call a dialog from a principal program but cannot return the value of the variables (text box's). Here is a example... from ui import Agenda from dialog1 import dialogo1 from PyQt4 import * import dbm import sys class principal (QApplication): def __init__(self, args): """ In the

Re: Pyqt calling a custom dialog and returning the vars

2007-04-17 Thread Marcpp
On 17 abr, 00:03, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Marcpp schrieb: > > > > > I call a dialog from a principal program but cannot return the value > > of the > > variables (text box's). Here is a example... > > > from ui i

Program with wx in Linux and Windows

2007-10-04 Thread marcpp
Hi I've developed a program (WXpython GUI). In Linux the GUI is correct (various distributions), but in Windows all appears disordered. Any recomendations? -- http://mail.python.org/mailman/listinfo/python-list

Working with shared folders

2007-01-23 Thread Marcpp
Any idea to work with windows shared folders? Which library is needed to execute console comands? Thankyou. -- http://mail.python.org/mailman/listinfo/python-list

Re: I need suggests

2007-01-23 Thread Marcpp
Hi, I'm using SPE (Stani's Python Editor) http://projects.blender.org/projects/spe It works very good and incorporates WX support. Pat wrote: > I have to do a big programm. Could someone give me some suggests about > IDE (on Linux) and books to learn. -- http://mail.python.org/mailman/listinfo/

Mounting shares with python

2007-01-26 Thread Marcpp
Hi, when i mount a share with python... os.system ("mount -t smbfs -o username=nobody ...") the problem is that I'll to be root. Have a comand to send a root password...? I've tried os.system ("su") os.system ("the password") but it doesn't works. -- http://mail.python.org/mailman/listinfo/py