Jan-30-2020, 05:07 PM
(Jan-30-2020, 12:37 PM)jefsummers Wrote: Let's go through your code.
You do some imports
You define the variable TOOL to be a string with a value of 'type1'
You define 3 functions, two with decorators.
The functions are defined, but never called.
The only action your program does, after imports, is assign a string to a variable.
So, the imports are obvious. The variable is obvious - points to a host of postscript utilities. Presumably, -s is one of the decorators you're referencing, otherwise I'm not clear on what constitutes as a decorator or how these would relate to the 3 functions which are also obvious. I tried adding this call function:
print(TOOL)
But saw no output.