Permalink
Browse files

Merge pull request #2 from abhinav-upadhyay/master

Remove some unused imports.
  • Loading branch information...
2 parents e6d8257 + 5ac3b76 commit 440410996ab29986c0ac24e1ff1f439be728257d @hmason committed Dec 23, 2012
@@ -7,7 +7,6 @@
Copyright (c) 2011 Hilary Mason. All rights reserved.
"""
-import sys, os
import re, string
from nltk import FreqDist
@@ -7,11 +7,10 @@
Copyright (c) 2010 Hilary Mason. All rights reserved.
"""
-import sys, os
+import sys
import urllib
import csv
from xml.dom import minidom
-from optparse import OptionParser
class delicious_import(object):
@@ -7,9 +7,7 @@
Copyright (c) 2011 Hilary Mason. All rights reserved.
"""
-import sys, os
-import numpy
from hcluster import *
class TagClustering(object):
@@ -7,8 +7,7 @@
Copyright (c) 2011 Hilary Mason. All rights reserved.
"""
-import sys, os
-import urllib, urllib2
+import urllib
import json
def main(api_key, category, label):
@@ -32,4 +31,4 @@ def main(api_key, category, label):
if __name__ == '__main__':
main("f7b4a1749764aec0364b215c354e3a0f:18:25759498", "[Top/Features/Arts]","arts")
- main("f7b4a1749764aec0364b215c354e3a0f:18:25759498", "[Top/News/Sports]","sports")
+ main("f7b4a1749764aec0364b215c354e3a0f:18:25759498", "[Top/News/Sports]","sports")
View
@@ -7,10 +7,8 @@
Copyright (c) 2011 Hilary Mason. All rights reserved.
"""
-import sys, os
import csv
-import numpy
# from Pycluster import *
from hcluster import *
@@ -7,7 +7,6 @@
Copyright (c) 2011 Hilary Mason. All rights reserved.
"""
-import sys, os
import csv
import numpy

0 comments on commit 4404109

Please sign in to comment.