Re: Simulating simple electric circuits
- From: Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss@xxxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 13:55:43 +0200
Bjoern Schliessmann wrote:
class Source(object):
Little bug: The __init__ method of class Source should look like
this.
def __init__(self, ID, neighbour = None):
self.connections = []
self.ID = ID
if neighbour: self.connections.append(neighbour)
Regards,
Björn
--
BOFH excuse #102:
Power company testing new voltage spike (creation) equipment
.
- References:
- Simulating simple electric circuits
- From: Bjoern Schliessmann
- Re: Simulating simple electric circuits
- From: Dave Baum
- Re: Simulating simple electric circuits
- From: Bjoern Schliessmann
- Re: Simulating simple electric circuits
- From: Dave Baum
- Re: Simulating simple electric circuits
- From: Bjoern Schliessmann
- Re: Simulating simple electric circuits
- From: Arnaud Delobelle
- Re: Simulating simple electric circuits
- From: Bjoern Schliessmann
- Simulating simple electric circuits
- Prev by Date: Re: PEP 3131: Supporting Non-ASCII Identifiers
- Next by Date: Re: PEP 3131: Supporting Non-ASCII Identifiers
- Previous by thread: Re: Simulating simple electric circuits
- Next by thread: Re: Simulating simple electric circuits
- Index(es):
Relevant Pages
|