[wxPython] [Q] Newbie is looking for a tutorial and referece

Hi, all.

I am new to Python and wxPython. I read through the wxPython web site, but there was not enogh tutorial and reference.

Some others say I can use wxWindows reference, but I don’t know what wxWindows is.

I know the web site for wxWindow, but I have no idea how to use wxWindow reference.

Can anybody shed some light on me?

Thanks in advance.

Young-Jin Lee

Hi, all.
I am new to Python and wxPython. I read through the wxPython web site, but there was not enogh tutorial and reference.
Some others say I can use wxWindows reference, but I don't know what wxWindows is.

wxPython is a Python layer on top of the C++ GUI framework
wxWindows.

I know the web site for wxWindow, but I have no idea how to use wxWindow reference.
Can anybody shed some light on me?

If you are new to Python, I'd suggest that you start
with something other than building GUIs. I don't think
that's the smoothest place to start.

The wxWindows reference is included with wxPython. But
first of all, you will learn a lot by looking at the
demo included with wxPython. You can see almost all source
code directly in the demo.

Good Luck, I hope you feel enlightened now! :wink:

Magnus

···

At 13:53 2001-10-31 -0600, you wrote:

--
Magnus Lyckå, Thinkware AB
Älvans väg 99, SE-907 50 UMEÅ
tel 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se

Actually, I don't think enlightenment comes until after you strike him on the
head with the docs =)

···

On Wednesday 31 October 2001 12:30, Magnus Lyckå wrote:

Good Luck, I hope you feel enlightened now! :wink:

--
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308

Young-Jin Lee wrote:
I am new to Python and wxPython. I read through the wxPython web site,
but there was not enogh tutorial and reference.
Some others say I can use wxWindows reference, but I don't know what
wxWindows is.
I know the web site for wxWindow, but I have no idea how to use
wxWindow reference.
Can anybody shed some light on me?

We are still in need of a nice complete tutorial for wxPython but in the
meantime:

There is the wxPython Wiki, but it is down at the moment. It should be
up again soon. Keep an eye on this newsgroup for an announcement.

The wxWindows reference docs are at:

http://www.wxpython.org/onlinedocs.php

They are written for the C++ version of wxWindows, but there are notes
in there when things are different for Python, and while it takes a
littel while to learn to translate from the C++ to Python, you should be
able to get the hang of it, without knowing C++.

The wxPython demo is your best source of examples. If you compare what
is in there to what is in the C++ docs, you will soon figure out how to
read the C++ Docs. What most of us do is look for something in the demo
that is close to ehat we want to do, copy it, and then alter it to fit
our needs.

You might also want to take a look at the wxPython Pit, for examples of
what can be done:

http://wxpython-pit.sourceforge.net/

Another note: You mention that you are new to Python, depending on your
other programming experience, it might make sense to learn a fair bit
about Python itself before delving into wxPython. I know I had a very
hard time with wxPython until I had a good grasp of OO concepts in
Python.

To Robin and everyone else:

We get a fair number of questions like this on this group, which is
fine, but it seems like it may be a good idea to to put a "How to learn
wxPython" page on the web site, that would have info like this and more.

-Chris

···

--
Christopher Barker,
Ph.D.
ChrisHBarker@home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
                                   ------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------

I am new to Python and wxPython. I read through the wxPython
web site, but there was not enogh tutorial and reference.
Some others say I can use wxWindows reference, but I don't
know what wxWindows is. I know the web site for wxWindow,
but I have no idea how to use wxWindow reference.
Can anybody shed some light on me?

http://wiki.wxpython.org/index.cgi/Getting_20Started
http://wiki.wxpython.org/index.cgi/wxPython_20Cookbook
http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin.htm

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

To Robin and everyone else:

We get a fair number of questions like this on this group, which is
fine, but it seems like it may be a good idea to to put a "How to learn
wxPython" page on the web site, that would have info like this and more.

Make a page in the wiki with this info and add it to the wiki's FrontPage.
Once it's done I'll also add a link to it from the wxpython.org main page.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

Robin Dunn wrote:

> We get a fair number of questions like this on this group, which is
> fine, but it seems like it may be a good idea to to put a "How to learn
> wxPython" page on the web site, that would have info like this and more.

Make a page in the wiki with this info and add it to the wiki's FrontPage.
Once it's done I'll also add a link to it from the wxpython.org main page.

It's done.

here it is:

http://wiki.wxpython.org/index.cgi/How_20to_20Learn_20wxPython

I didn't use any formating, which is OK, but if anyone wants to go and
edit it and make it look pretty, that would be nice.

It would also be great if someone could write a littel tutorial with
examples, of how to read the C++ docs and translate them to Python. If
it's real short, you can just add it to that page, if you make it more
involved, add and extra page.

-Chris

···

--
Christopher Barker,
Ph.D.
ChrisHBarker@home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
                                   ------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------

>
> Make a page in the wiki with this info and add it to the wiki's

FrontPage.

> Once it's done I'll also add a link to it from the wxpython.org main

page.

It's done.

here it is:

http://wiki.wxpython.org/index.cgi/How_20to_20Learn_20wxPython

Thanks!

It would also be great if someone could write a littel tutorial with
examples, of how to read the C++ docs and translate them to Python. If
it's real short, you can just add it to that page, if you make it more
involved, add and extra page.

It's already there. I've modified your page to point to it.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

Robin Dunn wrote:

> It would also be great if someone could write a littel tutorial with
> examples, of how to read the C++ docs and translate them to Python. If
> it's real short, you can just add it to that page, if you make it more
> involved, add and extra page.

It's already there. I've modified your page to point to it.

Thanks, I had a feeling it might be. One reason I didn't take the time
to do it myself.

-Chris

···

--
Christopher Barker,
Ph.D.
ChrisHBarker@home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
                                   ------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------