Mark Summerfield <[email protected]>:
> Suggestion #1: Make IDLE start in the user's home directory.
>
> Suggestion #2: Make all the turtle examples begin "from turtle import
> *" so no leading turtle. is needed in the examples.
>
> Suggestion #3: Make object(key=value, ...) legal and equiv of
> types.SimpleNamespace(key=value, ...).
Great suggestions for adults as well.
Expanding #3:
>>> o = object()
>>> o.x = 3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'object' object has no attribute 'x'
Why?
Marko
--
https://mail.python.org/mailman/listinfo/python-list