Skip to content

Can it support to keep displaying the information from a file which keeps changing? #36

@chiehpower

Description

@chiehpower

Hi,
Thanks for providing this awesome widgets!!
I have read the issue #25 and #28.

My idea is to apply the streamlit-ace to display the log file, and the log file will keep changing (i.e., It will keep adding some information into the log file.)

Here is my current code which was referred from #25.

        with open('/var/log/out.log') as f:
            lines = f.read()
            content = st_ace(value=lines)

Is it possible to keep displaying the log file information this goal?

Thank you!!

BR,
Chieh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions