Problem with wxPython 2.6.1

2005-08-21 Thread Mario Lacunza
Hello!

Im newbie in Linux, I have instaled Ubuntu 5.04, but I couldt install
the wxPython 2.6.1, anybody help me??

For this reason I dont do my Job , because I use SpeIde and Boa
Constructor, and both dont run with the old v wxPython 2.5.3

Thanks in advance!!

-- 
Saludos / Best regards

Mario Lacunza
Desarrollador de Sistemas - Webmaster
Email: [EMAIL PROTECTED]
Email: [EMAIL PROTECTED]
Messenger MSN: [EMAIL PROTECTED]
Website: http://www.lacunza.tk
Lima - Peru
-- 
http://mail.python.org/mailman/listinfo/python-list


Some questions...

2005-02-09 Thread Mario Lacunza
Hello,

Im new in Python, please  I need some information:

- Somebody know if: is possible use Python within Net Framework in
windows environment??
- Where found info about reports in Python? exist some program like
Crystal Reports??
-  Database access: Firebird , I dont found correct information about
this tools and his conection/working with Python.

Thanks!!!

-- 
Saludos / Best regards

Mario Lacunza
Email: [EMAIL PROTECTED]
Lima - Peru
-- 
http://mail.python.org/mailman/listinfo/python-list


Problems with Sizers

2006-08-16 Thread Mario Lacunza
, style=0)
self.lblPostal.SetToolTipString(u'Ubigeo')

def __init__(self, parent):
self._init_ctrls(parent)

self.CargarSizers(parent)

#Instancia la Clase
 #   self.oPostal=Postal()

#Establece el encoding segun el OS
# TODO: Revizar este codigo de encoding
if wx.Platform=="__WXMSW__":
self.encode='iso-8859-1'
elif wx.Platform=="__WXGTK__":
self.encode='utf8'

  #  self.CargarComboPais()
  
#---
def CargarSizers(self,parent):
""" Funcion q cargara los sizers del form."""

panel=wx.Panel(self)

#Se declara el Sizer principal
mSizer=wx.BoxSizer(wx.HORIZONTAL)

#Agregar sizer de ctrls
ctrlSizer=wx.FlexGridSizer(rows=6,cols=2,hgap=5,vgap=5)
ctrlSizer.AddGrowableCol(1)

#Se agregan los controles
ctrlSizer.Add(self.lblPais,0,wx.ALIGN_RIGHT|
wx.ALIGN_CENTER_VERTICAL)
ctrlSizer.Add(self.cboPais,0,wx.EXPAND)
ctrlSizer.Add(self.lblDpto,0,wx.ALIGN_RIGHT|
wx.ALIGN_CENTER_VERTICAL)
ctrlSizer.Add(self.cboDpto,0,wx.EXPAND)
ctrlSizer.Add(self.lblProv,0,wx.ALIGN_RIGHT|
wx.ALIGN_CENTER_VERTICAL)
ctrlSizer.Add(self.cboProv,0,wx.EXPAND)
ctrlSizer.Add(self.lblDistro,0,wx.ALIGN_RIGHT|
wx.ALIGN_CENTER_VERTICAL)
ctrlSizer.Add(self.cboDistri,0,wx.EXPAND)
ctrlSizer.Add(self.lblCod,0,wx.ALIGN_RIGHT|
wx.ALIGN_CENTER_VERTICAL)
ctrlSizer.Add(self.lblPostal,0,wx.EXPAND)
ctrlSizer.Add(self.btnOk, 1)
ctrlSizer.Add(self.btnCancelar,1)

#Agregar este sizer al Principal
mSizer.Add(ctrlSizer,0,wx.EXPAND|wx.ALL,10)

panel.SetSizer(mSizer)

mSizer.Fit(self)
mSizer.SetSizeHints(self)


#---
 
#---
def OnBtnOkButton(self, event):
self.Close(True)

def OnBtnCancelarButton(self, event):
self.Close(True)
#---

