From ecc41fcaac53c73d3f58db065aec14cb81302ef9 Mon Sep 17 00:00:00 2001 From: Georg Petz Date: Tue, 18 May 2021 15:56:42 +0200 Subject: [PATCH] add FileLink --- txtDownloader.ipynb | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/txtDownloader.ipynb b/txtDownloader.ipynb index da12ebe..dae3a5c 100644 --- a/txtDownloader.ipynb +++ b/txtDownloader.ipynb @@ -2,12 +2,13 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 14, "metadata": {}, "outputs": [], "source": [ "import urllib.request, json, shutil, os\n", - "from zipfile import ZipFile" + "from zipfile import ZipFile\n", + "from IPython.display import FileLink" ] }, { @@ -19,7 +20,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -36,7 +37,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -45,7 +46,7 @@ "'https://iiif.onb.ac.at/presentation/ABO/+Z196807705/manifest/'" ] }, - "execution_count": 3, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -57,7 +58,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -114,7 +115,9 @@ "execution_count": null, "metadata": {}, "outputs": [], - "source": [] + "source": [ + "FileLink(filename)" + ] } ], "metadata": { @@ -138,4 +141,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} +} \ No newline at end of file -- GitLab