Re: Help Understanding mx.ODBC Error

2007-04-18 Thread kyosohma
On Apr 18, 1:36 pm, Greg Corradini <[EMAIL PROTECTED]> wrote: > Hello All, > A few weeks ago, I wrote two scripts using mx.ODBC on an Access DB. Among > other things, both scripts create new tables, perform a query and then > populate the tables with data in a dictionary that I've uploaded from > e

Re: Iterate through a dictionary of lists one "line" at a time

2007-04-18 Thread wswilson
On Apr 18, 2:54 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > On Apr 18, 7:39 pm, wswilson <[EMAIL PROTECTED]> wrote: > > > > > Here is my code: > > > listing = {'id': ['a', 'b', 'c'], 'name': ['Joe', 'Jane', 'Bob']} > > > I need to output: > > > id name > > a Joe > > b Jane > > c Bob > > > I c

Re: Future Python Gui?

2007-04-18 Thread [EMAIL PROTECTED]
> Tile is available right now in Tk as an extension package, and a Tkinter > wrapper for it can be found here: > > http://tkinter.unpythonic.net/wiki/TileWrapper That site seems to be down (500 Internal Server Error). > Tile will be integrated into Tk's core when 8.5 is released. It's > supposed

RE: Iterate through a dictionary of lists one "line" at a time

2007-04-18 Thread Hamilton, William
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of wswilson > Sent: Wednesday, April 18, 2007 1:39 PM > To: python-list@python.org > Subject: Iterate through a dictionary of lists one "line" at a time > > Here is my code: > > listing = {'id': [

Re: Help Understanding mx.ODBC Error

2007-04-18 Thread Steve Holden
Greg Corradini wrote: > Hello All, > A few weeks ago, I wrote two scripts using mx.ODBC on an Access DB. Among > other things, both scripts create new tables, perform a query and then > populate the tables with data in a dictionary that I've uploaded from > elsewhere. These scripts have run hundred

Re: Help Understanding mx.ODBC Error

2007-04-18 Thread Greg Corradini
Thanks for you help kyosohma, Unfortunately, the data I'm using isn't chaning either. I've reused data that these scripts have successfully used before, but that won't work with them now. kyosohma wrote: > > On Apr 18, 1:36 pm, Greg Corradini <[EMAIL PROTECTED]> wrote: >> Hello All, >> A few w

Re: Nested dictionaries trouble

2007-04-18 Thread IamIan
I am using the suggested approach to make a years list: years = ["199%s" % x for x in range(0,10)] years += ["200%s" % x for x in range(0,10)] I haven't had any luck doing this in one line though. Is it possible? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

python-list@python.org

2007-04-18 Thread Anton Vredegoor
[EMAIL PROTECTED] wrote: > > If you don't wish to use objects, you can replace them with > a closure: > > import collections > > def xsplitter(iseq, pred): > queue = [ collections.deque(), collections.deque() ] > def it(parity): > while True: > if queue[parity]: >

Re: subprocess "handle is invalid" error

2007-04-18 Thread Grant Edwards
On 2007-04-18, Thomas Heller <[EMAIL PROTECTED]> wrote: > I think this is a subprocess bug. It is often attributed to > py2exe because usually developers do never run the script in > pythonW.exe instead of python.exe, and later build a *windows* > program with py2exe (the *windows* program has no

Re: unicode data - accessing codepoints > FFFF on narrow python builts

2007-04-18 Thread Gabriel Genellina
En Wed, 18 Apr 2007 06:37:56 -0300, <[EMAIL PROTECTED]> escribió: > Hi all, > I'd like to ask about the usage of unicode data on a narrow python build. > Unicode string literals \N{name} work even without the (explicit) import > of unicodedata and it correctly handles also the "wider" unicodes

Re: Nested dictionaries trouble

2007-04-18 Thread Steven W. Orr
On Wednesday, Apr 18th 2007 at 12:16 -0700, quoth IamIan: =>I am using the suggested approach to make a years list: => =>years = ["199%s" % x for x in range(0,10)] =>years += ["200%s" % x for x in range(0,10)] => =>I haven't had any luck doing this in one line though. Is it possible? I'm so green

Re: unicode data - accessing codepoints > FFFF on narrow python builts

2007-04-18 Thread Martin v. Löwis
> Is it a bug in unicodedata, or is this the expected behaviour on a > narrow build? It's a bug. It should either raise an exception, or return the correct result. If you know feel like submitting a bug report: please try to come up with a patch instead. > Another problem I have is to access the

Re: scipy 0.52 det crashes python

2007-04-18 Thread Peter Maas
Robert Kern schrieb: > Most likely your build of scipy was built with an ATLAS library that uses SSE2 > instructions (IIRC) while your processor doesn't support those instructions. > The > solution is to rebuild scipy with an ATLAS library built for your platform. Thanks, Robert. -- Peter Maas,

ANN: PNG image CAPTCHA with PNG canvas available (SkimpyGimpy)

2007-04-18 Thread aaronwmail-usenet
Announcing SkimpyGimpy Support for PNG image CAPTCHA generation and PNG canvases. You can now use SkimpyGimpy to generate CAPTCHA text representations as PNG image files in addition to preformatted text ASCII art, and WAVE format audio streams, either from command lines or within Python programs.

<    1   2   3