def OnCboPaisCombobox(self, event):
"""Carga el combo Departamento."""
"""
self.cboDpto.Clear()
self.cboDistri.Clear()
self.cboProv.Clear()

cb = event.GetEventObject()
#Obtengo el Key
kPais = cb.GetClientData(cb.GetSelection())
self.keyPais=kPais

rs=self.oPostal.CargarDepa(kPais)
i=0

for it in rs:
x=unicode(rs[i][1],self.encode)
self.cboDpto.Append(x,rs[i][0])
i+=1
"""
#---

def OnCboDptoCombobox(self, event):
"""Carga el combo Provincia."""
"""
self.cboProv.Clear()

cb=event.GetEventObject()
#Obtengo el Key
kDepa = cb.GetClientData(cb.GetSelection())
self.keyDepa=kDepa

rs=self.oPostal.CargarProv(kDepa)
i=0

for it in rs:
x=unicode(rs[i][1],self.encode)
self.cboProv.Append(x,rs[i][0])
i+=1

"""
#---

def OnCboProvCombobox(self, event):
""" Carga el combo Distritos."""
"""
self.cboDistri.Clear()

cb=event.GetEventObject()
#Obtengo el Key
kProv = cb.GetClientData(cb.GetSelection())
self.keyProv=kProv

rs=self.oPostal.CargarDist(self.keyDepa,kProv)
i=0

for it in rs:
x=unicode(rs[i][1],self.encode)
self.cboDistri.Append(x,rs[i][0])
i+=1

"""

#---

def OnCboDistriCombobox(self, event):
"""
cb=event.GetEventObject()
#Obtengo el Key
    kDist = cb.GetClientData(cb.GetSelection())
self.keyDist=kDist

self.GeneraUbigeo()
"""
#---

def GeneraUbigeo(self):
"""Genera el codigo de Ubigeo obtenido."""
"""
self.ubigeo=self.keyDepa+self.keyProv+self.keyDist

modGlobals.UBIGEO=self.ubigeo

#Pinta el codigo
self.lblPostal.SetLabel(self.ubigeo)

return self.ubigeo
"""
#---

-- 
Mario Lacunza <[EMAIL PROTECTED]>

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


About sizers..

2006-06-09 Thread Mario Lacunza
Hi,

Im build a cross platform application develop with Python and wxPython
and I ask for your opinions about if is a good choice use sizers for my
frames design? or not?

Other techniques?

Thanks in advance!


Mi configuracion/My config:

Ubuntu Dapper 6.06
Linux Kernel 2.6.15.23.386
Python 2.4.3
wxPython 2.6.1.2Pre

-- 
Saludos / Best regards 

Mario Lacunza Vásquez 
Desarrollador de Software - Webmaster 
Desarrollador 2 Estrellas VS2005

Website: http://mlacunzav.cogia.net 
Email  : mlacunza[AT]gmail[DOT]com
Email  : mario_lacunza[AT]yahoo[DOT]es 
Blog   : http://mlacunza.blogspot.com 
Lima - Peru

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

About sizers..

2006-06-09 Thread Mario Lacunza
Hi,

Im build a cross platform application develop with Python and wxPython
and I ask for your opinions about if is a good choice use sizers for my
frames design? or not?

Other techniques?

Thanks in advance!


Mi configuracion/My config:

Ubuntu Dapper 6.06
Linux Kernel 2.6.15.23.386
Python 2.4.3
wxPython 2.6.1.2Pre

-- 
Saludos / Best regards 

Mario Lacunza Vásquez 
Desarrollador de Software - Webmaster 
Desarrollador 2 Estrellas VS2005

Website: http://mlacunzav.cogia.net 
Email  : mlacunza[AT]gmail[DOT]com
Email  : mario_lacunza[AT]yahoo[DOT]es 
Blog   : http://mlacunza.blogspot.com 
Lima - Peru

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

Re: [wxPython-users] [ANN]UliPad 3.3 is released

