mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-27 22:11:13 +00:00
datemagic
This commit is contained in:
parent
6fae18bfb5
commit
b7550e37f8
|
@ -1,12 +1,17 @@
|
||||||
__version__ == '1.0.0'
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
Sebastian Raschka 2014
|
||||||
|
|
||||||
|
datemagic.py
|
||||||
|
version 1.0.0
|
||||||
|
|
||||||
|
|
||||||
IPython magic function for printing basic information, such as the current date, time,
|
IPython magic function for printing basic information, such as the current date, time,
|
||||||
Python, and IPython version.
|
Python, and IPython version.
|
||||||
|
|
||||||
Installation:
|
Installation:
|
||||||
%install_ext https://raw.githubusercontent.com/rasbt/python_reference/master/ipython_magic/datemagic.py
|
%install_ext https://raw.githubusercontent.com/rasbt/python_reference/master/ipython_magic/datemagic.py
|
||||||
|
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
%load_ext datemagic
|
%load_ext datemagic
|
||||||
|
|
||||||
|
@ -20,6 +25,8 @@ Usage:
|
||||||
-p, --python prints Python version
|
-p, --python prints Python version
|
||||||
-i, --ipython prints IPython version
|
-i, --ipython prints IPython version
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import platform
|
import platform
|
||||||
|
|
Loading…
Reference in New Issue
Block a user