apozz
Decapat
- Katılım
- 8 Temmuz 2021
- Mesajlar
- 93
- Çözümler
- 2
Daha fazla
- Cinsiyet
- Erkek
Python:
from flask import Flask,render_template
app=Flask(__name__,template_folder="templates")
@app.route("/")
def index():
return render_template("index.html")
if __name__ =="__main__":
app.run(debug=True)
HTML:
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anasayfa</title>
</head>
<body>
<h3>Anasayfa</h3>
</body>
</html>
Bu iki kodu yazıyorum çalıştırdığımda sayfa bembeyaz oluyor nedeni nedir ?