[Python] Streamlit special character

Discussão em 'Python' iniciado por Stack, Julho 21, 2025.

  1. Stack

    Stack Membro Participativo

    I am writing some code in streamlit, and I have what is hopefully a simple question.

    My line of code is below:

    numberinput.number_input(“# of Items”, format=“%1f”, key=“input”)


    I expect the piece of text output to say “# of Items”, however the actual output doesn’t include the “#” sign and just says “of Items”.

    Any idea why this is the case and how to include the full text? Appreciate the help.

    Continue reading...

Compartilhe esta Página