Hello Ejlersen ,
thanks for your feedback, someone one tell me the pretty print function may solve this question, But I don't know how to use it.
THe below is I found in Cadence help,
The pprint function is useful, for example, when printing out a long list where print simply prints the list on one (possibly huge) line but pprint limits the output on a single line and produces a multiple-line printout if necessary. This multiple-line printout makes later input much easier.
If you have any idea, please feel free to let me know