|
1 | 1 | { |
2 | 2 | "metadata": { |
3 | 3 | "name": "", |
4 | | - "signature": "sha256:b293f22eb716f74ec27869a5122812437e0a7f4743ddfe8c06a94c39f31c7d3e" |
| 4 | + "signature": "sha256:0b017c7b1bd605534beb62287fd7916407f3782284c44ee02093a73e4a9896a8" |
5 | 5 | }, |
6 | 6 | "nbformat": 3, |
7 | 7 | "nbformat_minor": 0, |
|
173 | 173 | "cell_type": "markdown", |
174 | 174 | "metadata": {}, |
175 | 175 | "source": [ |
176 | | - "<pre>%watermark [-d] [-n] [-t] [-z] [-u] [-c CUSTOM_TIME] [-v] [-p PACKAGES]\n", |
177 | | - " [-m]\n", |
| 176 | + "<pre>%watermark [-a AUTHOR] [-e AUTHOR_EMAIL] [-d] [-n] [-t] [-z] [-u]\n", |
| 177 | + " [-c CUSTOM_TIME] [-v] [-p PACKAGES] [-m]\n", |
178 | 178 | "\n", |
179 | 179 | " \n", |
180 | 180 | "IPython magic function to print date/time stamps \n", |
181 | 181 | "and various system information.\n", |
182 | 182 | "\n", |
| 183 | + "watermark version 1.0.2\n", |
| 184 | + "\n", |
183 | 185 | "optional arguments:\n", |
| 186 | + " -a AUTHOR, --author AUTHOR\n", |
| 187 | + " prints author name\n", |
| 188 | + " -e AUTHOR_EMAIL, --author_email AUTHOR_EMAIL\n", |
| 189 | + " prints author name and link to email address\n", |
184 | 190 | " -d, --date prints current date\n", |
185 | 191 | " -n, --datename prints date with abbrv. day and month names\n", |
186 | 192 | " -t, --time prints current time\n", |
|
225 | 231 | "output_type": "stream", |
226 | 232 | "stream": "stdout", |
227 | 233 | "text": [ |
228 | | - "28/06/2014 15:29:14\n", |
| 234 | + "28/06/2014 16:16:36\n", |
229 | 235 | "\n", |
230 | | - "Python 3.4.1\n", |
231 | | - "Python implementationCPython\n", |
| 236 | + "CPython 3.4.1\n", |
232 | 237 | "IPython 2.1.0\n", |
233 | 238 | "\n", |
234 | 239 | "compiler : GCC 4.2.1 (Apple Inc. build 5577)\n", |
|
263 | 268 | "output_type": "stream", |
264 | 269 | "stream": "stdout", |
265 | 270 | "text": [ |
266 | | - "28/06/2014 14:08:09 \n" |
| 271 | + "28/06/2014 16:16:36 \n" |
267 | 272 | ] |
268 | 273 | } |
269 | 274 | ], |
|
289 | 294 | "output_type": "stream", |
290 | 295 | "stream": "stdout", |
291 | 296 | "text": [ |
292 | | - "Last updated: Sat Jun 08 2014 14:08:09 EDT\n" |
| 297 | + "Last updated: Sat Jun 16 2014 16:16:37 EDT\n" |
293 | 298 | ] |
294 | 299 | } |
295 | 300 | ], |
|
315 | 320 | "output_type": "stream", |
316 | 321 | "stream": "stdout", |
317 | 322 | "text": [ |
318 | | - "Python 3.4.1\n", |
| 323 | + "CPython 3.4.1\n", |
319 | 324 | "IPython 2.1.0\n" |
320 | 325 | ] |
321 | 326 | } |
|
374 | 379 | "output_type": "stream", |
375 | 380 | "stream": "stdout", |
376 | 381 | "text": [ |
377 | | - "Python 3.4.1\n", |
| 382 | + "CPython 3.4.1\n", |
378 | 383 | "IPython 2.1.0\n", |
379 | 384 | "\n", |
380 | 385 | "numpy 1.8.1\n", |
|
391 | 396 | } |
392 | 397 | ], |
393 | 398 | "prompt_number": 9 |
| 399 | + }, |
| 400 | + { |
| 401 | + "cell_type": "markdown", |
| 402 | + "metadata": {}, |
| 403 | + "source": [ |
| 404 | + "<br>" |
| 405 | + ] |
| 406 | + }, |
| 407 | + { |
| 408 | + "cell_type": "code", |
| 409 | + "collapsed": false, |
| 410 | + "input": [ |
| 411 | + "%watermark -a \"John Doe\" -d -v -m " |
| 412 | + ], |
| 413 | + "language": "python", |
| 414 | + "metadata": {}, |
| 415 | + "outputs": [ |
| 416 | + { |
| 417 | + "output_type": "stream", |
| 418 | + "stream": "stdout", |
| 419 | + "text": [ |
| 420 | + "John Doe 28/06/2014 \n", |
| 421 | + "\n", |
| 422 | + "CPython 3.4.1\n", |
| 423 | + "IPython 2.1.0\n", |
| 424 | + "\n", |
| 425 | + "compiler : GCC 4.2.1 (Apple Inc. build 5577)\n", |
| 426 | + "system : Darwin\n", |
| 427 | + "release : 13.2.0\n", |
| 428 | + "machine : x86_64\n", |
| 429 | + "processor : i386\n", |
| 430 | + "CPU cores : 2\n", |
| 431 | + "interpreter: 64bit\n" |
| 432 | + ] |
| 433 | + } |
| 434 | + ], |
| 435 | + "prompt_number": 12 |
394 | 436 | } |
395 | 437 | ], |
396 | 438 | "metadata": {} |
|
0 commit comments