Python簡単なQRコード
13019 ワード
1 staticファイルの設定
2.templates文jian
img.html
text.html
需要者の伝言..................
2.templates文jian
img.html
/span>html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Titletitle>
head>
<body>
<img src="{{qrimg}}" alt="">
body>
html>
text.html
/span>html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Titletitle>
head>
<body>
<form action="/text"method="post">
:<textarea name="text" id="" cols="30" rows="10">textarea>
<input type="submit" value=" ">
url.html
form>
body>
html>
/span>html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> title>
head>
<form action="/url" method="post">
url:<input type = "text" name="text" value="http://">
<input type="submit" value=" ">
form>
body>
html>
aan.py
def func():
print (1)
print( __name__)
if __name__ =='__main__':
func()
app.py
def func():
print (1)
print( __name__)
if __name__ =='__main__':
func()
codes.py
需要者の伝言..................