obspy.core.stream.isPickle

isPickle(filename)[source]

Checks whether a file is a pickled ObsPy Stream file.

Parameters:filename (str) Name of the pickled ObsPy Stream file to be checked.
Return type:bool
Returns:True if pickled file.

Example

>>> isPickle('/path/to/pickle.file')  
True

This Page