Re: problem in installing wxwidgets for python.

2009-11-04 Thread Threader Slash
This additional links should come in hand: http://www.gossamer-threads.com/lists/python/python/785413?page=last http://www.daniweb.com/forums/thread235862.html# http://forum.amule.org/index.php?topic=11728.0

Re: Clean PyQt selection comboBox

2009-11-05 Thread Threader Slash
-- Original message -- From: MRAB pyt...@mrabarnett.plus.com To: python-list@python.org Date: Thu, 05 Nov 2009 15:37:49 + Subject: Re: Clean PyQt selection comboBox Threader Slash wrote: Hello Everybody, 8) I am using Qt and need to build a selection comboBox -- e.g

QtPython QtreeWidget - sortingEnabled Problem

2009-11-16 Thread Threader Slash
Hello Everybody, I trying to do a Qtreewidget to attend a customer design suggestion. I am coding it on QtPython. I did a first try using Qt Designer, then generated the code. But when I try to run it, an error comes out: self.centralwidget.setSortingEnabled(__sortingEnabled) AttributeError:

Solved: QtPython QtreeWidget - sortingEnabled Problem

2009-11-16 Thread Threader Slash
-- -- From: Threader Slash threadersl...@gmail.com To: python-list@python.org Date: Tue, 17 Nov 2009 10:34:34 +1100 Subject: QtPython QtreeWidget - sortingEnabled Problem Hello Everybody, I trying to do a Qtreewidget to attend a customer design suggestion. I am coding

Qt Python : QTreeWidget Child Problem

2009-11-16 Thread Threader Slash
Hello Everybody, I have a QTreewidget that works fine if I have just one level on my treelist. If I decide to add child sublevels, it gives me an error. Here is the code, that works nice only without the childs lines on it (see after child 1 and child 2). def

Re: Qt Python : QTreeWidget Child Problem

2009-11-17 Thread Threader Slash
Hello Everybody, I have a QTreewidget that works fine if I have just one level on my treelist. If I decide to add child sublevels, it gives me an error. Here is the code, that works nice only without the childs lines on it (see after child 1 and child 2). def

Qt Python radiobutton: activate event

2009-11-17 Thread Threader Slash
Hi Everybody, I am developing a project for one customer, where the design has a radio button with exclusive options. Here is a piece of the code that runs and show two nice radio buttons: self.performGroupBox = QtGui.QGroupBox(self.centralwidget)

Solved: Inserting Unicode text with MySQLdb in Python 2.4-2.5?

2009-11-18 Thread Threader Slash
-- Forwarded message -- From: Keith Hughitt keith.hugh...@gmail.com To: python-list@python.org Date: Wed, 18 Nov 2009 06:09:11 -0800 (PST) Subject: Inserting Unicode text with MySQLdb in Python 2.4-2.5? Hi all, I ran into a problem recently when trying to add support for earlier

Qt Python radiobutton: activate event

2009-11-18 Thread Threader Slash
Hi Guys, I am trying to get the choice made by the user on Python Qt with radiobutton. QtCore.QObject.connect(self.radioButton1, QtCore.SIGNAL(toggled()),self.radio_activateInput) QtCore.QObject.connect(self.radioButton2, QtCore.SIGNAL(toggled()),self.radio_activateInput) and that

Re: Python-list Digest, Vol 74, Issue 245

2009-11-19 Thread Threader Slash
On Thu, Nov 19, 2009 at 7:05 PM, python-list-requ...@python.org wrote: -- -- From: Threader Slash threadersl...@gmail.com To: python-list@python.org Date: Thu, 19 Nov 2009 14:51:27 +1100 Subject: Qt Python radiobutton: activate event Hi Guys, I am trying to get

problem with pyqt.. help please...

2009-11-22 Thread Threader Slash
-- Forwarded message -- From: Jebagnana Das jebagnana...@gmail.com To: python-list@python.org Date: Sat, 21 Nov 2009 19:17:56 +0530 Subject: problem with pyqt.. help please... Hi friends, I've recently changed to ubuntu 9.04.. I've not had any problem with the

