Skip to content

Instantly share code, notes, and snippets.

@danlester
Created July 6, 2020 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danlester/82be89feec45c09ac1ccf401e915b1b0 to your computer and use it in GitHub Desktop.
Save danlester/82be89feec45c09ac1ccf401e915b1b0 to your computer and use it in GitHub Desktop.
import streamlit as st
from datetime import datetime
start_time = datetime.now()
st.write(start_time)
count = 0
if st.button('Increment'):
count += 1
st.write('Clicked! Start Time {}; Count {}'.format(start_time, count))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment