help

2012-07-19 Thread Miriam Gomez Rios
Hello, sorry for bothering you, but I have a doubt, Is there a way to turn this string into a tuplelist??, I need it for gurobi ('per1','persona1.1','pro1'),('per1','persona1.1','pro2'),('per1','persona1.1','pro3'),('per1','persona1.1','pro4'),('per1','persona1.1','pro5'),('per2','persona2.1'

mistake in python tutorial

2012-06-05 Thread Miriam Gomez Rios
Hello, I think that the example in section 4.4 in the tutorial for python 2.7X is wrong. http://docs.python.org/tutorial/controlflow.html It will end up printing this if you run the exact code listed in the tutorial. 3 is a prime number 4 equals 2*2 5 is a prime number 5 is a prime numbe