get DirectEntry text

hello,

How do I get the text in a DirectEntry? I have been trying to use

text = myDE['text']

but it is blank. What am I missing?

Try get().

It worked, thank you