diff --git a/tutorials/python_data_entry_point.ipynb b/tutorials/python_data_entry_point.ipynb index e64201d..e2f6532 100644 --- a/tutorials/python_data_entry_point.ipynb +++ b/tutorials/python_data_entry_point.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:27a1e02eab6a2a036c525e3b099008ab58937df3266f55f5072b9a68b1693306" + "signature": "sha256:7417613f49b14e98fba46fa1e285f4e3d46728b4798e853cfb103caef077b452" }, "nbformat": 3, "nbformat_minor": 0, @@ -25,10 +25,18 @@ "cell_type": "code", "collapsed": false, "input": [ - "import time\n", - "import platform\n", - "print('Last updated: %s' %time.strftime('%d/%m/%Y'))\n", - "print('Created using Python', platform.python_version())" + "%load_ext watermark" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 1 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "%watermark -a 'Sebastian Raschka' -v -d -p numpy,scipy,matplotlib,scikit-learn" ], "language": "python", "metadata": {}, @@ -37,12 +45,26 @@ "output_type": "stream", "stream": "stdout", "text": [ - "Last updated: 26/06/2014\n", - "Created using Python 3.4.1\n" + "Sebastian Raschka 04/07/2014 \n", + "\n", + "CPython 3.4.1\n", + "IPython 2.1.0\n", + "\n", + "numpy 1.8.1\n", + "scipy 0.14.0\n", + "matplotlib 1.3.1\n", + "scikit-learn 0.15.0b1\n" ] } ], - "prompt_number": 1 + "prompt_number": 5 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "[More information](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/ipython_magic/watermark.ipynb) about the `watermark` magic command extension." + ] }, { "cell_type": "markdown", diff --git a/tutorials/scope_resolution_legb_rule.ipynb b/tutorials/scope_resolution_legb_rule.ipynb index b2af45c..fa6bd76 100644 --- a/tutorials/scope_resolution_legb_rule.ipynb +++ b/tutorials/scope_resolution_legb_rule.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:134ba1fb10441f1756c0ab8a2ecef528f9c1cfd7543d8df415e2ae855f6891f9" + "signature": "sha256:b33e0c5563d80d68580ea6ce62ae2703856ccde40aec8ff9fb1364ac70d70521" }, "nbformat": 3, "nbformat_minor": 0, @@ -13,12 +13,49 @@ "metadata": {}, "source": [ "[Sebastian Raschka](http://www.sebastianraschka.com) \n", - "last updated: 04/28/2014\n", "\n", "- [Link to the containing GitHub Repository](https://github.com/rasbt/python_reference)\n", - "- [Link to this IPython Notebook on GitHub](https://github.com/rasbt/python_reference/blob/master/tutorials/scope_resolution_legb_rule.ipynb)\n", - "\n", - "Note: The code in this IPython notebook was executed in Python 3.4.0" + "- [Link to this IPython Notebook on GitHub](https://github.com/rasbt/python_reference/blob/master/tutorials/scope_resolution_legb_rule.ipynb)\n" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "%load_ext watermark" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 1 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "%watermark -a 'Sebastian Raschka' -v -d" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Sebastian Raschka 04/07/2014 \n", + "\n", + "CPython 3.3.5\n", + "IPython 2.1.0\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "[More information](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/ipython_magic/watermark.ipynb) about the `watermark` magic command extension." ] }, { @@ -26,9 +63,9 @@ "metadata": {}, "source": [ "