ctypes: Get full contents of character array

2008-09-12 Thread overdrigzed
Hello! I wanted to get the full contents of a character array stored in a struct, i.e. _fields_ = [...("array", c_char * 12)...] however, ctypes seems to try to return struct.array as a Python string rather than a character array, and stops as soon as it encounters a null within the character arra

Re: Gateway to python-list is generating bounce messages.

2008-09-12 Thread Matt Nordhoff
Grant Edwards wrote: > On 2008-09-12, Matt Nordhoff <[EMAIL PROTECTED]> wrote: > >> I think you misunderstand. He's referring to the Sender >> header, not the From header. The messages the listbot sends >> out have a Sender header of >> "[EMAIL PROTECTED]" (supposing >> the subscriber's email addr

Re: Gateway to python-list is generating bounce messages.

2008-09-12 Thread MRAB
On Sep 12, 11:15 pm, Matt Nordhoff <[EMAIL PROTECTED]> wrote: > Steven D'Aprano wrote: > > On Thu, 11 Sep 2008 17:27:33 +0200, Sjoerd Mullender wrote: > > >> When mail messages bounce, the MTA (Message Transfer Agent--the program > >> that handles mail) *should* send the bounce message to whatever

Good python web programming books

2008-09-12 Thread bhaarat Sharma
Hi Guys, I am very new to python. I am looking for a good book about python web programming. I looked at a few online like Web Programming In Python but most are quite old. If you've read a good book on python web programming can you please suggest some? Thanks -- http://mail.python.org/mailma

Re: Good python web programming books

2008-09-12 Thread Chris Rebert
I've heard good things about The Django Book: http://www.djangobook.com/ - Chris On Fri, Sep 12, 2008 at 5:57 PM, bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I am very new to python. I am looking for a good book about python web > programming. > > I looked at a few online like Web Pr

n00b question: Better Syntax for Coroutines?

2008-09-12 Thread ig
First off, I'm a python n00b, so feel free to comment on anything if I'm doing it "the wrong way." I'm building a discrete event simulation tool. I wanted to use coroutines. However, I want to know if there's any way to hide a yield statement. I have a class that I'd like to look like this: class

Re: Good python web programming books

2008-09-12 Thread bhaarat Sharma
That will be concentrating more on the Django framework On Fri, Sep 12, 2008 at 6:08 PM, Chris Rebert <[EMAIL PROTECTED]> wrote: > I've heard good things about The Django Book: http://www.djangobook.com/ > - Chris > > On Fri, Sep 12, 2008 at 5:57 PM, bhaarat Sharma <[EMAIL PROTECTED]> > wrote: >

RELEASED Python 2.6rc1

2008-09-12 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team and the Python community, I am happy to announce the first release candidate for Python 2.6. This is a release candidate, so while it is not suitable for production environments, we strongly encourage you

Re: GUI programming with python

2008-09-12 Thread David Boddie
On Saturday 13 September 2008 01:04, sturlamolden wrote: > On Sep 12, 8:33 pm, [EMAIL PROTECTED] (Al Dykes) wrote: > >> OK, what are my choices for an IDE/GUI development tool that runs on XP? [...] > Cpython with PyQt: BlackAdder People using this combination apparently prefer Eric, these day

Re: Good python web programming books

2008-09-12 Thread Sean DiZazzo
On Sep 12, 6:08 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > I've heard good things about The Django Book:http://www.djangobook.com/ > - Chris > > > > On Fri, Sep 12, 2008 at 5:57 PM, bhaarat Sharma <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > > I am very new to python.  I am looking for a good b

Insider information, fackbook labs open today, we the first to register!

2008-09-12 Thread [EMAIL PROTECTED]
Insider information, fackbook labs open today, we the first to register! www.fackbooklabs.com -- http://mail.python.org/mailman/listinfo/python-list

Re: n00b question: Better Syntax for Coroutines?

2008-09-12 Thread Aaron "Castironpi" Brady
On Sep 12, 8:08 pm, [EMAIL PROTECTED] wrote: > First off, I'm a python n00b, so feel free to comment on anything if > I'm doing it "the wrong way." I'm building a discrete event simulation > tool. I wanted to use coroutines. However, I want to know if there's > any way to hide a yield statement. >

Re: universal unicode font for reportlab

2008-09-12 Thread Tim Roberts
Duncan Booth <[EMAIL PROTECTED]> wrote: > >The not too scientific test I did was to copy the font embedding example >from the Reportlab documentation, modify it enough to make it actually >run, and then change the output to have only one glyph. The resulting >PDF is virtually identical. I'm not

Wrong application name in menubar of OS X

2008-09-12 Thread erikcw
Hi, The menubar of OS X is showing the application name as Python instead of the name of my wxpython gui app. How do I make my application name show-up in the menu bar? Thanks! Erik -- http://mail.python.org/mailman/listinfo/python-list

Re: n00b question: Better Syntax for Coroutines?

2008-09-12 Thread Carl Banks
On Sep 12, 9:08 pm, [EMAIL PROTECTED] wrote: > First off, I'm a python n00b, so feel free to comment on anything if > I'm doing it "the wrong way." I'm building a discrete event simulation > tool. I wanted to use coroutines. However, I want to know if there's > any way to hide a yield statement. >

Re: lacking follow-through

2008-09-12 Thread Carl Banks
On Sep 12, 12:35 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Steve Holden wrote: > > The defence rests. > > can you please stop quoting that guy, so we don't have to killfile you > as well... Guy? Carl Banks -- http://mail.python.org/mailman/listinfo/python-list

Re: lacking follow-through

2008-09-12 Thread Carl Banks
On Sep 12, 8:16 am, Steve Holden <[EMAIL PROTECTED]> wrote: > castironpi wrote: > > On Sep 7, 5:03 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > >> On Mon, 08 Sep 2008 07:34:55 +1000, James Mills wrote: > >>> This is the strangest post I've seen > >>> since I've joined this list (only >

Re: ctypes: Get full contents of character array

2008-09-12 Thread Aaron "Castironpi" Brady
On Sep 12, 6:38 pm, [EMAIL PROTECTED] wrote: > Hello! > > I wanted to get the full contents of a character array stored in a > struct, i.e. > _fields_ = [...("array", c_char * 12)...] > however, ctypes seems to try to return struct.array as a Python string > rather than a character array, and stops

Re: lacking follow-through

2008-09-12 Thread Terry Reedy
Carl Banks wrote: I'm surprised there is anyone who still gives castironpi credit for being fully human. His recent posts have generally been quite different from those of some months ago. Even he recognizes that they were somewhat weird and has tried to do better. Did he ever make any de

<    1   2