When using the Python console with output directed to the JMP Log,
print() does not behave consistently with standard Python. Arguments consisting only of whitespace characters (spaces, tabs, newlines, etc.) appear to be discarded rather than printed. For example:
print('a', 'b') # Output: ab; even the space as the default separator is ignored
print('a', 'b', sep=' ') # Output: ab
print('a', ' ', 'b') # Output: ab
print('a', 'b', sep=' ') # Output: ab
print('a', '\t', 'b') # Output: ab
print('a', '\n', 'b') # Output: ab
print('a', '\r\n', 'b') # Output: ab
Andererseits funktionieren Zeilenumbrüche korrekt, wenn sie in einen String eingebettet sind, z. B.:
(Widows 11, JMP 19.0.1)
Ich denke, ich kann auf eine neue Version warten und dann nochmal nachsehen.

Bearbeiten:
Komisch, im Beispielfenster des Skriptindex funktioniert es einwandfrei:
