[wxPython] Re: wxPython-users digest, Vol 1 #334 - 14 msgs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[wxPython] Re: wxPython-users digest, Vol 1 #334 - 14 msgs

Hans van der Willik

----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>
Sent: Saturday, March 04, 2000 7:01 PM
Subject: wxPython-users digest, Vol 1 #334 - 14 msgs


>
> Send wxPython-users mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the web, visit
> http://starship.python.net/mailman/listinfo/wxpython-users
> or, via email, send a message with subject or body 'help' to
> [hidden email]
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of wxPython-users digest..."
>
>
> Today's Topics:
>
>   1. Boa Constructor -- Great! (Gordon Williams)
>   2. Menu items with small icons (=?iso-8859-1?Q?Fr=E9d=E9ric=20G=E9din?=)
>   3. What is the best Python book to buy, do any do wxPython? (Ben Hall)
>   4. Re: What is the best Python book to buy, do any do wxPython? (Gerrit
Holl)
>   5. Re: Boa Constructor -- Great! (Riaan Booysen)
>   6. immediate image draw? (Bob Klimek)
>   7. Re: immediate image draw? (Robin Dunn)
>   8. Python source->HTML pretty printer (Stephen Pitts)
>   9. Re: Python source->HTML pretty printer (Fredrik Lundh)
>   10. Re: Python source->HTML pretty printer (Robin Dunn)
>   11. Re: Python source->HTML pretty printer (Gerrit Holl)
>   12. Re: What is the best Python book to buy, do any do wxPython? (Bill
Eldridge)

