Commit e2e8a39d authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

data on nextcloud

parent 2f168378
......@@ -10,7 +10,7 @@ import os
import urllib.request
import tarfile
if not os.path.isdir("data2"):
url = "ftp://braque.mema.ucl.ac.be/seamsh/data-test-2.tar.gz"
url = "https://nextcloud.cism.ucl.ac.be/s/L62bAwF9kma3Ta3/download/data-test-2.tar.gz"
urllib.request.urlretrieve(url, "data-test-2.tar.gz")
f = tarfile.open("data-test-2.tar.gz", "r:*")
f.extractall()
......
......@@ -22,7 +22,7 @@ import os
import urllib.request
import tarfile
if not os.path.isdir("data") :
urllib.request.urlretrieve("ftp://braque.mema.ucl.ac.be/seamsh/data-test-1.tar.gz", "data-test-1.tar.gz")
urllib.request.urlretrieve("https://nextcloud.cism.ucl.ac.be/s/L2tTqQi5MMk9dqT/download/data-test-1.tar.gz", "data-test-1.tar.gz")
f = tarfile.open("data-test-1.tar.gz","r:*")
f.extractall()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment