|
|
@@ -24,7 +24,7 @@ def application( environ, start_response ): |
|
|
|
|
|
|
|
|
start_response( '200 OK', [('content-type', 'text/html; charset=utf-8')] ) |
|
|
start_response( '200 OK', [('content-type', 'text/html; charset=utf-8')] ) |
|
|
|
|
|
|
|
|
yield "<h1>elenco tabelle presenti nel db mywiki</h1>" |
|
|
|
|
|
|
|
|
yield "<h1>elenco tabelle presenti nel db mywiki (connessione/db 1)</h1>" |
|
|
|
|
|
|
|
|
for record in cur.fetchall(): |
|
|
for record in cur.fetchall(): |
|
|
yield str( record ) + "<br>" |
|
|
yield str( record ) + "<br>" |
|
|
@@ -44,7 +44,7 @@ def application( environ, start_response ): |
|
|
# recupero record e generazione html |
|
|
# recupero record e generazione html |
|
|
# |
|
|
# |
|
|
|
|
|
|
|
|
yield "<h1>elenco tabelle presenti nel db shoot</h1>" |
|
|
|
|
|
|
|
|
yield "<h1>elenco tabelle presenti nel db shoot (connessione/db 2)</h1>" |
|
|
|
|
|
|
|
|
for record in cur2.fetchall(): |
|
|
for record in cur2.fetchall(): |
|
|
yield str( record ) + "<br>" |
|
|
yield str( record ) + "<br>" |