Skip to content

Instantly share code, notes, and snippets.

View eight's full-sized avatar

Yoshinori Morimoto eight

View GitHub Profile
#!/usr/bin/env python
"""Python urllib2 proxy usage sample
"""
import urllib2
#今回はプロキシ設定を空にしておく
#proxies = {'http': 'http://www.example.com:3128/'}
proxies = {}
#プロキシハンドラーを作成して
#!/bin/sh
# my absolute path on bash
echo $(cd $(dirname $0);pwd)