fix crash on getLine()
kvm demo script for python