This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHPUT: equ $00a2 | |
CSRY: equ $f3dc | |
CSRX equ $f3dd | |
org $d000-7 ; simula binário do MSX-BASIC | |
db $fe ; cabeçalho de arquivo binário | |
dw start_code ; início do código | |
dw end_code ; final do código | |
dw main ; endereço de execução |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Convert an arbitrary string to a DateTime object | |
""" | |
from datetime import datetime | |
IGNORE_KEY = "no" | |
DATE_KEYS = ( | |
"day", | |
"month", |
OlderNewer