using python3 and when i want to use print syntax
example => print (ms.GetPropertyValue("PROP_MS_25"))
its give me error like on the Picture that saying
"a byte like object is required not str"
Try str().
using :
print (str(wf.GetPropertyValue("PROP_MS_25")))
still couldnt fix the error
Flowsheet.ShowMessage(str(wf.GetPropertyValue("PROP_MS_25")), 0)
thanks that work
using python3 and when i want to use print syntax
example => print (ms.GetPropertyValue("PROP_MS_25"))
its give me error like on the Picture that saying
"a byte like object is required not str"
Last edit: ZckWzk 2018-11-03
Try str().
using :
print (str(wf.GetPropertyValue("PROP_MS_25")))
still couldnt fix the error
Flowsheet.ShowMessage(str(wf.GetPropertyValue("PROP_MS_25")), 0)
thanks that work