livereload works only if it is a valid html file
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>Master Python & Build a Face Recognition App
With Zero Prior Coding Experience
Register for the ‘AI for India 1.0’ - The Online workshop that is first of its kind which will help anyone Master Python, Be it a school kid, fresh graduate or an experienced professional.
🔥417622 Participants Registered 🔥
🔰Enrollment Link:--
https://bit.ly/3eomCGJ
Enjoy❤️✌🏻👍🏻
With Zero Prior Coding Experience
Register for the ‘AI for India 1.0’ - The Online workshop that is first of its kind which will help anyone Master Python, Be it a school kid, fresh graduate or an experienced professional.
🔥417622 Participants Registered 🔥
🔰Enrollment Link:--
https://bit.ly/3eomCGJ
Enjoy❤️✌🏻👍🏻
Forwarded from Smart Manoj-இன் பதிவுத்தடம் 😎
Postpone almost everything till Covid - Sign the Petition! http://chng.it/ShrGTw5P
Change.org
Sign the Petition
Postpone almost everything till Covid
[Python — Send Email When Exception Is Raised?](https://stackoverflow.com/a/58621581)
Stack Overflow
Python -- Send Email When Exception Is Raised?
I have a python class with many methods():
Method1()
Method2()
...........
...........
MethodN()
All methods -- while performing different tasks -- have the same scheme:
do something
do some...
Method1()
Method2()
...........
...........
MethodN()
All methods -- while performing different tasks -- have the same scheme:
do something
do some...
if u r using flask 2.0 u can use thing like.
Snippet given below works for 1.1.x as well 2.x
Source
@app.get('/name_of_route')
@app.post('/name_of_route')
def view_func:
if request.method == 'POST':
send_mail()
return "something"
Snippet given below works for 1.1.x as well 2.x
@app.route('/name_of_route', methods=['GET', 'POST'])
def view_func:
if request.method == 'POST':
send_mail()
return "something"Source