deleting objects by finding all references and deleting?

2008-06-08 Thread Jacob Davis
Hi, I read in some earlier messages that an object in Python is only removed or freed from memory when all references to that object have been deleted. Is this so? If so, is there a way to get all of the references to an object, so that they may all be deleted, thus actually deleting

Can't see variables declared as global in a function

2008-04-16 Thread Jacob Davis
Hi. I have a hundred lines of code in a module that declare some global variables inside a function so that those variables can be used by other functions. I want to import this module so that I can more easily debug by looking at the value of individual variables. But when I try to

Re: Module not found in script that was found in command-line interpreter. Possible Path issue?

2008-04-15 Thread Jacob Davis
On Apr 3, 2008, at 10:54 AM, Trent Mick wrote: Jacob Davis wrote: I just installed the MySQLdb module and I have been able to get it to run in my command line interpreter. I am running Mac Leopard, and Python 2.5. I have tested importing and actually connecting and using a MySQL

Module not found in script that was found in command-line interpreter. Possible Path issue?

2008-04-02 Thread Jacob Davis
Hi. I just installed the MySQLdb module and I have been able to get it to run in my command line interpreter. I am running Mac Leopard, and Python 2.5. I have tested importing and actually connecting and using a MySQL database, although it issues some warning:

Re: graphing/plotting with python and interface builder

2008-02-23 Thread Jacob Davis
with PyObjC (a language which I don't know). Thanks Jake On Feb 22, 2008, at 10:30 PM, Peter Wang wrote: On Feb 22, 10:08 pm, Jacob Davis [EMAIL PROTECTED] wrote: Hi. I am developing for mac and using Xcode and Interface Builder 3.0. I can make a simple application, but I am having a hard

Re: graphing/plotting with python and interface builder

2008-02-23 Thread Jacob Davis
On Feb 23, 2008, at 5:54 AM, Diez B. Roggisch wrote: Jacob Davis schrieb: Hi. I am developing for mac and using Xcode and Interface Builder 3.0. I can make a simple application, but I am having a hard time trying to figure out a good way to create a graph or plot for a class project. Does

graphing/plotting with python and interface builder

2008-02-22 Thread Jacob Davis
Hi. I am developing for mac and using Xcode and Interface Builder 3.0. I can make a simple application, but I am having a hard time trying to figure out a good way to create a graph or plot for a class project. Does anybody have any tips on where to get started, or on how to do this? I

Re: wxPython Plot always comes to focus on redraw

2008-02-22 Thread Jacob Davis
the error in the future... On Feb 21, 2008, at 6:14 AM, Mike Driscoll wrote: On Feb 21, 2:57 am, Jacob Davis [EMAIL PROTECTED] wrote: Hi. I am using wxPython, and I have a frame that has a notebook in it. there are 3 pages in the notebook, 2 of which are Panels and 1 of which

Re: wxPython Plot always comes to focus on redraw

2008-02-22 Thread Jacob Davis
think I will try the wxPython list. Thanks Jake On Feb 21, 2008, at 4:36 AM, Steve Holden wrote: Jacob Davis wrote: Hi. I am using wxPython, and I have a frame that has a notebook in it. there are 3 pages in the notebook, 2 of which are Panels and 1 of which is a PlotCanvas. The data

wxPython Plot always comes to focus on redraw

2008-02-21 Thread Jacob Davis
Hi. I am using wxPython, and I have a frame that has a notebook in it. there are 3 pages in the notebook, 2 of which are Panels and 1 of which is a PlotCanvas. The data for the plot changes when I press a button that is in the frame, but not in the notebook (as designed). the button

usenet problem

2008-02-20 Thread Jacob Davis
Hi. I am a newbie to usenet. I am using mac and have downloaded a free usenet client, MT-NewsWatcher. I put in comp.lang.python but it says that it cannot get the address of the news server host. My config says it is trying on port 119. Thanks for any help. Jake --

Boa Constructor Mac crash when adding menubar

2008-02-20 Thread Jacob Davis
hi. Every time I go through the Boa Constructor tutorial and I get to the Add a Menu Bar section, Boa Constructor crashes after I select a wx.menubar and then left click either in the Data or design frames. I saw a post on the internet from the usenet about this very question, but was from