Is it possible to use the “UPLOAD” component to upload a custom file type (binary or ASCII format text file)? I would like to upload a custom file type, have a ‘def’ process the file and then distribute the results (in this case a DataFrame) for use by the rest of the code. Currently I am hardcoding the file I want to view. But, if I ever want to examine another file, I have to copy and paste the full path and filename into my code and rerun it.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Dash Upload -- Upload Excel File | 1 | 1111 | December 21, 2018 | |
Upload file and use it | 4 | 368 | May 17, 2022 | |
Allow specific file formats using the upload component | 2 | 2420 | May 27, 2021 | |
Dash Upload - Uploading a Text File | 2 | 5148 | March 6, 2018 | |
Issue with upload component and .txt file | 1 | 431 | October 16, 2020 |