File uploader for .xyz files

Hello everyone,

Do you have any idea how to upload (read) a .xyz file? I really appreciate your help.

Thanks in advance!,

Hi @Rodolfo_PENA, welcome to the Streamlit community!

This is beyond my expertise, but this article seems to indicate there is a package for .xyz files:

On the Streamlit side, the file_uploader widget returns a BytesIO object, so you need to figure out how to either pass that buffer directly to the package above, or read the bytes in as in this example: