Hi @momlo,
Thank you for your reply.
I tried the method you mentioned, but it didn't work.
I find that in this method, the author has passed an Input/Output variable into python, and the variable content is a string. In the problem I encountered, the variable is Flow variable, and the content of the variable is a Datatable. I saw someone say that you can put a $ sign in front of the variable to indicate that it is a Datatable, like this:
DataTable = """$%ExcelData%"""
But it still doesn't work:(
If you have any ideas, please feel free to let me know. Many Thanks!