Hi Asad Here's a method I find useful. It is to start with the easiest problem you can't solve.
Your problem is > I would like to do a rpm version check between the two list (list1 and list2) > so it only prints the rpm from list1 which are not installed and version > available in list2 is higher or lower So break it down into smaller, easier parts. For example, suppose len(list1) == len(list2) == 1. Can you solve the problem in this case. I think you may already have the regular expression. By the way, have you tried http://www.pythontutor.com/ http://www.pythontutor.com/visualize.html#mode=edit They might help you a lot. Good luck. -- Jonathan _______________________________________________ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk