잘 설명된 곳
http://www.pythonforbeginners.com/cheatsheet/python-mechanize-cheat-sheet/
간단 코드
import mechanize
import urllib
import random
class Transaction(object):
def run(self):
br = mechanize.Browser()
br.set_handle_robots(False)
resp = br.open('http://aaa.com/')
resp.read()
'Data/Text/Knowledge Analysis & Mining > Python' 카테고리의 다른 글
python 에서 http redirect 처리하기 (short url 처리) (0) | 2014.03.20 |
---|---|
[Git] 기본 설정 및 사용 (0) | 2013.07.30 |
python pdf - reportlab (0) | 2013.07.26 |
OCR + python (0) | 2013.07.26 |
python pdf library 비교 (0) | 2013.07.26 |
WRITTEN BY
- manager@
Data Analysis, Text/Knowledge Mining, Python, Cloud Computing, Platform
,