Was going through the tutorial (“Visualizing satellite data” (Entagma)) where the author printed in a python node this:
import hou import csv import gzip import os node = hou.pwd() geo = node.geometry() directory = node.evalParm('directory') maxrows = node.evalParm('maxrows') print directory print maxrows def main(): if not directory: return if not os.path.isdir(directory): return files = [] for name in os.listdir(directory): if name.endswith('.csv.gz'): files.append(os.path.join(directory, name)) files.sort() print(files) main()
And after accepting - the list of .csv.gz files appeared in Console.
In my case - the same information appears in the Python Shell and looks not like a list of names of files, but as one long-long text. (not so that I read it, but if want - it's not so much readable)
Is there a kind of a parmeter or something common that could be switched on/off inside of Houdini to print to here or to there? Or what can I turn on/off to print to Console? Because of what this difference is?
Seems it doesn't ruin final result, but maybe there is a kind of underlying effect that is not visible on the surface but makes deep changes somewhere inside?
Thanks for any answer/ advice or tips or tricks.