Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

IronPython 2 vs Python 3 Print Terminal

$
0
0

Hello,

I am curious if there is a way to get the Terminal view of a print function to show the same data between IronPython 2 and Python 3.

I use the ghpythonlib.components library frequently, and I check my work through the print() function. However, in Python 3 the result in the Terminal is IronPython.Runtime.List

I can view the opaque list easily enough if I add an extra line: div_list = [i for i in div]
But I was hoping there was a way to change this so when I print() I can see what my data is.

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles