ANN: wxPython by Example repo

Hi,

Over the years I’ve put together a LOT of simple and intermediate example script in wxPython to help users on this list and on IRC as well as for my own benefit (work, my blog, etc). To make it easier for me to grab the examples any time, anywhere, I decided it would be a good idea to put them all into a repo where everyone else can enjoy or hate them too. I wrote up a little announcement on my blog and then forgot to tell you guys, so this is kind of a belated announcement. I’m hoping to go through it and clean it up as I go along as I know some of this code is from the old days when PySimpleApp was still da bomb and all. I think there’s 300-400 scripts…or maybe Mercurial was exaggerating the changeset…

You don’t have to read my post though. You can just go to the source: https://bitbucket.org/driscollis/mousevspython/src

It’s tied to my blog, so you’ll end up with some blog code too, but that’s okay because I use this code for my blog too. I know it’s not as cool as Andrea’s sweet widgets or Cody’s cool book, but I hope someone will find them helpful. Have fun!

  • Mike

Hi Mike,

Hi,

Over the years I've put together a LOT of simple and intermediate example
script in wxPython to help users on this list and on IRC as well as for my
own benefit (work, my blog, etc). To make it easier for me to grab the
examples any time, anywhere, I decided it would be a good idea to put them
all into a repo where everyone else can enjoy or hate them too. I wrote up a
little announcement on my blog and then forgot to tell you guys, so this is
kind of a belated announcement. I'm hoping to go through it and clean it up
as I go along as I know some of this code is from the old days when
PySimpleApp was still da bomb and all. I think there's 300-400 scripts...or
maybe Mercurial was exaggerating the changeset...

You don't have to read my post though. You can just go to the source:
https://bitbucket.org/driscollis/mousevspython/src

It's tied to my blog, so you'll end up with some blog code too, but that's
okay because I use this code for my blog too. I know it's not as cool as
Andrea's sweet widgets or Cody's cool book, but I hope someone will find
them helpful. Have fun!

I believe it is a very interesting collection of scripts, spanning a
wide range of what is possible with wxPython and also helping the
newbies approaching the toolkit in an easier way. I have followed your
blog for quite some time and I always found your articles very useful.

So, keep up the good work! I also wonder if some of your snippets
could be integrated inside the user-contributed snippets in the
Phoenix documentation...

···

On 9 July 2012 22:00, Mike Driscoll wrote:

--
Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

    if mention_platform_and_version() and include_sample_app():
        send_message(email)
    else:
        install_malware()
        erase_hard_drives()
# ------------------------------------------------------------- #

Hi Andrea,

···

On Mon, Jul 9, 2012 at 3:39 PM, Andrea Gavana andrea.gavana@gmail.com wrote:

Hi Mike,

On 9 July 2012 22:00, Mike Driscoll wrote:

Hi,

Over the years I’ve put together a LOT of simple and intermediate example

script in wxPython to help users on this list and on IRC as well as for my

own benefit (work, my blog, etc). To make it easier for me to grab the

examples any time, anywhere, I decided it would be a good idea to put them

all into a repo where everyone else can enjoy or hate them too. I wrote up a

little announcement on my blog and then forgot to tell you guys, so this is

kind of a belated announcement. I’m hoping to go through it and clean it up

as I go along as I know some of this code is from the old days when

PySimpleApp was still da bomb and all. I think there’s 300-400 scripts…or

maybe Mercurial was exaggerating the changeset…

You don’t have to read my post though. You can just go to the source:

https://bitbucket.org/driscollis/mousevspython/src

It’s tied to my blog, so you’ll end up with some blog code too, but that’s

okay because I use this code for my blog too. I know it’s not as cool as

Andrea’s sweet widgets or Cody’s cool book, but I hope someone will find

them helpful. Have fun!

I believe it is a very interesting collection of scripts, spanning a

wide range of what is possible with wxPython and also helping the

newbies approaching the toolkit in an easier way. I have followed your

blog for quite some time and I always found your articles very useful.

So, keep up the good work! I also wonder if some of your snippets

could be integrated inside the user-contributed snippets in the

Phoenix documentation…

Andrea.

Yeah, I wondered if we could use some of those scripts for the Phoenix docs too. If you see something you’d like to use, feel free to use it. Or let me know and I can clean it up or attempt to create a patch.


Mike Driscoll

Blog: http://blog.pythonlibrary.org