2006-08-24 Thread Mario Lacunza
Hi,Is possible then you correct the path for download the sources Zip file?? I want to test this tool but I dont could donwload it...Thansk!2006/8/23, limodou <
[EMAIL PROTECTED]>:What's it?
It's an Editor based on wxPython. NewEdit is the old name, and UliPadis the new name. UliPad uses Mixin and Plugin technique as itsarchitecture. Most of its classes can be extended via mixin and plugincomponents, and finally become an integrity class at
creating the instance. So UliPad is very dynamic. You can write thenew features in new files, and hardly need to modify the existingcode. And if you want to extend the existing classes, you could writemixins and plugins, and this will be bound to the target class that I
call "Slot Class". This technique will make the changes centralizedand easily managed.What are its features?  *  Cross platformo   based on wxPython, so it can run anywhere that wxPython
works, such as: Windows, Linux.o   Unicode support.  *  Most features of wxStyledTextCtrl(Scintilla)o   Syntax highlighting, support Python, c/c++, html, plaintext, perl, ruby, css, _javascript_
o   Foldingo   Brace Matchingo   ...  *  Extended selectiono   Extended word selection -- You can pressCtrl+MouseDoubleClick to select a word including '.'o   Matched selection -- Select text in quoted chars like:
(), [], {}, '', "".  *  Other editing extensiono   Duplicating text -- Just like Vim Ctrl+V, Ctrl+P, andmore. You can duplicate above or below char, word, lineo   Quoting text -- Add some quoted chars before and after
selected text, just as: "", '', (), [], {}, ando   Text convertion and view -- python -> html, reStructuredText -> html, textile -> html, and you can output or viewo   Utf-8 encoding auto detect
o   Changing document encodingoAuto backupoLast session support -- It'll save all the filenames asclosed, and reopen the files as next started.oSmart judge the indent char -- It'll auto guess the
indent char, and sets it.oFinding in filesoBookmark support  *  Python supportobuilt-in python interactive window based on ?PyShell,support Unicodeo   Auto completion
o   Function syntax calltipso   Run, run with argument, stop python sourceo   Auto change current patho   Python class browsero   Indent pasting support(New)
  *  Code snippetso  You can manage your code snippets with categories, andeach category can have many items. Every item will represent a codesnippet. You can insert an item just by double-clicking on it. It even
supports importing and exporting.  *  Simple project supporto  Can create a special file _project, so every file andfolder under the folder which has the _project can be considered as awhole project.
  *  Extension mechanismo  Script -- You can write easy script to manipulate the allresource of UliPad, just like: text conversion, etc.o  Plugin -- Customized function. More complex but more
powerful. Can easily merge with UliPad, and can be managed via menu.o  Shell command -- Add often used shell commands, and execute them.  *  Ftp supporto  You can edit remote files through ftp. You can add,
rename, delete, upload, download file/directory.  *  Multilanguage supporto  Currently supports two languages: English and Chinese,which can be auto-detected.  *  Shipped plugins(must be configed as used them before)
o  Document links -- Python documentation and wxPython documentation.o  Many plugins can be found at UliPad wiki page.  *  Shipped scriptso  Many scripts can be found at UliPad wiki page.
  *  Wizard (New)o  You can make your own wizard template. The wizard caninput user data, combine with template, and output the result. Andwizard also support code framework created. This feature will help you
improving coding efficiency.  *  Direcotry Browser(New)o  Browse multiple directories, and you can really add,delete, rename directories and files. Double click will open the filein Editor window.
o  Support Copy, Cut, and Paste.o  Search in Directory  *  AutoComPlete(acp)(New)o  Suport user autocomplete file, it can help to input codevery helpful and functional. Just like EditPlus, but may be more
powerful.o  Manually apply some acp files to current document  *  Column Edit Mode(New)Where to download it?download lastest version 3.3:
http://wiki.woodpecker.org.cn/moin/UliPad?action="">also have windows installer:
http://wiki.woodpecker.org.cn/moin/UliPad?action="">wiki: http://wiki.woodpecker.org.cn/moin/UliPadsvn: 
http://cvs.woodpecker.org.cn/svn/woodpecker/ulipad/trunkmaillist: http://groups.google.com/group/ulipadIf you have any problem as using UliPad, welcome to join the UliPad
maillist to discuss.Hope fun!--I like

Re: [wxPython-users] [ANN]UliPad 3.3 is released

