BartlebyScrivener wrote:
>>>that one column is always the same, the name of the host that
>>>the database resides on.
>
>
> Then why are you pulling all of the other stuff out of the db? Why
> don't you just
>
> UPDATE tablename
> SET hostname(or colname) = 'localhost'
> WHERE search con
Brian wrote:
> Captain Dondo wrote:
>
>>What I'd like to do is build the correct selectlist in the first place,
>>rather than build the wrong one and then rebuild a correct one.
>
>
> This is sounding more like a SQL/DB problem and less like a Python one.
>
BartlebyScrivener wrote:
>>>I've looked at various search-and-replace snippets but none that address
>>>what I am trying to do
>
>
> I think you need to tell more about what you're trying to do. You say
> it's in a database? Is that why you can't just put the whole blob in
> your text editor
I have an array(?) (sorry, I'm new* to python so I'm probably mangling
the terminology) that looks like this:
[((1028L, datetime.datetime(2006, 5, 30, 7, 0), datetime.datetime(2006,
5, 30, 7, 30), 'Arthur', 'Prunella Sees the Light; Return of the
Snowball', 'Prunella prepares for a sleepover wi
On Mon, 28 Mar 2005 08:42:22 -0600, Larry Bates wrote:
> Others have answered your specific question, I thought I
> would add some suggestions (not tested):
>
> 1) You don't need a separate set_title method. You can
> change the title attribute at any time by just saying
> m.title="new title".
On Mon, 28 Mar 2005 01:15:34 +, Jp Calderone wrote:
>
> Notice that you have a method named "url" as well as an attribute
> named "url". You have the same problem for "thumb". These methods
> and attributes are in collision with each other. When you try to
> look up the
OK, I know this is covered somewhere in Python 101, but for the life of me
I cannot figure this out. I really need a basic intro to Python book
I am trying to do something very simple - create an HTML tag using objects:
class Movie:
def __init__ (self, t="", a="", d=""):
#
On Sun, 23 Jan 2005 21:11:32 +0100, Georg Brandl wrote:
> Hello,
>
> to train my Python skills I am looking for some project I can contribute
> to. I learned Python about one year ago, and had already some
> programming background behind (I contributed to SharpDevelop for
> instance), so I'm not