Print to console?

Is it possible to print to the console log in Community Cloud?
I tried print statements to no avail.
I’ve tried setting log to debug mode in config.toml

Just looking for a quick and dirty approach to create a logger. Open to other suggestions.

public deployed app:

app’s public GitHub repository

streamlit 1.27.2
Python 3.9

Try:

import os
os.write(1,b'Something was executed.\n')
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.