summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-11 17:32:19 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-11 17:32:19 +0200
commitf44c247784ca524f9da861c9b264f0fdc5255629 (patch)
treeaa8c9a56ed505eb29a66a32fed2b07fb872a6acd /kpov_judge/tasks
parentfb9fc7185ad66ed7a2cc7549ba7d65ad932d0d5d (diff)
Remove unused imports
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r--kpov_judge/tasks/copy_rename_20_files_tail_env/solution/solution.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/tasks/copy_rename_20_files_tail_env/solution/solution.py b/kpov_judge/tasks/copy_rename_20_files_tail_env/solution/solution.py
index 6036cd1..f661c4d 100644
--- a/kpov_judge/tasks/copy_rename_20_files_tail_env/solution/solution.py
+++ b/kpov_judge/tasks/copy_rename_20_files_tail_env/solution/solution.py
@@ -65,7 +65,7 @@ def env():
# S pomočjo programa cURL shrani vsebino spletne strani www.google.com v datoteko z imenom website.txt
def googl():
- import urllib.request, urllib.error, urllib.parse
+ import urllib.request
open('website.txt', 'w').write(urllib.request.urlopen('http://www.google.com').read())
# Napiši ukaz, ki bo število pojavitev značke <div> v datoteki website.txt dodal na konec te iste datoteke brez, da bi se ukaz zapisal v zgodovino ukazov "bash history"