My modul

i cant add my mudul (other .py file) to main file i do - import my_file.py - its error

1 Like

Hi @Stas_Rubtsov,

Thanks for posting!

If I am understanding your question correctly, you want to import my_file.py file as a module to your main.py?

If that is the case, import it as such in main.py:
import my_file

I hope this resolves it.
…

Happy Streamlit-ing :balloon:

1 Like

Problem was in my module file. There was error. Now all OK.)))

1 Like

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