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
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 a
-- Forwarded message --
From: Jebagnana Das
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 installation of pyqt as it is a
On Thu, Nov 19, 2009 at 7:05 PM, wrote:
>
> -- --
> From: Threader Slash
> 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 the choice made by
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
QtCore.QO
-- Forwarded message --
From: Keith Hughitt
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
versions of Python (2.4 a
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)
self.performGroupBox.setGeometry
> 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 eqpt_centra
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 eqpt_centralwdg(self,MainWi
> -- --
> From: Threader Slash
> 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
&g
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: setS
> -- Original message --
> From: MRAB
> 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 buil
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
http://www.linuxquestions.org/questions/linux-software-2/problem-in-installing-wxwidgets..
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
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
-- Forwarded message --
From: David Sfiligoi
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 do my new project u
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:
session.In
-- Forwarded message --
From: Dave Angel
To: Threader Slash
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 import Dispat
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 pyt
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
MySQL
On Sat, Sep 26, 2009 at 12:58 AM, Dave Angel wrote:
> Threader Slash wrote:
>
>> -- Forwarded message --
>>> From: J Sisson
>>> To: Nobody
>>> Date: Thu, 24 Sep 2009 19:18:03 -0500
>>> Subject: Re: IDE for python similar to visua
> -- Forwarded message --
> From: J Sisson
> To: Nobody
> 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 wrote:
>
>> On Fri, 11 Sep 2009 05:27:59 -0700, r wrote:
>>
>
>
>> > Sounds like "s
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 .. s
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 incl
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
-- Forwarded message --
From: Dennis Lee Bieber
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
declaimed the following in
gmane.comp.python.general:
>
>
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()."
http://docs.python.org/library/ran
-- Forwarded message --
> From: Philip Semanchuk
> To: "Python-list (General)"
> 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.
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
I
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. My
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 lookin
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
Lo
32 matches
Mail list logo