import os
a = 0
FILE = 'aval.txt'
if os.path.exists(FILE):
try:
with open(FILE, "r") as f:
a = int(f.read())
except Exception:
os.remove(FILE)
with open(FILE, "w") as f:
f.write(str(a + 1))
pyd test
welcome to PyWPR
a php-like framework
get stated by removing
www contents and creating
index.pyp
or go to
docs