pydev and psycopg2 - weird behaviour

2008-07-04 Thread RossGK
I've been using pydev for a short while successfully, and Django with postgresql as well. psycopg2 is part of that behind the scenes I would imagine, to make django work. Now I'm trying to use psycopg2 in a non-Django program, I'm seeing some weird behaviour My "import psycopg2" is tagged

mod_python installer fails

2008-06-05 Thread RossGK
I've been running python 2.5 for a while on WinXP, working fine. I code and compile in PyDev/Eclipse. I wanted to start playing with Django, but when I go to install mod_python for Apache 2.2 I get the error: python version 2.5 required, which was not found in the registry from the installe

Re: PyDev multiple source files?

2008-05-30 Thread RossGK
On May 30, 2:10 pm, RossGK <[EMAIL PROTECTED]> wrote: > Now I want to be able to break my single source file up into multiple > files to segregate functions, divide up with others, etc, but I don't > know how to configure it. Found a reference that helped me out: http://www.

PyDev multiple source files?

2008-05-30 Thread RossGK
Newbie questions on PyDev project setup. Things are going fine - writing python code in eclipse/pydev and running them with various imports etc, doing wxpython stuff blah, blah, blah. My .py code is in a module, in a package, in a project. It runs fine. Now I want to be able to break my single s

Re: Python Threads - stopped vs. gone vs. Alive

2008-05-28 Thread RossGK
I've answered my own question about the "None" state - an event was setting the thread to None where I didn't expect it. However, my question slightly repositioned is if a Thread is "Stopped" it still seems to exist. Is there someway to make it go away, send it to garbage collection etc? Other p

Re: Python Threads - stopped vs. gone vs. Alive

2008-05-28 Thread RossGK
On May 28, 12:01 pm, RossGK <[EMAIL PROTECTED]> wrote: > I'm a newbie to python threads, and playing with some simple client > server stuff and lots of print statements. > > My server thread launched with > self.worker = WorkerThread(self) > completes an inter

Python Threads - stopped vs. gone vs. Alive

2008-05-28 Thread RossGK
I'm a newbie to python threads, and playing with some simple client server stuff and lots of print statements. My server thread launched with self.worker = WorkerThread(self) completes an interaction and then if I check on it's status with print "Status:", self.workerI get

Re: Pydev Console use vs. stdout/stderr

2008-05-16 Thread RossGK
On May 15, 5:26 pm, [EMAIL PROTECTED] wrote: > On May 15, 3:12 pm, RossGK <[EMAIL PROTECTED]> wrote: > > > Just getting used to the PyDev environment in eclipse by playing with > > a few simple programs. I'm also using wxPython GUI stuff. > > > I've noti

Pydev Console use vs. stdout/stderr

2008-05-15 Thread RossGK
Just getting used to the PyDev environment in eclipse by playing with a few simple programs. I'm also using wxPython GUI stuff. I've noticed though that simple print commands in my code cause a "wxPython:stdout/stderr" popup window to display any print's I might be dumping out, rather than going