Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,16 @@ import os
|
|
13 |
session_token = os.environ.get('SessionToken')
|
14 |
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
|
18 |
|
|
|
13 |
session_token = os.environ.get('SessionToken')
|
14 |
|
15 |
|
16 |
+
# Creating an HTML file
|
17 |
+
Func = open("GFG-1.html","w")
|
18 |
+
|
19 |
+
# Adding input data to the HTML file
|
20 |
+
Func.write("<html>\n<head>\n<title> \nOutput Data in an HTML file \
|
21 |
+
</title>\n</head> <body><h1>Welcome to <u>GeeksforGeeks</u></h1>\
|
22 |
+
\n<h2>A <u>CS</u> Portal for Everyone</h2> \n</body></html>")
|
23 |
+
|
24 |
+
# Saving the data into the HTML file
|
25 |
+
Func.close()
|
26 |
|
27 |
|
28 |
|