why for loop print only once after add if statement

2016-05-28 Thread jobmattcon
for item, i in enumerate(aa) print item this writing, it can print all values for item, i in enumerate(aa) if item == findit: print item this only print the first value, means it only print once then not print again, where is wrong? --

Re: pkg_resources.DistributionNotFound: hiredis

2014-03-17 Thread jobmattcon
this is a specific tool related with python http://heynemann.github.io/r3/ i am trying to do a simple example like the diagram in the web page describe and then use with sympy to massive generate functions and plot and print into a directory On Monday, March 17, 2014 2:04:06 PM UTC+8, Ben

File build\bdist.win32\egg\redis\client.py, line 705, in get

2014-03-16 Thread jobmattcon
in win32 with redis-py and redis for window Traceback (most recent call last): File testredis.py, line 21, in module matrixlist = r_server.get(matrix1) File build\bdist.win32\egg\redis\client.py, line 705, in get File build\bdist.win32\egg\redis\client.py, line 461, in execute_command

pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread jobmattcon
http://heynemann.github.io/r3/ C:\heynemann-r3-cc6b4eb\build\lib\r3\appr3-app --red is-port=6379 --redis-pass=r3 -c config.py Traceback (most recent call last): File C:\Python27\Scripts\r3-app-script.py, line 5, in module from pkg_resources import load_entry_point File

Re: pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread jobmattcon
first time run command to start r3, it has already got error r3-app --redis-port=6379 --redis-pass=r3 -c config.py On Monday, March 17, 2014 1:09:32 PM UTC+8, Ben Finney wrote: writes: [a dump of text terminal output] Did you have something to say about this? Perhaps a question,