{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Print the version of the kernel, that the notebook uses:\n", "import sys\n", "print(sys.version)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%bash\n", "# the output of the following command depends on\n", "# what is the \"python\" binary that is found first in your PATH\n", "# (this might only work on Unix systems, I don't know about Windows)\n", "\n", "# for me, it displays \"Python 2.7.16\"\n", "/usr/bin/env python --version" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3.6", "language": "python", "name": "python36864bit4ae9a168e78f4bdd9b3fa35742ecf967" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.8" } }, "nbformat": 4, "nbformat_minor": 4 }