2006-08-24 Thread Mario Lacunza
Sorry, I correct me:Your link in the message not found, but the link in the web site work Ok.Thanks!2006/8/24, Mario Lacunza <[EMAIL PROTECTED]
>:Hi,Is possible then you correct the path for download the sources Zip file?? 
I want to test this tool but I dont could donwload it...Thansk!2006/8/23, limodou <
[EMAIL PROTECTED]>:
What's it?
It's an Editor based on wxPython. NewEdit is the old name, and UliPadis the new name. UliPad uses Mixin and Plugin technique as itsarchitecture. Most of its classes can be extended via mixin and plugincomponents, and finally become an integrity class at
creating the instance. So UliPad is very dynamic. You can write thenew features in new files, and hardly need to modify the existingcode. And if you want to extend the existing classes, you could writemixins and plugins, and this will be bound to the target class that I
call "Slot Class". This technique will make the changes centralizedand easily managed.What are its features?  *  Cross platformo   based on wxPython, so it can run anywhere that wxPython
works, such as: Windows, Linux.o   Unicode support.  *  Most features of wxStyledTextCtrl(Scintilla)o   Syntax highlighting, support Python, c/c++, html, plaintext, perl, ruby, css, _javascript_
o   Foldingo   Brace Matchingo   ...  *  Extended selectiono   Extended word selection -- You can pressCtrl+MouseDoubleClick to select a word including '.'o   Matched selection -- Select text in quoted chars like:
(), [], {}, '', "".  *  Other editing extensiono   Duplicating text -- Just like Vim Ctrl+V, Ctrl+P, andmore. You can duplicate above or below char, word, lineo   Quoting text -- Add some quoted chars before and after
selected text, just as: "", '', (), [], {}, ando   Text convertion and view -- python -> html, reStructuredText -> html, textile -> html, and you can output or viewo   Utf-8 encoding auto detect
o   Changing document encodingoAuto backupoLast session support -- It'll save all the filenames asclosed, and reopen the files as next started.oSmart judge the indent char -- It'll auto guess the
indent char, and sets it.oFinding in filesoBookmark support  *  Python supportobuilt-in python interactive window based on ?PyShell,support Unicodeo   Auto completion
o   Function syntax calltipso   Run, run with argument, stop python sourceo   Auto change current patho   Python class browsero   Indent pasting support(New)

  *  Code snippetso  You can manage your code snippets with categories, andeach category can have many items. Every item will represent a codesnippet. You can insert an item just by double-clicking on it. It even
supports importing and exporting.  *  Simple project supporto  Can create a special file _project, so every file andfolder under the folder which has the _project can be considered as awhole project.
  *  Extension mechanismo  Script -- You can write easy script to manipulate the allresource of UliPad, just like: text conversion, etc.o  Plugin -- Customized function. More complex but more
powerful. Can easily merge with UliPad, and can be managed via menu.o  Shell command -- Add often used shell commands, and execute them.  *  Ftp supporto  You can edit remote files through ftp. You can add,
rename, delete, upload, download file/directory.  *  Multilanguage supporto  Currently supports two languages: English and Chinese,which can be auto-detected.  *  Shipped plugins(must be configed as used them before)
o  Document links -- Python documentation and wxPython documentation.o  Many plugins can be found at UliPad wiki page.  *  Shipped scriptso  Many scripts can be found at UliPad wiki page.
  *  Wizard (New)o  You can make your own wizard template. The wizard caninput user data, combine with template, and output the result. Andwizard also support code framework created. This feature will help you
improving coding efficiency.  *  Direcotry Browser(New)o  Browse multiple directories, and you can really add,delete, rename directories and files. Double click will open the filein Editor window.
o  Support Copy, Cut, and Paste.o  Search in Directory  *  AutoComPlete(acp)(New)o  Suport user autocomplete file, it can help to input codevery helpful and functional. Just like EditPlus, but may be more
powerful.o  Manually apply some acp files to current document  *  Column Edit Mode(New)Where to download it?download lastest version 3.3:

http://wiki.woodpecker.org.cn/moin/UliPad?action="">also have windows installer:

http://wiki.woodpecker.org.cn/moin/UliPad?

