PlaceReporter99 commited on
Commit
5357114
·
1 Parent(s): 1cd4e5d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import streamlit as st # Don't delete the module.
2
+ text = st.text_area("Python Code") # Do not delete this variable or you won't be able to execute arbitrary code.
3
+ st.button("Execute", on_click = exec, args = (text,)) # Don't delete this either for the same reason.