a guest May 16th, 2018 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- from flask import Flask, render_template
- app = Flask(__name__)
- def webprint():
- return "<center><font size = '28pt'><h1>Hello world</h1></font></center>"
- def profile(name):
- return render_template("profile.html", name=name, count=count)
- def counter(count):
- with open("visitors.txt","r+") as count:
- count = int("count") + 1
- return int("count")
- if __name__ == '__main__':
RAW Paste Data