This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Python urllib2 proxy usage sample | |
""" | |
import urllib2 | |
#今回はプロキシ設定を空にしておく | |
#proxies = {'http': 'http://www.example.com:3128/'} | |
proxies = {} | |
#プロキシハンドラーを作成して |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# my absolute path on bash | |
echo $(cd $(dirname $0);pwd) |
NewerOlder