>   13. Problems with the Installation of wxPython (Mahmoud Nikbakht)
>   14. Re: Problems with the Installation of wxPython (Fredrik Lundh)
>
> --__--__--
>
> Message: 1
> Reply-To: <[hidden email]>
> From: "Gordon Williams" <[hidden email]>
> To: <[hidden email]>, <[hidden email]>
> Cc: "Colin J Williams" <[hidden email]>
> Date: Fri, 3 Mar 2000 13:31:03 -0500
> Subject: [wxPython] Boa Constructor -- Great!
>
> Hi Riaan,
>
> Had a quick look at your Boa Constructor
> (http://boa-constructor.sourceforge.net.)
> and I must say that I am very impressed with your effort.  Not quite ready
> for prime time, but what I saw I liked very much.
>
> Regards
>
> Gordon Williams
>
> --__--__--
>
> Message: 2
> Date: Fri, 03 Mar 2000 14:10:33 +0100
> From: =?iso-8859-1?Q?Fr=E9d=E9ric=20G=E9din?=
<[hidden email]>

> To: [hidden email]
> Subject: [wxPython] Menu items with small icons
>
> SGkNCg0KDQpJcyB0aGVyZSBhIHdheSB0byBwdXQgc21hbGwgaWNvbnMgaW4gbWVudSBpdGVt
> cz8NCkkgdHJpZWQgdG8gcGxheSB3aXRoIHRoZSB3eE1lbnVJdGVtOjpHZXRCaXRtYXAgYW5k
> IHd4TWVudUl0ZW1TZXRCaXRtYXBzDQpmdW5jdGlvbiBidXQgdGhleSBzZWVtIG5vdCB0byBi
> ZSBpbXBsZW1lbnRlZCBpbiB3eFB5dGhvbjogSSBnZXQgYW4NCmF0dHJpYnV0ZSBlcnJvciBt
> ZXNzYWdlLg0KDQpUaGFua3MgZm9yIHlvdXIgaGVscA0KDQpGculk6XJpYw0K
>
>
> --__--__--
>
> Message: 3
> Date: Fri, 03 Mar 2000 15:10:08 +0000
> From: Ben Hall <[hidden email]>
> To: [hidden email]
> Subject: [wxPython] What is the best Python book to buy, do any do
wxPython?

>
> Hi,
>
> I'm looking to buy another Python book.  I have Learning Python, but
> it's a little to basic.  Are there any exceptional Python books out
> there?  I'm especially interested in ones dealing with wxPython.  I know
> O'Reily's Python on Win32 has a brief tutorial, but I'm looking for
> something a bit more comprehensive, and I'm not interested in Win32.
>
> Thanks for any tips, sorry if this is the wrong place to post the
> message.
>
> Ben
>
>
>
> --__--__--
>
> Message: 4
> Date:   Fri, 3 Mar 2000 20:04:18 +0100
> From:   Gerrit Holl <[hidden email]>
> To:     Ben Hall <[hidden email]>
> Cc:     [hidden email]
> Subject: Re: [wxPython] What is the best Python book to buy, do any do
wxPython?

> [hidden email]
>
> <quote name="Ben Hall" date="952092608" email="[hidden email]">
> > Hi,
> >
> > I'm looking to buy another Python book.  I have Learning Python, but
> > it's a little to basic.  Are there any exceptional Python books out
> > there?  I'm especially interested in ones dealing with wxPython.  I know
> > O'Reily's Python on Win32 has a brief tutorial, but I'm looking for
> > something a bit more comprehensive, and I'm not interested in Win32.
>
> The online documentation is the most comprehensive out there - and
> if you prefer a book, you can read it as a book. You can view the
> documentation online at the following URL:
>
>     http://www.python.org/doc/current/
>
> If you want to buy it, please consider buying via www.noamazon.com.
>
> > Thanks for any tips, sorry if this is the wrong place to post the
> > message.
>
> It is - this list is not about Python but about wxPython - but it
> doesn't matter.
> </quote>
>
> regards,
> Gerrit.
>
> --
> Plies korekt enie bet ingglisj joe encauntur in mai imil mesusj!
> -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
> Version: 3.12
> GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V
PS+ PE?

> Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
> -----END GEEK CODE BLOCK-----
>
> --__--__--
>
> Message: 5
> Date: Fri, 03 Mar 2000 22:15:49 +0200
> From: Riaan Booysen <[hidden email]>
> To: [hidden email],
> wxPython Mailing list <[hidden email]>
> Subject: Re: [wxPython] Boa Constructor -- Great!
>
> Hi,
>
> Gordon Williams wrote:
> >
> > Hi Riaan,
> >
> > Had a quick look at your Boa Constructor
> > (http://boa-constructor.sourceforge.net.)
> > and I must say that I am very impressed with your effort.  Not quite
ready

> > for prime time, but what I saw I liked very much.
>
> Thank you and definitely not ready yet!
> Might never be, but it will always be getting closer :)
>
> Riaan
>
> --__--__--
>
> Message: 6
> Date: Fri, 03 Mar 2000 15:29:05 -0500
> From: Bob Klimek <[hidden email]>
> Organization: NASA Glenn Research
> To: wxPython Post <[hidden email]>
> Subject: [wxPython] immediate image draw?
>
> Hello All,
>
> Is there a way to force an image (actually a rectangular area of
> interest (AOI)) to be drawn immediately?
>
> I'd like to perform a series of filtering operations on an image but I
> want the resultant image to be displayed after each operation. Currently
> no re-drawing is done until all operations are finished and then the
> final result is displayed.
>
> I've tried the following:
> 1. self.Refresh(false, rect) # calls OnPaint
> 2. dc.DrawBitmap(img.ConvertToBitmap(), x, y)
>
> but neither forces an immediate draw. Any ideas?
>
> Bob
>
> --__--__--
>
> Message: 7
> From: "Robin Dunn" <[hidden email]>
> To: "Bob Klimek" <[hidden email]>,
> "wxPython Post" <[hidden email]>
> Subject: Re: [wxPython] immediate image draw?
> Date: Fri, 3 Mar 2000 13:41:24 -0800
> charset="Windows-1252"
>
> >
> > I've tried the following:
> > 1. self.Refresh(false, rect) # calls OnPaint
> > 2. dc.DrawBitmap(img.ConvertToBitmap(), x, y)
> >
> > but neither forces an immediate draw. Any ideas?
> >
>
> What kind of dc are you using?  You should be able to create a wxClientDC
at

> anytime and draw on it and have the results show up immediately.
>
> --
> Robin Dunn
> Software Craftsman
> [hidden email]
> http://AllDunn.com/robin/
> http://AllDunn.com/wxPython/  Check it out!
>
>
>
> --__--__--
>
> Message: 8
> Date: Thu, 2 Mar 2000 19:47:40 -0600
> From: Stephen Pitts <[hidden email]>
> To: [hidden email]
> Subject: [wxPython] Python source->HTML pretty printer
>
> I noticed that on the wxPython web site, there is a syntax-highlighted
> HTML version of test1.py. Does anyone know of a source->HTML syntax
> highlighting program for Python source?
> --
> Stephen Pitts
> [hidden email]
>
> --__--__--
>
> Message: 9
> Reply-To: "Fredrik Lundh" <[hidden email]>
> From: "Fredrik Lundh" <[hidden email]>
> To: "Stephen Pitts" <[hidden email]>,
> <[hidden email]>
> Subject: Re: [wxPython] Python source->HTML pretty printer
> Date: Fri, 3 Mar 2000 23:05:57 +0100
> charset="iso-8859-1"
>
> > I noticed that on the wxPython web site, there is a syntax-highlighted
> > HTML version of test1.py. Does anyone know of a source->HTML syntax
> > highlighting program for Python source?
>
> here's one:
> http://starship.python.net/crew/just/
>
> </F>
>
>
> --__--__--
>
> Message: 10
> From: "Robin Dunn" <[hidden email]>
> To: "Stephen Pitts" <[hidden email]>,
> "wxPython-users" <[hidden email]>
> Subject: Re: [wxPython] Python source->HTML pretty printer
> Date: Fri, 3 Mar 2000 16:40:25 -0800
> charset="Windows-1252"
>
> > I noticed that on the wxPython web site, there is a syntax-highlighted
> > HTML version of test1.py. Does anyone know of a source->HTML syntax
> > highlighting program for Python source?
> > --
>
> I just used VIM for that.  One of the menu options is to write out the
syntax

> highlighting in HTML.
>
> --
> Robin Dunn
> Software Craftsman
> [hidden email]
> http://AllDunn.com/robin/
> http://AllDunn.com/wxPython/  Check it out!
>
>
>
> --__--__--
>
> Message: 11
> Date:   Sat, 4 Mar 2000 08:26:08 +0100
> From:   Gerrit Holl <[hidden email]>
> To:     Stephen Pitts <[hidden email]>
> Cc:     [hidden email]
> Subject: Re: [wxPython] Python source->HTML pretty printer
> [hidden email]
>
> <quote name="Stephen Pitts" date="952022860"
email="[hidden email]">

> > I noticed that on the wxPython web site, there is a syntax-highlighted
> > HTML version of test1.py. Does anyone know of a source->HTML syntax
> > highlighting program for Python source?
> </quote>
>
> HTMLgen is able to do that. Search for 'HTMLgen' on www.vex.net/parnassus.
>
> regards,
> Gerrit.
>
> --
> Plies korekt enie bet ingglisj joe encauntur in mai imil mesusj!
> -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
> Version: 3.12
> GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V
PS+ PE?

> Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
> -----END GEEK CODE BLOCK-----
>
> --__--__--
>
> Message: 12
> Date: Sat, 04 Mar 2000 17:32:37 +0800
> From: Bill Eldridge <[hidden email]>
> Organization: Radio Free Asia
> To: Gerrit Holl <[hidden email]>
> CC: Ben Hall <[hidden email]>, [hidden email]
> Subject: Re: [wxPython] What is the best Python book to buy, do any do
wxPython?

>
>
> "Python Essential Reference" by David Beazley (the SWIG guy),
> New Riders press, is excellent as a computer-side reference -
> much better for me than continually looking at the on-line
> reference, more complete in the basic areas including good
> explanations of many topics in addition to strict documentation
> (though not including some lesser-used modules like ConfigParser, etc.,
> that you'll need the on-line documentation for).
>
> I got it about a month ago, and I've used it about 10 times as
> much as my other Python books.
>
>
>
> Gerrit Holl wrote:
> >
> > <quote name="Ben Hall" date="952092608" email="[hidden email]">
> > > Hi,
> > >
> > > I'm looking to buy another Python book.  I have Learning Python, but
> > > it's a little to basic.  Are there any exceptional Python books out
> > > there?  I'm especially interested in ones dealing with wxPython.  I
know

> > > O'Reily's Python on Win32 has a brief tutorial, but I'm looking for
> > > something a bit more comprehensive, and I'm not interested in Win32.
> >
> > The online documentation is the most comprehensive out there - and
> > if you prefer a book, you can read it as a book. You can view the
> > documentation online at the following URL:
> >
> >     http://www.python.org/doc/current/
> >
> > If you want to buy it, please consider buying via www.noamazon.com.
> >
> > > Thanks for any tips, sorry if this is the wrong place to post the
> > > message.
> >
> > It is - this list is not about Python but about wxPython - but it
> > doesn't matter.
> > </quote>
> >
> > regards,
> > Gerrit.
> >
> > --
> > Plies korekt enie bet ingglisj joe encauntur in mai imil mesusj!
> > -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
> > Version: 3.12
> > GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V
PS+ PE?

> > Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
> > -----END GEEK CODE BLOCK-----
> >
> > _______________________________________________
> > wxPython-users maillist  -  [hidden email]
> > http://starship.python.net/mailman/listinfo/wxpython-users
>
> --
> Bill Eldridge
> Radio Free Asia
> [hidden email]
>
> --__--__--
>
> Message: 13
> Date: Sat, 04 Mar 2000 15:07:32 +0100
> From: Mahmoud Nikbakht <[hidden email]>
> To: [hidden email]
> Subject: [wxPython] Problems with the Installation of wxPython
>
> After downloading the packages wxGTK-2.1.13-0.i386.rpm and
> wxPython-2.1.13-1.i386.rpm and following the usual way of
> installation of RPMs, I have tried to test the code of the
> first tutorial on the home page of wxPython. The result is
> documented in the following:
>
> Before pressing the "Return" key:
>
> >>> from wxPython.wx import *
> >>> class MyApp(wxApp):
>          def OnInit(self):
>              frame = wxFrame(NULL, -1, "Hello from wxPython")
>              frame.Show(true)
>              self.SetTopWindow(frame)
>              return true
>
>
>
>
> After pressing the "Return" key:
>
> >>> from wxPython.wx import *
> >>> Exception in Tkinter callback
> Traceback (innermost last):
>   File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 764, in __call__
>     return apply(self.func, args)
>   File "/usr/doc/packages/python/Tools/idle-0.5/PyShell.py", line 546,
> in enter_callback
>     self.auto.auto_indent(event)
>   File "/usr/doc/packages/python/Tools/idle-0.5/AutoIndent.py", line
> 256, in newline_and_indent_event
>     lno = index2line(text.index('insert'))
>   File "/usr/doc/packages/python/Tools/idle-0.5/AutoIndent.py", line
> 483, in index2line
>     return int(float(index))
> ValueError: invalid literal for float(): 11.0
> class MyApp(wxApp):
>          def OnInit(self):
>              frame = wxFrame(NULL, -1, "Hello from wxPython")
>              frame.Show(true)
>              self.SetTopWindow(frame)
>              return true
>
>
> >>>
>
> After then IDLE doesn't work properly. By pressing the "Return" key one
> gets
> instead of a new line the following error message
> >>>Exception in Tkinter callback
> Traceback (innermost last):
>   File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 764, in __call__
>     return apply(self.func, args)
>   File "/usr/doc/packages/python/Tools/idle-0.5/PyShell.py", line 546,
> in enter_callback
>     self.auto.auto_indent(event)
>   File "/usr/doc/packages/python/Tools/idle-0.5/AutoIndent.py", line
> 256, in newline_and_indent_event
>     lno = index2line(text.index('insert'))
>   File "/usr/doc/packages/python/Tools/idle-0.5/AutoIndent.py", line
> 483, in index2line
>     return int(float(index))
> ValueError: invalid literal for float(): 34.0
>
>
>
> >>>
>
> Can somebody help me to fix this problem?
>
> Best regards,
>
> M. Nikbakht
> Email: [hidden email]
>
>
> --__--__--
>
> Message: 14
> Reply-To: "Fredrik Lundh" <[hidden email]>
> From: "Fredrik Lundh" <[hidden email]>
> To: "Mahmoud Nikbakht" <[hidden email]>,
> <[hidden email]>
> Subject: Re: [wxPython] Problems with the Installation of wxPython
> Date: Sat, 4 Mar 2000 17:46:11 +0100
> charset="iso-8859-1"
>
> Mahmoud Nikbakht <[hidden email]> wrote:
> > After downloading the packages wxGTK-2.1.13-0.i386.rpm and
> > wxPython-2.1.13-1.i386.rpm and following the usual way of
> > installation of RPMs, I have tried to test the code of the
> > first tutorial on the home page of wxPython
>
> (is wxPython really supposed to work from inside
> IDLE?  running two different user interface toolkits
> at the same time tends to be a great way to mess
> things up completely).
>
> > ValueError: invalid literal for float(): 11.0
>
> looks as if the wxPython library is screwing up the
> locale setting.  Python extensions aren't supposed
> to do that...
>
> ...
>
> to see if this works outside IDLE, just put your
> code in a file named "test.py" (or whatever), and
> run it from the ordinary shell.
>
> </F>
>
>
>
>
> --__--__--
>
> _______________________________________________
> wxPython-users maillist  -  [hidden email]
> http://starship.python.net/mailman/listinfo/wxpython-users
>
>
> End of wxPython-users Digest


Hallo Python,

Kindly stop sending e-mail; to my address -this is the second request


_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users