-
-
Save antiface/8946b809317996cbebe724d3d6d4e6d7 to your computer and use it in GitHub Desktop.
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
# [ENTER_SOURCE_CODE] | |
# A.G. (c) 2017. All Rights Reserved. | |
# January 4th, 2017 | |
import time | |
class EnterSourceCode: | |
def __init__(self, time, filename, sourcecode, category): | |
self.time = time | |
self.filename = filename | |
self.sourcecode = sourcecode | |
self.category = category | |
""" | |
>>> class EnterSourceCode: | |
def __init__(self, time, filename, sourcecode, category): | |
self.time = time | |
self.filename = filename | |
self.sourcecode = sourcecode | |
self.category = category | |
>>> xls = EnterSourceCode(time.asctime(), 'filename', 'sourcecode', 'category') | |
>>> xls.time, xls.filename, xls.sourcecode, xls.category | |
('Wed Jan 4 21:02:14 2017', 'filename', 'sourcecode', 'category') | |
>>> xls = EnterSourceCode(time.asctime(), 'trueExperimentalMethod', 'This is the True Experimental Method, The One And Only!', 'table') | |
>>> xls.time, xls.filename, xls.sourcecode, xls.category | |
('Wed Jan 4 22:01:30 2017', 'trueExperimentalMethod', 'This is the True Experimental Method, The One And Only!', 'table') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment