WindmillWWindmill
Powered by
MartinM
Windmill•13mo 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
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
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Download csv file from python script + app
ExodeusEExodeus / help
3y ago
Weird script python problem
Elber DomingosEElber Domingos / help
16mo ago
Logging in Python Script
Alexander EiseleAAlexander Eisele / help
2y ago
Working with (CSV) file output and python in scripts/workflows
stair_spiritSstair_spirit / help
3y ago