Last active
August 29, 2015 13:56
-
-
Save ddaws/9166765 to your computer and use it in GitHub Desktop.
I like to place this header at the top of all of my python modules.
This file contains 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
'''! | |
''' | |
from __future__ import ( | |
print_function, | |
unicode_literals,) | |
__author__ = 'Dawson Reid <[email protected]>' | |
import logging | |
class Foo(object): | |
'''! My Minimum Class | |
This is the minimum I would be willing to place within a | |
class. I believe every class should at least have a propper | |
logging mechanism. | |
''' | |
def __init__(self): | |
self.logger = logging.getLogger(str(self)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment