Thank you all.
Ondrej,
I tried again and I think the structure can be kept as is,
only that I the mutable default set([]) should be avoided since
it is assigned one per class.

So in the definition of an instance I needed to replace

V=Vertex('V')

with

V=Vertex('V',set([]))




On Mar 21, 8:35 pm, Neal Becker <[email protected]> wrote:
> There is also igraph with a python interface.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to