python with lineterminate example.