💾 Archived View for station.martinrue.com › ailolai › 31119947afa5485b9159de706950dc28 captured on 2023-01-29 at 06:05:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
!/usr/bin/env python3
Just fooling around
import os
print("Hello gopherite")
print("Just add something, a query string to the url, ?query_string")
print("1bala\t/cgi-bin/?bala\tyretek.com\t70")
print("1rala\t/cgi-bin/?rla\tyretek.com\t70")
print(os.environ.keys())
if(os.environ['QUERY_STRING']=="bala"):
print(f"Thats a bala")
else:
print("nada")
print(os.environ['QUERY_STRING'])
OK, so I have a gopher script running doing something that could be useful. A gamebook. The idea is to use query string to transmit compressed data on the characte and game state. Then generate the text using data files
1 year ago