Skip to content

Instantly share code, notes, and snippets.

@rafalcode
Created September 27, 2016 11:22
Show Gist options
  • Save rafalcode/7659fb864dddcebfc6f55aa2e2975f7d to your computer and use it in GitHub Desktop.
Save rafalcode/7659fb864dddcebfc6f55aa2e2975f7d to your computer and use it in GitHub Desktop.
#!/usr/bin/env python2.7
import os, sys, urllib2
if os.environ.get('http_proxy') is None:
os.environ['http_proxy']="http://172.25.64.1:3128"
resp0=urllib2.urlopen("http://rest.kegg.jp/link/ko/ec:3.1.11.1")
output=resp0.read()
print output,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment