<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><font face="times new roman, new york, times, serif" size="3">Que parámetros estas utilizando en py2exe; yo utilizo GUI2EXE[1]</font></div><div style="background-color: transparent; "><font face="monospace" size="2"><font face="times new roman, new york, times, serif" size="4">Una cosa el .exe que se genera no incluye el archivo .db, por lo que estos </font>deberán<font face="times new roman, new york, times, serif" size="4"> estar en la misma carpeta siempre para hacerlo portable, yo nunca he tenido problemas con eso, cualquier cosa escribe de nuevo</font></font></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent;
font-style: normal; ">[1] <a href="http://code.google.com/p/gui2exe/" style="font-size: 12pt; ">http://code.google.com/p/gui2exe/</a></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">De:</span></b> Pavel Daniel Lopez Castillo <pdlopez@sc.uci.cu><br> <b><span style="font-weight: bold;">Para:</span></b> mlacunza@gmail.com; La lista de python en castellano <python-es@python.org> <br> <b><span style="font-weight: bold;">Enviado:</span></b> Viernes, 16 de noviembre, 2012 10:57 A.M.<br> <b><span style="font-weight: bold;">Asunto:</span></b> [Python-es] py2exe y Base Datos sqlite<br> </font> </div> <br>Mario lo que
quiero es que mi aplicacion sea portable si lo hago con postgres o mysqlite tendria que tener un servidor de postgres o mysql corriendo en la maquina en la cual este trabajando con la aplicacion, yo no trabajo con varios clientes conectados a la misma DB, no se si esa respuesta era para mi o te equivocaste de mensaje, por si acaso ya le puse asunto a mi correo que en el primero se me olvido, asi no se pierde el hilo<br><br>Este es mi problema:<br>Tengo una aplicacion hecha en python que utiliza una base de datos en SQLite, el problema es que cuando creo el archivo .exe tendria que tener el ejecutable en la misma direccion que el archivo principal por que sino se pierde a la hora de econtrar la direccion del archivo .sqlite, por lo que si copio el .exe en otra maquina u otro directorio ya no me funciona, alguna idea de como resolver este problema.<br><br><br> <br><br>----- Mensaje original -----<br>De: "Mario Lacunza" <<a
ymailto="mailto:mlacunza@gmail.com" href="mailto:mlacunza@gmail.com">mlacunza@gmail.com</a>><br>Para: <a ymailto="mailto:python-es@python.org" href="mailto:python-es@python.org">python-es@python.org</a><br>Enviados: Jueves, 15 de Noviembre 2012 13:08:21<br>Asunto: Re: [Python-es] (sin asunto)<br><br>Si vas a trabajar con varios clientes conectados a la misma DB mejor usa <br>Mysql o postgresql como te recomiendan, SQLIte3 no es para trabajar de <br>esa forma, en la misma web de ellos te lo dicen.<br><br><br>Saludos / Best regards<br><br>Mario Lacunza<br>Email:: <a ymailto="mailto:mlacunza@gmail.com" href="mailto:mlacunza@gmail.com">mlacunza@gmail.com</a><br>Personal Website:: <a href="http://www.lacunza.biz/" target="_blank">http://www.lacunza.biz/</a><br>OpenOffice.org Perú:: <a href="http://openoffice-peru.com/" target="_blank">http://openoffice-peru.com/</a><br>Hosting:: <a href="http://mlv-host.com/"
target="_blank">http://mlv-host.com/</a><br>Mascotas Perdidas:: <a href="http://mascotas-perdidas.com/" target="_blank">http://mascotas-perdidas.com/</a><br>Google Talk / Y! messenger / Skype: mlacunzav<br>MSN: <a ymailto="mailto:mlacunzav@hotmail.com" href="mailto:mlacunzav@hotmail.com">mlacunzav@hotmail.com</a><br><br>El 15/11/12 12:44, Carlos Zuniga escribió:<br>> 2012/11/15 Pavel Daniel Lopez Castillo <<a ymailto="mailto:pdlopez@sc.uci.cu" href="mailto:pdlopez@sc.uci.cu">pdlopez@sc.uci.cu</a>>:<br>>> El .exe lo creo com py2exe<br>>><br>>> ----- Mensaje original -----<br>>> De: "Pavel Daniel Lopez Castillo" <<a ymailto="mailto:pdlopez@sc.uci.cu" href="mailto:pdlopez@sc.uci.cu">pdlopez@sc.uci.cu</a>><br>>> Para: <a ymailto="mailto:python-es@python.org" href="mailto:python-es@python.org">python-es@python.org</a><br>>> Enviados: Jueves, 15 de Noviembre 2012 11:29:23<br>>> Asunto: [Python-es] (sin
asunto)<br>>><br>>> Tengo una aplicacion hecha en python que utiliza una base de datos en SQLite, el problema es que cuando creo el archivo .exe tendria que tener el ejecutable en la misma direccion que el archivo principal por que sino se pierde a la hora de econtrar la direccion del archivo .sqlite, por lo que si copio el .exe en otra maquina u otro directorio ya no me funciona, alguna idea de como resolver este problema.<br>> Si quieres acceder a la misma base de datos desde varios clientes,<br>> mejor cambia a un servidor mysql o postgresql. Otra opción podría ser<br>> mantener el archivo sqlite en un servidor de archivos montado por red<br>> pero puede haber problemas en algunos sistemas [0].<br>><br>> Saludos<br>><br>> [0] <a href="http://www.sqlite.org/faq.html#q5" target="_blank">http://www.sqlite.org/faq.html#q5</a><br>> --<br>> A menudo unas pocas horas de "Prueba y error" podrán ahorrarte
minutos<br>> de leer manuales.<br>> _______________________________________________<br>> Python-es mailing list<br>> <a ymailto="mailto:Python-es@python.org" href="mailto:Python-es@python.org">Python-es@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/python-es" target="_blank">http://mail.python.org/mailman/listinfo/python-es</a><br>> FAQ: <a href="http://python-es-faq.wikidot.com/" target="_blank">http://python-es-faq.wikidot.com/</a><br>><br><br>_______________________________________________<br>Python-es mailing list<br><a ymailto="mailto:Python-es@python.org" href="mailto:Python-es@python.org">Python-es@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/python-es" target="_blank">http://mail.python.org/mailman/listinfo/python-es</a><br>FAQ: <a href="http://python-es-faq.wikidot.com/"
target="_blank">http://python-es-faq.wikidot.com/</a><br>_______________________________________________<br>Python-es mailing list<br><a ymailto="mailto:Python-es@python.org" href="mailto:Python-es@python.org">Python-es@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/python-es" target="_blank">http://mail.python.org/mailman/listinfo/python-es</a><br>FAQ: <a href="http://python-es-faq.wikidot.com/" target="_blank">http://python-es-faq.wikidot.com/</a><br><br><br> </div> </div> </div></body></html>