import streamlit as st import datetime as DT import pytz def applyCommonStyles(): st.markdown( """ """, unsafe_allow_html=True ) def __nowInIST() -> DT.datetime: return DT.datetime.now(pytz.timezone("Asia/Kolkata")) def pprint(log: str): now = __nowInIST() now = now.strftime("%Y-%m-%d %H:%M:%S") print(f"[{now}] [{st.session_state.ipAddress}] {log}")