Created
April 21, 2017 22:01
-
-
Save boredstiff/b34cb4368d84de518a782f764913bc83 to your computer and use it in GitHub Desktop.
PyCharm Live Templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RST ===================== | |
============================ | |
# Code block for RST # | |
============================ | |
.. code-block:: python | |
$END$ | |
============================= | |
# Inline code block for RST # | |
============================= | |
:code:`$END$` | |
# Python ==================== | |
============================= | |
# Class Stub | |
============================= | |
class $class$($object$): | |
"""$cls_doc$""" | |
def __init__(self,$args$): | |
"""Constructor for $class$""" | |
$END$ | |
============================= | |
# LOG DEBUG | |
============================= | |
LOG.debug('$SELECTION$ : {}'.format($SELECTION$))$END$ | |
============================= | |
# LOG ERROR | |
============================= | |
LOG.error('$SELECTION$ : {}'.format($SELECTION$))$END$ | |
============================= | |
# LOG INFO | |
============================= | |
LOG.info('$SELECTION$ : {}'.format($SELECTION$))$END$ | |
============================= | |
# LOG WARNING | |
============================= | |
LOG.warning('$SELECTION$ : {}'.format($SELECTION$))$END$ | |
============================= | |
============================= | |
print('$SELECTION$ : {}'.format($SELECTION$))$END$ | |
============================= | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment