Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35084
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <borkintom@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.034 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'skip:% 20': 0.07; 'tom': 0.07; 'subject:Why': 0.09; 'cc:addr:python-list': 0.10; '%s,': 0.16; 'either.': 0.22; 'work,': 0.22; 'cc:2**0': 0.23; 'originally': 0.23; 'cc:no real name:2**0': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'interactions': 0.29; 'like:': 0.33; 'skip:l 40': 0.33; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; "didn't": 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'subject:This': 0.78; 'actually,': 0.84; 'was:': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RUp1ydhDxJoAbtGv0gteNfjWjReSqNQ8hKfqGa6QDow=; b=Rak93hyFU9Qt9rPOq6bnFbCZkXX4QoilwKWe7MOJQKOfPb+uxkmUYwVvk4A4zaJCpS WP93NsC42qiMQ/R6ZdKmBQ1+NSpgIKFFlYtAKe3bmtNjmOOEZxb3gtVOLT2BMfPg6QVr 24wg83RQJX4mLyRCnI7UbVkYjX9rvI91jPt7X0bNBdX1ljn3VHeFlrB1WGRWQKgEZpbI nK7Kh1PGrGK2sihgTwQRkJ5XkP/kIZg8e2DcxX8mYRI2BAugXNlkNQMej11kUixJUvUV 4VKwUpdzyDSW65NDMZC0DM08j5UsQx4xfjEj9IQoqZhQmntEuReottA239G/HKjQq5lO eWDA== |
| MIME-Version | 1.0 |
| In-Reply-To | <50d0f4c7$0$6952$e4fe514c@news2.news.xs4all.nl> |
| References | <mailman.1029.1355866451.29569.python-list@python.org> <50d0f4c7$0$6952$e4fe514c@news2.news.xs4all.nl> |
| Date | Tue, 18 Dec 2012 20:11:10 -0400 |
| Subject | Re: Why Doesn't This MySQL Statement Execute? |
| From | Tom Borkin <borkintom@gmail.com> |
| To | Hans Mulder <hansmu@xs4all.nl> |
| Content-Type | multipart/alternative; boundary=e89a8fb204469f7dd704d12973d4 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1037.1355875874.29569.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1355875874 news.xs4all.nl 6966 [2001:888:2000:d::a6]:45274 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35084 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Actually, what I originally had was:
cursor.execute("""insert into interactions values(Null, %s, "Call Back",
%s)""", (i_id, date_plus_2))
and that didn't work, either. I tried your variation like:
cursor.execute("""insert into interactions values(Null, %s, "Call Back",
%s)""" % (i_id, date_plus_2))
and no cigar :(
Tom
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why Doesn't This MySQL Statement Execute? Tom Borkin <borkintom@gmail.com> - 2012-12-18 17:34 -0400
Re: Why Doesn't This MySQL Statement Execute? Hans Mulder <hansmu@xs4all.nl> - 2012-12-18 23:57 +0100
Re: Why Doesn't This MySQL Statement Execute? Tom Borkin <borkintom@gmail.com> - 2012-12-18 20:11 -0400
Re: Why Doesn't This MySQL Statement Execute? John Gordon <gordon@panix.com> - 2012-12-19 03:57 +0000
Re: Why Doesn't This MySQL Statement Execute? Chris Angelico <rosuav@gmail.com> - 2012-12-19 15:49 +1100
Re: Why Doesn't This MySQL Statement Execute? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-12-19 00:40 -0500
Re: Why Doesn't This MySQL Statement Execute? Alister <alister.ware@ntlworld.com> - 2012-12-19 13:28 +0000
csiph-web