summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-10-14 16:56:32 +0200
committeremkael <emkael@tlen.pl>2014-10-14 16:56:32 +0200
commit6d915e399de720ec8f9d3f04c649d64e410bc587 (patch)
treec94914573ef0f7711c975edad3e0d404ffaa2ce5
parent994a7f122776f3833fd51b3f0f4cef1dcfd83d6e (diff)
* tidying up imports
-rwxr-xr-xdumps/second-a-lap.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/dumps/second-a-lap.py b/dumps/second-a-lap.py
index afc76bc..771677a 100755
--- a/dumps/second-a-lap.py
+++ b/dumps/second-a-lap.py
@@ -1,11 +1,20 @@
#!/usr/bin/env python
+import csv
+import json
+import os
+import pprint
+import re
+import string
+import urllib
+import urllib2
+import urlparse
from sys import argv
-import urlparse, urllib, urllib2
-import json, pprint
-from lxml import html, etree
+
+from lxml import etree, html
+
from bs4 import BeautifulSoup
-import os, string, re, csv
+
def fetch(url):
print url