MartinM
Windmill11mo ago
8 replies
Martin

How to process the uploaded file with a python script?

I'm just starting to play with windmill. A a first try, I want to create a simple demo app which has one file input component and one table. After a user uploads a CSV file, I want to use python script to process the file and show it with the table. By reading the documentation, I know there's a onFileChange event handler after a file is uploaded, but I have no idea how to write python code to bind to it.

The right-side panel of file-input showed (as attached):

No Event handlers
on file change
No components to recompute.
image.png
Was this page helpful?