On Friday, November 1, 2013 5:33:43 PM UTC-4, Captain Dunsel wrote:
> I have a text file that has lines with numbers occasionally appearing right
> before a person's name. For example:
>
>
>
> COLLEGE:ENROLLMENT:COMPLETED EVALUATIONS:624309FUDD, ELMER
>
>
>
I have a text file that has lines with numbers occasionally appearing right
before a person's name. For example:
COLLEGE:ENROLLMENT:COMPLETED EVALUATIONS:624309FUDD, ELMER
where I want to search for the name "ELMER FUDD" and extract the number right
in front of it "608309" when such a number a
XL> ... i recall, i stopped doing Mathematica in 1998 because it's a
XL> career dead-end as a programing lang, and dived into the utterly
XL> idiotic Perl & unix & mysql world. (See: The Unix Pestilence ◇ Xah
XL> Lee's Computing Experience (Impression Of Lisp from Mathematica).)
I guess you're ca
Peter Otten wrote:
> Neil Cerutti wrote:
>
>> On 2007-07-05, Captain Poutine <[EMAIL PROTECTED]> wrote:
>>> I'm simply trying to read a CSV into a dictionary.
>>>
>>> (if it matters, it's ZIP codes and time zones, i.e.,
>>> 35983,CT
Neil Cerutti wrote:
> On 2007-07-05, Captain Poutine <[EMAIL PROTECTED]> wrote:
>> I'm simply trying to read a CSV into a dictionary.
>>
>> (if it matters, it's ZIP codes and time zones, i.e.,
>> 35983,CT
>> 39161,CT
>> 47240,EST
>>
documentation for the dict() constructor?
Frustrated,
Captain Poutine
--
http://mail.python.org/mailman/listinfo/python-list
On 13 Jun, 06:35, Tim Roberts <[EMAIL PROTECTED]> wrote:
> Captain Paralytic <[EMAIL PROTECTED]> wrote:
> >On 11 Jun, 07:37, Tim Roberts <[EMAIL PROTECTED]> wrote:
> >| Not in standard SQL. MySQL supports a REPLACE extension that does
> >| an UPDATE if the
On 11 Jun, 07:37, Tim Roberts <[EMAIL PROTECTED]> wrote:
| Not in standard SQL. MySQL supports a REPLACE extension that does
an
| UPDATE if the key already exists, and an INSERT if it does not.
There is
| also an extension clause to the INSERT statement called "ON
DUPLICATE KEY
| UPDATE xxx" that
Thanks for the responses. I'll just leave it. Sorry about uppercase subject
line.
"Captain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Just bought a new PC with Windows XP Media Edition. I have two entries in
> the "Add or Remove Program
Just bought a new PC with Windows XP Media Edition. I have two entries in
the "Add or Remove Programs" section of Control Panel, but there is no
corresponding item in the Start Menu. One entry says: Python 2.2.3 and the
other says: Python 2.2 pywin32 extensions (build203).. The size for each
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
18 matches
Mail list logo