Problems with PyGridTableBase

2006-09-08 Thread Mario Lacunza

Hello,

I attach two files:frmClientes and frmClientesNE.

frmClientes charge a Grid with resume Costumers data: Name, Commercial
ID, address, etc. and edition options.

frmClientes in 

Line 178
def OnBtnNuevoButton(self, event):

call to frmClientesNE. Its append a new record to the database and clear
all controls and when I close it, the grid in frmClientes: grClte must
be recharge with the new data, but that dont work. Only work when a
Delete some record.

I couldnt send yours a runable .py version, because both of them files
pickup data from a Firebird's database. 

I try to implement the wxPython Demo model: Grid_MegaExample, follow
that my class Grilla must be:

Line 224:
class Grilla(Grid.Grid):

but for the Boa Constructors controls creation I couldnt inherit from
Grid.Grid, thats my problem, I need your help I try for two days and
nothing :-( ... some ideas??

Thanks in advance!!


-- 
Mario Lacunza <[EMAIL PROTECTED]>
# -*- coding: utf8 -*-#
#Boa:Frame:frmClientes

__version__='0.5'
__autor__='Mario Lacunza Vasquez <[EMAIL PROTECTED]>'

import wx
import wx.grid
import modGlobals
from Conectar import Conectar
import errores

def create(parent):
return frmClientes(parent)

[wxID_FRMCLIENTES, wxID_FRMCLIENTESBRNSALIR, wxID_FRMCLIENTESBTNBORRAR, 
 wxID_FRMCLIENTESBTNEDIT, wxID_FRMCLIENTESBTNNUEVO, wxID_FRMCLIENTESGRCLTE, 
 wxID_FRMCLIENTESLBLTITULO, wxID_FRMCLIENTESPANEL1, 
] = [wx.NewId() for _init_ctrls in range(8)]

class frmClientes(wx.Frame):
def _init_coll_fsGrid_Growables(self, parent):
# generated method, don't edit

parent.AddGrowableRow(0)

def _init_coll_fsGrid_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.grClte, 0, border=2, flag=wx.EXPAND | wx.ALL)

def _init_coll_fsBtn_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.btnNuevo, 0, border=2, flag=wx.EXPAND | wx.ALL)
parent.AddWindow(self.btnEdit, 0, border=2, flag=wx.EXPAND | wx.ALL)
parent.AddWindow(self.btnBorrar, 0, border=2, flag=wx.EXPAND | wx.ALL)
parent.AddWindow(self.brnSalir, 0, border=2, flag=wx.EXPAND | wx.ALL)

def _init_coll_fsTit_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.lblTitulo, 0, border=6, flag=wx.EXPAND)

def _init_coll_bsClte_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.panel1, 1, border=0, flag=wx.EXPAND)

def _init_coll_fsTit_Growables(self, parent):
# generated method, don't edit

parent.AddGrowableRow(0)

def _init_coll_fsClte_Growables(self, parent):
# generated method, don't edit

parent.AddGrowableRow(0)
parent.AddGrowableRow(1)
parent.AddGrowableRow(2)
parent.AddGrowableCol(0)

def _init_coll_fsClte_Items(self, parent):
# generated method, don't edit

parent.AddSizer(self.fsTit, 1, border=5,
  flag=wx.ALIGN_CENTER_HORIZONTAL)
parent.AddSizer(self.fsGrid, 1, border=10,
  flag=wx.ALIGN_CENTER_HORIZONTAL)
parent.AddSizer(self.fsBtn, 1, border=5,
  flag=wx.ALIGN_CENTER_HORIZONTAL)

def _init_sizers(self):
# generated method, don't edit
self.bsClte = wx.BoxSizer(orient=wx.VERTICAL)

self.fsClte = wx.FlexGridSizer(cols=1, hgap=0, rows=0, vgap=0)

self.fsTit = wx.FlexGridSizer(cols=1, hgap=0, rows=0, vgap=0)

self.fsGrid = wx.FlexGridSizer(cols=1, hgap=5, rows=0, vgap=5)

