mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-23 20:11:13 +00:00
datemagic
This commit is contained in:
parent
b7550e37f8
commit
692e1f99f5
|
@ -54,7 +54,6 @@ class DateMagic(Magics):
|
||||||
@argument('-y', '--python', action='store_true', help='prints Python version')
|
@argument('-y', '--python', action='store_true', help='prints Python version')
|
||||||
@argument('-i', '--ipython', action='store_true', help='prints IPython version')
|
@argument('-i', '--ipython', action='store_true', help='prints IPython version')
|
||||||
@argument('-p', '--packages', action=str, help='prints versions of Python modules and packages')
|
@argument('-p', '--packages', action=str, help='prints versions of Python modules and packages')
|
||||||
@line_magic
|
|
||||||
def date(self, line):
|
def date(self, line):
|
||||||
"""
|
"""
|
||||||
IPython magic function for printing the current date, time, Python,
|
IPython magic function for printing the current date, time, Python,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user