loro/crates/loro-python/examples/main.py

6 lines
126 B
Python
Raw Normal View History

2023-01-28 11:59:37 +00:00
from pyloro import Loro, LoroText;
loro = Loro()
text = loro.get_text("text")
text.insert(loro, 0, "123")
print(text.value())