Jupyter notebooks to A4 (again)

2021-01-24 Thread Martin Schöön
Hello all, Some years ago I asked about exporting notebooks to pdf in A4 rather than US Letter. I got help, rather detailed instructions from you in general and Piet von Oostrum in particular. Following the advice helped and I was happy. Now it does not work any longer: nbconvert failed

Re: list() strange behaviour

2021-01-24 Thread jak
Il 20/12/2020 21:00, danilob ha scritto: Hi, I'm an absolute beginner in Python (and in English too ;-) Running this code: -- # Python 3.9.0 a = [[1, 2, 0, 3, 0], [0, 4, 5, 0, 6], [7, 0, 8, 0, 9], [2, 3, 0, 0, 1], [0, 0, 1, 8, 0]] b = ((x[0] for x in a))