{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "[Sebastian Raschka](http://sebastianraschka.com) \n", "\n", "- [Link to the GitHub Repository python_reference](https://github.com/rasbt/python_reference/)\n", "\n", "
%watermark [-a AUTHOR] [-d] [-e] [-n] [-t] [-z] [-u] [-c CUSTOM_TIME]\n", " [-v] [-p PACKAGES] [-h] [-m] [-g] [-w]\n", "\n", " \n", "IPython magic function to print date/time stamps \n", "and various system information.\n", "\n", "watermark version 1.2.1\n", "\n", "optional arguments:\n", " -a AUTHOR, --author AUTHOR\n", " prints author name\n", " -d, --date prints current date as MM/DD/YYYY\n", " -e, --eurodate prints current date as DD/MM/YYYY\n", " -n, --datename prints date with abbrv. day and month names\n", " -t, --time prints current time\n", " -z, --timezone appends the local time zone\n", " -u, --updated appends a string \"Last updated: \"\n", " -c CUSTOM_TIME, --custom_time CUSTOM_TIME\n", " prints a valid strftime() string\n", " -v, --python prints Python and IPython version\n", " -p PACKAGES, --packages PACKAGES\n", " prints versions of specified Python modules and\n", " packages\n", " -h, --hostname prints the host name\n", " -m, --machine prints system and machine info\n", " -g, --githash prints current Git commit hash\n", " -w, --watermark prints the current version of watermark\n", "File: ~/.ipython/extensions/watermark.py\n", "" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "