On Sep 4, 3:34 pm, "Edward K. Ream" <[email protected]> wrote:

> names = (
>     "co_bc_1",        # 1 digit black circle
>     "co_bc_2",        # 2 digit black circle
>     "co_bc_text_1",   # text holder for 1 digit black circle
>     "co_bc_text_2",   # text holder for 2 digit black circle
>     "co_frame",       # frame for speech balloon callout
>     "co_g_bc_1",      # group for 1 digit black circle
>     "co_g_bc_2",      # group for 2 digit black circle
>     "co_g_co",        # group for speech balloon callout
>     "co_shot",        # image for screen shot
>     "co_text_holder", # text holder for speech balloon callout
> )
>
> for name in names:
>     print(name,ids.get(name))

The output is something like this:

co_bc_1 <Element {http://www.w3.org/2000/svg}path at 8824f10>
co_bc_2 <Element {http://www.w3.org/2000/svg}path at 881bbd0>
co_bc_text_1 <Element {http://www.w3.org/2000/svg}tspan at 3bbb930>
co_bc_text_2 <Element {http://www.w3.org/2000/svg}tspan at 8824350>
co_frame <Element {http://www.w3.org/2000/svg}path at 8bf9ed0>
co_g_bc_1 <Element {http://www.w3.org/2000/svg}g at 8824870>
co_g_bc_2 <Element {http://www.w3.org/2000/svg}g at 881be30>
co_g_co <Element {http://www.w3.org/2000/svg}g at 8bf92b0>
co_shot <Element {http://www.w3.org/2000/svg}image at 8bf9670>
co_text_holder <Element {http://www.w3.org/2000/svg}flowPara at
8bff6b0>

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to