Re: using python logo at startup

2009-04-21 Thread Carl Banks
On Apr 21, 10:50 am, Mike Driscoll  wrote:
> On Apr 21, 11:46 am, Dhruv  wrote:
>
> > Is there a way to display/flash "python powered" logo for like 2
> > seconds at startup of a helloworld application?
>
> > Well actually I have an application that takes data from an excel file
> > and generates a kml file and opens it up with google earth. All this
> > is compiled in an exe file using py2exe. Now I just want to display
> > the python logo before the actual script starts. Just for the sake of
> > informing the user that this application was made using python.
>
> > Is this possible?
>
> Sure. You just need to pick a GUI toolkit and have it display a
> picture for a few seconds and then disappear. wxPython has a built-in
> splash screen widget made for just this purpose. Tkinter may too, or
> you could just roll your own in it.


I don't recommend packaging a GUI toolkit--especially wx--just to pop
up a splash screen.  That's a lot of dependency for something very
basic.

Googling for "python splash screen" yields this recipe which seems
pretty simple.

http://code.activestate.com/recipes/120687/


Also, no matter how spiffy the Python logo is, you should always give
the user an option to disable it.  (A lot of people like to start an
app and do something else while it's loading, and splash screens are
highly irritating when doing this.)


Carl Banks
--
http://mail.python.org/mailman/listinfo/python-list


Re: using python logo at startup

2009-04-21 Thread Mike Driscoll
On Apr 21, 11:46 am, Dhruv  wrote:
> Is there a way to display/flash "python powered" logo for like 2
> seconds at startup of a helloworld application?
>
> Well actually I have an application that takes data from an excel file
> and generates a kml file and opens it up with google earth. All this
> is compiled in an exe file using py2exe. Now I just want to display
> the python logo before the actual script starts. Just for the sake of
> informing the user that this application was made using python.
>
> Is this possible?

Sure. You just need to pick a GUI toolkit and have it display a
picture for a few seconds and then disappear. wxPython has a built-in
splash screen widget made for just this purpose. Tkinter may too, or
you could just roll your own in it.

- Mike
--
http://mail.python.org/mailman/listinfo/python-list


using python logo at startup

2009-04-21 Thread Dhruv
Is there a way to display/flash "python powered" logo for like 2
seconds at startup of a helloworld application?

Well actually I have an application that takes data from an excel file
and generates a kml file and opens it up with google earth. All this
is compiled in an exe file using py2exe. Now I just want to display
the python logo before the actual script starts. Just for the sake of
informing the user that this application was made using python.

Is this possible?
--
http://mail.python.org/mailman/listinfo/python-list