# obspy.core.stream.Stream.__str__¶

Stream.__str__(extended=False)[source]

Return short summary string of the current stream.

It will contain the number of Traces in the Stream and the return value of each Trace’s __str__() method.

Parameters: extended (bool, optional) This method will show only 20 traces by default. Enable this option to show all entries.

Example

>>> stream = Stream([Trace(), Trace()])
>>> print(stream)
2 Trace(s) in Stream:
...