This is a simple Python program I wrote.  I hope some one could help me optimize this program. If you found any bad habits, please tell me.#!/usr/bin/pythonimport urllib2def GetURLs(srcURL=):    if srcURL == :        return -1    Content = urllib2.urlopen(srcURL, None, 6)    oneLine = Content.readline()    while oneLine:        print oneLine        oneLine = Content.readline()    Content.close()    return 0GetURLs(http://www.baidu.com)
Function for getting URLs
python;url