How to stop Magiccommand

When writing code magic command automatically displays dataframe. Problem is when you are importing credentials they should not be on the streamlit output page. So how to disable magic command and show only relevant information

I’m not sure, but can you try this?

get_ipython().run_line_magic('load_ext', 'watermark')

or this

streamlit run --no-echo

You can turn magic commands off in the config file.

magicEnabled = false
1 Like

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