Create code editor and run code with subprocess package
This commit is contained in:
12
webpages/testing.py
Normal file
12
webpages/testing.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import streamlit as st
|
||||
import subprocess
|
||||
from webpages import code_editor as ce
|
||||
|
||||
|
||||
def testing():
|
||||
st.title("Testing Page")
|
||||
ce.code_editor()
|
||||
|
||||
# # [Work]code for instering youtube videos
|
||||
# video = "https://youtu.be/HluANRwPyNo?feature=shared"
|
||||
# st.video(video)
|
||||
Reference in New Issue
Block a user