File size: 587 Bytes
b966bc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project      : AI.  @by PyCharm
# @File         : iframe
# @Time         : 2023/4/6 11:43
# @Author       : betterme
# @WeChat       : meutils
# @Software     : PyCharm
# @Description  : 

from meutils.pipe import *

html = """
<!DOCTYPE html>
<html>
<head>
	<title>My Website</title>
	<style>
		iframe {
			width: 100%;
			height: 100%;
			border: none;
			overflow: hidden;
		}
	</style>
</head>
<body>
	<iframe src="http://www.hao123.com/"></iframe>
</body>
</html>
"""

import streamlit as st


st.write(html, unsafe_allow_html=True)