Widget to edit arbitrary dictionary...
pehr anderson
pehr at pehr.net
Sat Oct 7 00:04:15 EDT 2000
Dear Simon,
I don't know of a widget for editing an arbitrary dictionary.
When I think of an "arbitrary" dictionary, it has a zillion
possibilities... Strings, tuples, longs, etc. How could it
comprehensively edit such a thing?
A simple hack might be to use a text-edit widget,
fill it with:
key1:value
key2:value
and let the user edit it as text.
When done, just reparse the thing
with some minimal error reporting
if they break the key:value mapping.
-pehr
Simon Brunning wrote:
>
> I have a dictionary, which I would like to allow the user to edit before
> further processing. Is there a widget (ideally Tkinter) available which does
> this?
>
> Cheers,
> Simon Brunning
> TriSystems Ltd.
> sbrunning at trisystems.co.uk
>
> -----------------------------------------------------------------------
> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorised. If you are not the intended recipient, any disclosure,
> copying, distribution, or any action taken or omitted to be taken in
> reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
> accept liability for statements made which are clearly the senders own.
More information about the Python-list
mailing list