Re: [Tutor] How to correct decimal addition.

2014-01-26 Thread spir
On 01/26/2014 04:22 AM, Keith Winston wrote: On Sat, Jan 25, 2014 at 5:09 PM, Oscar Benjamin wrote: Perhaps it would be better though to point at this: round(D('0.123456'), 3) Decimal('0.123') I think you are right. I didn't even think of round(). I think we have confounded two issues in th

[Tutor] Multi Layered Graphs

2014-01-26 Thread Ankit Arora
I'm working on a project which involves network graphs. Is there a library that can help me do this: I want to create multi-layered graphs i.e. graphs which contain a set number of vertices but multiple 'layers' of edges i.e. same set of vertices representing two or more properties in the same dat

Re: [Tutor] Multi Layered Graphs

2014-01-26 Thread Steven D'Aprano
On Mon, Jan 27, 2014 at 03:53:38AM +0530, Ankit Arora wrote: > I'm working on a project which involves network graphs. Is there a library > that can help me do this: > > I want to create multi-layered graphs i.e. graphs which contain a set > number of vertices but multiple 'layers' of edges i.e. s