Streamlit with python

how do i execute another python file when i press a title i created as a tab

Maybe something like this

import os
import streamlit as st

if st.button("Execute"):
    os.sys("python new_script.py")