jetwork/interface.py

12 lines
236 B
Python
Raw Normal View History

2024-02-23 20:52:15 +00:00
import streamlit as st
st.title('jetwork')
# Получаем все сайты
from os import walk
sites = next(walk('cached/'), (None, None, []))[1]
for i in sites:
addr = f"http://127.0.0.1:8000/{i}/index.html"
f"[{i}]({addr})"