self.fsBtn = wx.FlexGridSizer(cols=4, hgap=0, rows=0, vgap=0)

self._init_coll_bsClte_Items(self.bsClte)
self._init_coll_fsClte_Growables(self.fsClte)
self._init_coll_fsClte_Items(self.fsClte)
self._init_coll_fsTit_Growables(self.fsTit)
self._init_coll_fsTit_Items(self.fsTit)
self._init_coll_fsGrid_Growables(self.fsGrid)
self._init_coll_fsGrid_Items(self.fsGrid)
self._init_coll_fsBtn_Items(self.fsBtn)

self.SetSizer(self.bsClte)
self.panel1.SetSizer(self.fsClte)

def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Frame.__init__(self, id=wxID_FRMCLIENTES, name=u'frmClientes',
  parent=prnt, pos=wx.Point(352, 148), size=wx.Size(589, 514),
  style=wx.DEFAULT_FRAME_STYLE, title=u'Clientes')
self.SetClientSize(wx.Size(589, 514))

self.panel1 = wx.Panel(id=wxID_FRMCLIENTESPANEL1, name='panel1',
  parent=self, pos=wx.Point(0, 0), size=wx.Size(589, 514),
  style=wx.TAB_TRAVERSAL)

self.lblTitulo = wx.StaticText(id=wxID_FRMCLIENTESLBLTITULO, label=u'',
  name=u'lblTitulo', parent=self.panel1, pos=wx.Point(258, 0),
  size=wx.Size(72, 19), style=0)
self.lblTitulo.Center(wx

[Fwd: Problems with PyGridTableBase]

2006-09-09 Thread Mario Lacunza
- Mensaje reenviado 
De: Mario Lacunza <[EMAIL PROTECTED]>
Para: Lista Python Ing 
Asunto: Problems with PyGridTableBase
Fecha: Sat, 09 Sep 2006 00:03:20 -0500

Hello,

I attach two files:frmClientes and frmClientesNE.

frmClientes charge a Grid with resume Costumers data: Name, Commercial
ID, address, etc. and edition options.

frmClientes in 

Line 178
def OnBtnNuevoButton(self, event):

call to frmClientesNE. Its append a new record to the database and clear
all controls and when I close it, the grid in frmClientes: grClte must
be recharge with the new data, but that dont work. Only work when a
Delete some record.

I couldnt send yours a runable .py version, because both of them files
pickup data from a Firebird's database. 

I try to implement the wxPython Demo model: Grid_MegaExample, follow
that my class Grilla must be:

Line 224:
class Grilla(Grid.Grid):

but for the Boa Constructors controls creation I couldnt inherit from
Grid.Grid, thats my problem, I need your help I try for two days and
nothing :-( ... some ideas??

Thanks in advance!!

==
FILE: FRMCLIENTES.PY
==

# -*- coding: utf8 -*-#
#Boa:Frame:frmClientes

__version__='0.5'
__autor__='Mario Lacunza Vasquez <[EMAIL PROTECTED]>'

import wx
import wx.grid
import modGlobals
from Conectar import Conectar
import errores

def create(parent):
return frmClientes(parent)

[wxID_FRMCLIENTES, wxID_FRMCLIENTESBRNSALIR, wxID_FRMCLIENTESBTNBORRAR, 
 wxID_FRMCLIENTESBTNEDIT, wxID_FRMCLIENTESBTNNUEVO,
wxID_FRMCLIENTESGRCLTE, 
 wxID_FRMCLIENTESLBLTITULO, wxID_FRMCLIENTESPANEL1, 
] = [wx.NewId() for _init_ctrls in range(8)]

class frmClientes(wx.Frame):
def _init_coll_fsGrid_Growables(self, parent):
# generated method, don't edit

parent.AddGrowableRow(0)

def _init_coll_fsGrid_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.grClte, 0, border=2, flag=wx.EXPAND |
wx.ALL)

def _init_coll_fsBtn_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.btnNuevo, 0, border=2, flag=wx.EXPAND |
wx.ALL)
parent.AddWindow(self.btnEdit, 0, border=2, flag=wx.EXPAND |
wx.ALL)
parent.AddWindow(self.btnBorrar, 0, border=2, flag=wx.EXPAND |
wx.ALL)
parent.AddWindow(self.brnSalir, 0, border=2, flag=wx.EXPAND |
wx.ALL)

