News for hackers. Stuff that matters.
Re:Python For The Web by anthonyb on Tuesday October 18, 2011 @08:09PM (#3127934)
urllib is in Python's standard library:

  import urllib
  the_page = urllib.urlopen("http://www.gun.io/")
  print ''.join( the_page.readlines() )
I could jam it all into one line, but in Python we prefer readable code ;) ;)

The Python community also tends to be quieter than those raving Ruby fanbois - if you'd said appeared to be larger, then I would have agreed with you...

Re:Python For The Web by d0mine on Tuesday October 18, 2011 @11:43PM (#3128538)
Why don't you just use:

  print the_page.read()
Re:Python For The Web by elithrar on Tuesday October 18, 2011 @08:33PM (#3128004)
Pythonistas should look at the "Requests"[1] lib for Python mentioned here on HN[2] a few days ago, too.

[1]: http://docs.python-requests.org/en/latest/ [2]: http://news.ycombinator.com/item?id=3094695

Re:Python For The Web by codygman on Tuesday October 18, 2011 @10:44PM (#3128362)
Explicit is better than implicit. I think keeping a bit of the verbose helps people know what's going on. That knowledge is infinitely valuable when debugging certain problems or creating solutions that work well.
Re:Python For The Web by adeelk on Wednesday October 19, 2011 @05:08AM (#3129333)
Have you heard of something called Java? ;)
Re:Python For The Web by malkarouri on Wednesday October 19, 2011 @09:05AM (#3129935)
A good language, as a good anything, is a reasonable language. Giving extremes as arguments against sensible middle positions is the way of madness, paralysis, or extremism..
Re:Python For The Web by manojlds on Tuesday October 18, 2011 @08:39PM (#3128020)
Thats what the post linked to talks about.
Re:Python For The Web by anthonyb on Tuesday October 18, 2011 @08:56PM (#3128076)
Sure, but good to repeat it in this case - Python's urllib/urllib2/etc. libraries are famously hard(er than necessary) to use.