Hello all,
I'm using MacPython 2.5 on OS X 10.4.
I was just wondering if all the Python modules are contained in this
directory:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
Also, I've installed the Python Image Library (PIL), and it seems to
be installed in this folder:
Hi everyone, been looking at the following functions, but can't
figure out how they work.
def f(a, L=[]):
L.append(a)
return L
def g(a, L=None):
if L == None:
L = []
L.append(a)
return L
print f(1)
print f(2)
print f(3)
print g(1)
print g
,
Roy Chen
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello everyone,
I've just started trying PythonCard to build a simple GUI for a little
application I'm writing.
Just wondering if anyone knows the "proper" way to do some simple error
checking:
for example, I have a textField, and I wish to check that only integers
within a certain
range are enter
ly) GUI builder. I'm
leaning towards wxPython so far (it's had a recent release just a month or
so ago), but if anyone has any suggestions, that'd be great.
Thanks in advance,
Roy Chen
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ell (a big surprise for me). And the fact this
> approach is cross platform, for "platform" being defined as Windows,
> Linux, Mac, Firefox, IE6, IE7 and Opera, makes this a great choice for
> a easy UI toolkit.
>
> --Michael
>
> On Jan 2, 2008 9:08 AM, Roy Che
Thanks for all the help, Dabo looks interesting, but perhaps a bit overkill
right now for what I have in mind. Certainly something useful to learn in
the long run, though.
I suppose with any GUI toolkit/builder, you're going to have learn some part
of the API anyway. I might just see how I go with