Added Lua example.
This commit is contained in:
parent
0aba1cfc69
commit
7e72b0cd01
2 changed files with 17 additions and 3 deletions
|
|
@ -4,14 +4,14 @@ permalink: /cgi/python/index.py
|
|||
|
||||
from datetime import datetime
|
||||
#from http import HTTPStatus
|
||||
from pprint import pprint
|
||||
#from pprint import pprint
|
||||
|
||||
print("Content-type: text/plain\n")
|
||||
#print(HTTPStatus.OK.value)
|
||||
print("Hello from Python!")
|
||||
print("")
|
||||
print('print(datetime.today().strftime("%Y-%m-%d"))')
|
||||
print(datetime.today().strftime('%Y-%m-%d'))
|
||||
print('print(datetime.today().strftime("%a %b %d %H:%M:%S %Y"))')
|
||||
print(datetime.today().strftime('%a %b %d %H:%M:%S %Y'))
|
||||
print("")
|
||||
print("for i in range(1, 11): print(i);")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue