Created
June 22, 2019 21:56
-
-
Save pranav1698/11458c5a89d49147875bb15f9f7d296c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
from flask import Flask, render_template, request | |
# Initialize the flask application | |
app = Flask(__name__) | |
@app.route('/', methods=['GET', 'POST']) | |
def index(): | |
if request.method == 'POST': | |
first_name = request.form['first_name'] | |
last_name = request.form['last_name'] | |
email = request.form['email'] | |
password = request.form['password'] | |
print(password) | |
return render_template('index.html') | |
if __name__ == '__main__': | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment