On Wed, Nov 16, 2011 at 1:51 AM, Alan Gauld wrote:
> On 15/11/11 14:34, lina wrote:
>>
>> Sorry for some not mature questions asked before, fixed now by:
>>
>> def PlotPathway(list1):
>>
>> for i in range(len(list1)):
>> for j in range(len(list1[i])-1):
>> if list
>>> g.nodes()
[u'1', u'2', u'34', u'59', u'57']
>>> for node in g.nodes():
print node
Traceback (most recent call last):
File "", line 2, in
print node
File "/usr/lib/python2.6/idlelib/rpc.py", line 597, in __call__
value = self.sockio.remotecall(self.oid, self.name,
On 15/11/11 14:34, lina wrote:
Sorry for some not mature questions asked before, fixed now by:
def PlotPathway(list1):
for i in range(len(list1)):
for j in range(len(list1[i])-1):
if list1[i][j] != list1[i][j+1]:
if ((int(list1[i][j])
Sorry for some not mature questions asked before, fixed now by:
def PlotPathway(list1):
for i in range(len(list1)):
for j in range(len(list1[i])-1):
if list1[i][j] != list1[i][j+1]:
if ((int(list1[i][j])) < 43 and (int(list1[i][j-1])) <