Import in inner files

Hello . In the code that i’m using, there is comand of terminal for to run .py file. In Python - os.system(‘python file.py --some arguments’). But in streamlit this file can’t to use import of lybrary. I can’t use ‘import file.py’ for this arguments of the command. Do you know how to include import in this command ('import file.py), or other ways?

Hi @Stas_Rubtsov,

Thank you for sharing your question and sorry for the delayed reply! Do I understand correctly that you’re trying to import another Python file that exists in your project from the file where you’re using Streamlit?