QtPython: removeChild/addChild QGroupBox

2009-11-23 Thread Threader Slash
Hi Everybody, I am developing a system for a customer which is displayed in a set of GroupBox. Depending on mouse events, the container (groupBox) must be removed from the centralwidget, or then added with new updated data for the table. Here is a piece of the code that runs nicely and shows the

Python MySQL: clean multiple foreign keys table

2009-11-28 Thread Threader Slash
Hi Everybody, I am working with Python MySQL, and need to clean a table in my database that has 13328 rows. I can not make a simple drop table, because this table is child and also father of other child foreign-keys linked on it. If I try drop table, the system forbidden me. The table is defined

python-win32 : cross database automation

2009-09-18 Thread Threader Slash
Hello Everybody... I working on a client-server database solution. The system is normalized and is using MySQL. To automate some of processes I using Python. Part of the old database will be still running on Lotus Notes. After working on it, it seems that the best choice to directly manipulate

Re: Python-list Digest, Vol 72, Issue 210

2009-09-21 Thread Threader Slash
Hi Roman, I am using MySQL with Python -- in Windows XP for a contract. I hope my comments can be useful: When dealing with installation on Python, I noticed that tiny details can make a difference -- e.g. first I installed the latest version of Python 3.x, but it did not attend what I am

Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed

2009-09-21 Thread Threader Slash
I have spent two week working with MinGW. The conclusion I came after a lot of headaches and making the project getting late is: MinGW doesn't work properly on MS Windows -- there are many conflicting variables and functions with similar names on MinGW libs and MS Libs, e.g. windows.h, etc, etc.

Python: automate input to MySQL query

