nachdem mir hier im Forum bottle (beziehungsweise flask) nachgelegt worden ist, anstatt alles selber zu machen, habe ich mir gedacht, ich probiere es aus.
Code: Alles auswählen
#! /usr/bin/python3
# -*- coding: utf-8 -*-
from bottle import route, run
@route('/Ausgaben')
def Ausgaben():
return 'Dies ist ein Test.' #Variable
run(host='localhost', port=8080)
Code: Alles auswählen
Traceback (most recent call last):
File "./Test bottle.py", line 6, in <module>
from bottle import route, run
File "/home/BAm2/Programme/Arbeiten/bottle.py", line 352
except (AssertionError, IndexError), e: # AssertionError: Too many groups
^
SyntaxError: invalid syntax
Dürfte ja wohl jetzt nicht an meinem Testprogrämmchen liegen. Weiß jemand Rat?
Dadapf