#Reading a file from container give me a COROUTINE object

1 messages · Page 1 of 1 (latest)

daring cedar
#

Using python, I am trying to execute a command in the container. I am re-directing the output of the command to a file in the container and then using it later in the python code in string.
Instead of the actual string value, i see <coroutine object File.contents at 0x7efc6a407ef0>

How can i get teh actual value of the contents?

silent dragon
daring cedar
#

Hmm, me neither. But it's a language i m learning.

Thank you. I will try out and respond on this thread.
Thanks!

silent dragon