NeveryW7.py - from flask import Flask render_template request import datetime app=Flask_name#flask class [email protected]\/NeveryB def static_page x =

NeveryW7.py - from flask import Flask render_template...

This preview shows page 1 out of 1 page.

from flask import Flask, render_template, request import datetime app=Flask(__name__) #flask class object @app.route('/NeveryB') def static_page(): x = datetime.datetime.now() # to get date and time return render_template('NeveryB7.html', date=x) @app.route('/result',methods = ['POST', 'GET'])
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Summer '16
  • SDEV 300 Lab 7

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture