PythonTestv0 / app.py
TeamHaltmannSusanaHWCEO's picture
Update app.py
455d32c
raw
history blame contribute delete
217 Bytes
import streamlit as st
import os
import subprocess
import sys
import time
def write_code(code):
with open('code.py', 'w') as f:
f.write(code)
def run_code():
subprocess.run(['python', 'code.py'])