I am trying to download an online file in python. I have seen solutions using urllib2 for python 2 and wget. If my purpose is just to download the file, is there any advantage of using urllib2 instead of wget. To me using wget package seems simpler. However, most of the online solutions I see are using urllib2 and urllib with python 3. I am more inclined towards wget as it works for both python 2 and python 3.
This question is different from the question marked as duplicate of this as I have asked for difference with respect to wget, while the other question does not address the relationship with respect to wget package.