pm4py.read.read_ptml#
- pm4py.read.read_ptml(file_path: str, encoding: str = 'utf-8') ProcessTree [source]#
Reads a process tree object from a .ptml file
- Parameters:
file_path (
str
) – file path of the process tree object on diskencoding (
str
) – the encoding to be used (default: utf-8)
- Return type:
ProcessTree
import pm4py process_tree = pm4py.read_ptml("<path_to_ptml_file>")