You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
488 B
Python
24 lines
488 B
Python
import logging
|
|
|
|
# outputDict={
|
|
# 'status': 1,
|
|
# 'input': {
|
|
# 'argsRaw': sys.argv,
|
|
# 'streamObjects': []
|
|
# },
|
|
# 'output': [],
|
|
# 'errors': []
|
|
# }
|
|
|
|
|
|
class OutputObject:
|
|
|
|
def __init__(self, type: int):
|
|
self.OOType = [
|
|
'HeaderTable', 'BasicInfoTable', 'AdvancedInfoTable', 'DebugInfoTable'
|
|
][type]
|
|
if type == 0:
|
|
import sys
|
|
self.input = {'argsRaw': sys.argv, 'streamObjects': []}
|
|
del sys
|