2009-09-21 Thread Threader Slash
Hi Everybody... I have a query that works as follows: Code: db.query(SELECT traveler.travelerFirstName,vaccine.vaccineName from (traveler INNER JOIN takenvaccine ON traveler.travelerID = takenvaccine.travelerID) INNER JOIN vaccine ON takenvaccine.vaccineID=vaccine.vaccineID

Solved - Python: automate input to MySQL query

2009-09-22 Thread Threader Slash
-- Forwarded message -- From: Philip Semanchuk phi...@semanchuk.com To: Python-list (General) python-list@python.org Date: Mon, 21 Sep 2009 08:49:27 -0400 Subject: Re: Python: automate input to MySQL query On Sep 21, 2009, at 5:18 AM, Threader Slash wrote: Hi Everybody

[SQL] Pick random rows from SELECT?

2009-09-22 Thread Threader Slash
Here is a simple and quick solution -- Generate a random number random.shuffle(x[, random])¶Shuffle the sequence x in place. The optional argument random is a 0-argument function returning a random float in [0.0, 1.0); by default, this is the function random().

Solved - Python: automate input to MySQL query

2009-09-22 Thread Threader Slash
-- From: Dennis Lee Bieber wlfr...@ix.netcom.com To: python-list@python.org Date: Tue, 22 Sep 2009 10:43:52 -0700 Subject: Re: Solved - Python: automate input to MySQL query On Tue, 22 Sep 2009 15:58:18 +1000, Threader Slash threadersl...@gmail.com declaimed the following

Python-Qt problem with pyuic4

2009-09-23 Thread Threader Slash
Hello Everybody I have used Qt Designer to generate a basic GUI. The file saved from Qt Designer I named it myGUI.ui . Now, I have to generate from myGUI.ui the ui_myGUI.py. To get this done, we must run pyuic4, directly or via mkpuqt.py or Make PyQt. I tried to get it done, so went into the

Re: Python-Qt problem with pyuic4

2009-09-23 Thread Threader Slash
Hello Xavier.. thanks! [?] Just tried.. pyuic4 -o C:\dev\prgr\src\ui_myGUI.py -x C:\dev\prgr\src\myGUI.ui The system cannot find the path specified. pyuic4 -o ui_myGUI.py -x myGUI.ui The system cannot find the path specified. Very strange. [?] Yep.. the ..!\Py25\Lib\site-packages\PyQt4 is

Python-Qt problem with pyuic4

2009-09-23 Thread Threader Slash
Hi Xavier Yes. You are right, I am in WinXP - developing a client-server database for a customer. I am pretty sure that this type of problem won't be happening on Linux. Anyway, I did both way about the path. It didn't work and keep giving that same error message. Maybe it seems to be a bug ..

IDE for python similar to visual basic

2009-09-25 Thread Threader Slash
-- Forwarded message -- From: J Sisson sisso...@gmail.com To: Nobody nob...@nowhere.com Date: Thu, 24 Sep 2009 19:18:03 -0500 Subject: Re: IDE for python similar to visual basic On Sun, Sep 13, 2009 at 6:25 AM, Nobody nob...@nowhere.com wrote: On Fri, 11 Sep 2009 05:27:59

Re: IDE for python similar to visual basic

2009-09-25 Thread Threader Slash
On Sat, Sep 26, 2009 at 12:58 AM, Dave Angel da...@ieee.org wrote: Threader Slash wrote: -- Forwarded message -- From: J Sisson sisso...@gmail.com To: Nobody nob...@nowhere.com Date: Thu, 24 Sep 2009 19:18:03 -0500 Subject: Re: IDE for python similar to visual basic

MySQL Matrix manipulation in Python

2009-09-29 Thread Threader Slash
Hello Everybody, My doubt is about matrix data manipulation in python - I hope someone can point me some direction. I googled around, but there is not much good examples about playing with matrix in python on internet. My following function works pretty well, and gives me the outup from my

win32com.client import problem

2009-10-14 Thread Threader Slash
Hi Everybody, I have 2 imports: import pythoncom from win32com.client import Dispatch if I run it on my Python 2.6 Console, it works nicely. However, when I go to Eclipse IDE, open a project, open a main.py file, and try run, it gives the error: import pythoncom ImportError: No module named

win32com.client import problem : solved

2009-10-14 Thread Threader Slash
-- Forwarded message -- From: Dave Angel da...@ieee.org To: Threader Slash threadersl...@gmail.com Date: Wed, 14 Oct 2009 07:04:21 -0400 Subject: Re: win32com.client import problem Threader Slash wrote: Hi Everybody, I have 2 imports: import pythoncom from win32com.client

win32com lotus notes: not opened

2009-10-21 Thread Threader Slash
Hi Everybody, Hope someone can point me some direction... I got python linking to lotus notes, under Eclipse IDE. The code is: import pythoncom import pywintypes from win32com.client import Dispatch session=Dispatch(Lotus.NotesSession) session print pythoncom.CreateGuid() try:

mysql select some sort of caching

2009-10-21 Thread Threader Slash
-- Forwarded message -- From: David Sfiligoi sfili...@gmail.com To: python-list@python.org Date: Tue, 20 Oct 2009 21:41:10 -0500 Subject: mysql select some sort of caching Hi I am normally an SQLlite person because it just works... but I decided to keep inproving my skills set and

python pyodbc - connect error

2009-10-22 Thread Threader Slash
Hello Everybody... here we go - my question: 1. I am using Eclipse IDE with Python 2.5 and pyodbc25 - winXP; need to read content from a Lotus Notes database, so run some basic query like - SELECT personname FROM tablename. 2. 'import pyodbc' is ok - python see it! 3. But it doesn't connect, when

python pyodbc - connect error

2009-10-22 Thread Threader Slash
Hi again.. I have done the same test using pyodbc, but to MySQL ODBC driver. It works fine for MySQL. The problem still remains to Lotus Notes. Any other hints please? -- http://mail.python.org/mailman/listinfo/python-list