How to create single line text object in Python?

Hi siemen,
this old thread might be useful for you:

“allow single stroke fonts” should be “_AllowOpenCurves=_Yes”
hth
Ferry