{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## First Jupyter Notebook\n", "Use Markdown to format text. Will be rendered if you run the cell. More Jupyter documentation is available at [Home Assistant.io](https://home-assistant.io/cookbook#jupyter-notebooks)." ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "'2016-07-21 08:56:05.329754'" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# This is code\n", "from datetime import datetime\n", "str(datetime.now())" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "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.4.3" } }, "nbformat": 4, "nbformat_minor": 0 }