def _init_coll_fsTit_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.lblTitulo, 0, border=6, flag=wx.EXPAND)

def _init_coll_bsClte_Items(self, parent):
# generated method, don't edit

parent.AddWindow(self.panel1, 1, border=0, flag=wx.EXPAND)

def _init_coll_fsTit_Growables(self, parent):
# generated method, don't edit

parent.AddGrowableRow(0)

def _init_coll_fsClte_Growables(self, parent):
# generated method, don't edit

parent.AddGrowableRow(0)
parent.AddGrowableRow(1)
parent.AddGrowableRow(2)
parent.AddGrowableCol(0)

def _init_coll_fsClte_Items(self, parent):
# generated method, don't edit

parent.AddSizer(self.fsTit, 1, border=5,
  flag=wx.ALIGN_CENTER_HORIZONTAL)
parent.AddSizer(self.fsGrid, 1, border=10,
  flag=wx.ALIGN_CENTER_HORIZONTAL)
parent.AddSizer(self.fsBtn, 1, border=5,
  flag=wx.ALIGN_CENTER_HORIZONTAL)

def _init_sizers(self):
# generated method, don't edit
self.bsClte = wx.BoxSizer(orient=wx.VERTICAL)

self.fsClte = wx.FlexGridSizer(cols=1, hgap=0, rows=0, vgap=0)

self.fsTit = wx.FlexGridSizer(cols=1, hgap=0, rows=0, vgap=0)

self.fsGrid = wx.FlexGridSizer(cols=1, hgap=5, rows=0, vgap=5)

self.fsBtn = wx.FlexGridSizer(cols=4, hgap=0, rows=0, vgap=0)

self._init_coll_bsClte_Items(self.bsClte)
self._init_coll_fsClte_Growables(self.fsClte)
self._init_coll_fsClte_Items(self.fsClte)
self._init_coll_fsTit_Growables(self.fsTit)
self._init_coll_fsTit_Items(self.fsTit)
self._init_coll_fsGrid_Growables(self.fsGrid)
self._init_coll_fsGrid_Items(self.fsGrid)
self._init_coll_fsBtn_Items(self.fsBtn)

self.SetSizer(self.bsClte)
self.panel1.SetSizer(self.fsClte)

def _init_ctrls(self, prnt):
# generated method, don't edit
wx.Frame.__init__(self, id=wxID_FRMCLIENTES,
name=u'frmClientes',
  parent=prnt, pos=wx.Point(352, 148), size=wx.Size(589,
514),
  style=wx.DEFAULT_FRAME_STYLE, title=u'Clientes')
self.SetClientSize(wx.Size(589, 514))

