[python-uk] Welcome to the "python-uk" mailing list

Jonathan Fine jfine2358 at gmail.com
Sat Jul 28 07:54:20 EDT 2018


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


More information about the python-uk mailing list