{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import xlsxwriter" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "from repytex.tools.evaluation import Evaluation\n", "import sqlite3" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": true }, "outputs": [], "source": [ "conn = sqlite3.connect('./recopytex.db')" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "ev = Evaluation.from_sqlite(16, conn)" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'DS4'" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ev.name" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | id | \n", "name | \n", "eval_id | \n", "date | \n", "comment | \n", "
---|---|---|---|---|---|
0 | \n", "43 | \n", "1 QCM | \n", "16 | \n", "2018-01-16 00:00:00.000000 | \n", "\n", " |
1 | \n", "44 | \n", "2 Bien assis? | \n", "16 | \n", "2018-01-16 00:00:00.000000 | \n", "\n", " |
2 | \n", "45 | \n", "3 L'urne | \n", "16 | \n", "2018-01-16 00:00:00.000000 | \n", "\n", " |
3 | \n", "46 | \n", "4 Programme de calculs | \n", "16 | \n", "2018-01-16 00:00:00.000000 | \n", "\n", " |
4 | \n", "47 | \n", "5 Roule cycliste | \n", "16 | \n", "2018-01-16 00:00:00.000000 | \n", "\n", " |
5 | \n", "51 | \n", "Présentation | \n", "16 | \n", "2018-01-17 00:00:00.000000 | \n", "\n", " |