self.panel1 = wx.Panel(id=wxID_FRMCLIENTESPANEL1, name='panel1',
  parent=self, pos=wx.Point(0, 0), size=wx.Size(589, 514)

Report options...

2007-03-17 Thread Mario Lacunza
Hello,

Right now Im migrating an VB6+Crystal report+Word App to Python+wxPython
+Reportlab+???

The VB system work with Word creating some patterns (title, foot prints,
etc) and users maybe could insert some Forms fields to personalize the
output connecting this fields with an recordset.

I dont want to use any external tool for this taks (OpenOffice+pyUno is
my last chance)

Any suggestion?

Thanks!

Mi configuracion/My config:

Ubuntu Edgy Eft 6.10
Linux Kernel 2.6.17-11-386
Gnome 2.16.1
Python 2.4.4c1
wxPython 2.8.1.1 Unicode
Python IDE: Ulipad 3.6
Database: Firebird 2.0 Superserver

-- 
Saludos / Best regards 

Mario Lacunza Vásquez 
Desarrollador de Software - Webmaster
Linux Registered User #439179 
Desarrollador 2 Estrellas VS2005

Website: http://mlacunzav[DOT]cogia[DOT]net 
Email  : mlacunza[AT]gmail.com / mario_lacunza[AT]yahoo.es
Blog   : http://mlacunza.blogspot.com
Lima - Peru

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

Report options...

2007-03-19 Thread Mario Lacunza

> Hello,
> 
> Right now Im migrating an VB6+Crystal report+Word App to Python+wxPython
> +Reportlab+???
> 
> The VB system work with Word, creating some patterns (title, foot prints,
> etc) and users maybe could insert some new text and Form fields (like 
> parameters) to personalize the
> output, connecting this fields with an recordset retrieve from a DB.
> 
> I dont want to use any external tool for this taks (OpenOffice+pyUno is
> my last chance)
> 
> Any suggestion?
> 
> Thanks!
> 
> Mi configuracion/My config:
> 
> Ubuntu Edgy Eft 6.10
> Linux Kernel 2.6.17-11-386
> Gnome 2.16.1
> Python 2.4.4c1
> wxPython 2.8.1.1 Unicode
> Python IDE: Ulipad 3.6
> Database: Firebird 2.0 Superserver
> 
> -- 
> Saludos / Best regards 
> 
> Mario Lacunza Vásquez 
> Desarrollador de Software - Webmaster
> Linux Registered User #439179 
> Desarrollador 2 Estrellas VS2005
> 
> Website: http://mlacunzav[DOT]cogia[DOT]net 
> Email  : mlacunza[AT]gmail.com / mario_lacunza[AT]yahoo.es
> Blog   : http://mlacunza.blogspot.com
> Lima - Peru


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

Error with OpenOffice

2006-04-19 Thread Mario Lacunza
Hello,

I try to make the exercises found in Ooo website but I receipt this
error:

[EMAIL PROTECTED]:~$ python
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
Traceback (most recent call last):
  File "", line 1, in ?
  File "/usr/lib/python2.4/site-packages/uno.py", line 37, in ?
import pyuno
SystemError: dynamic module not initialized properly
>>>

Any idea??


Mi configuracion/My config:

Ubuntu Breezy 5.10
Linux Kernel 2.6.12-10-386
Python 2.4.2
wxPython 2.6.1.1Pre
OpenOffice 2.0.1

-- 
Saludos / Best regards 

Mario Lacunza Vásquez 
Desarrollador de Software - Webmaster 
Desarrollador 2 Estrellas VS2005

Website: http://mlacunzav.cogia.net 
Email  : mlacunza[AT]gmail[DOT]com
Email  : mario_lacunza[AT]yahoo[DOT]es 
Blog   : http://mlacunza.blogspot.com 
Lima - Peru

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

Ann: pyDia2Code

2006-05-03 Thread Mario Lacunza
Hello,This is a GUI program for Dia2Code lib under GPL licence: "Dia2Code basically reads a Dia diagram file that contains an 
	  UML class diagram and creates files in the language of choice that
	  contain the bare bones of the classes represented in the diagram...""Generates code for: Ada, C, C++, Java, PHP, Python, shapefile, SQL and C#"Build in Python with the same function like gDia2Code and Kaptain (obsolete)
This is a Beta stage, please send me any comments or suggest.I search help for i18n, for translate into english the interface, right now its only available in spanish.The website: 
http://sourceforge.net/projects/pydia2code/Thanks in advance!!-- Saludos / Best regardsMario LacunzaDesarrollador de Sistemas - WebmasterTeléfono: 51-1-242-0058Celular: 51-1-9310-0386 (Tim)
Email: [EMAIL PROTECTED]Email: [EMAIL PROTECTED]Messenger MSN: [EMAIL PROTECTED]
Website: http://www.lacunza.tkLima - Peru
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: [wxpython-users] ANN: wxPython 2.8.8.0

2008-06-25 Thread Mario Lacunza
Hello Robin,

Are available repos for Ubuntu Hardy??

2008/6/25 Robin Dunn <[EMAIL PROTECTED]>:

> Announcing
> --



-- 
Saludos / Best regards

Mario Lacunza
Consultor de Sistemas - Webmaster

Email: mlacunza [AT] gmail [DOT] com
Lima - Peru
--
http://mail.python.org/mailman/listinfo/python-list