Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Korakot Chaovavanich http://korakot.stumbleupon.com

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Read remote content

Reading remote data is easy in python.

   1  
   2  from urllib import *
   3  url = 'http://example.com/index.html'
   4  html = urlretrieve(url).read()
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS