A whistle-stop tour of the techniques for getting your Python code into a place where the interpreter can get to work on it followed by the implications for code structure and usability.
This file contains hidden or 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
""" | |
Spike for template rendering. | |
$ export PYTHONPATH=/<path>/<to>/deed-api | |
""" | |
from contextlib import contextmanager | |
import datetime | |
import json | |
import os |
This file contains hidden or 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
""" | |
Spike for the token creation and | |
associated probability calculation. | |
""" | |
import math | |
import random | |
import string | |
This file contains hidden or 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
""" | |
1. Conveyancer must be alerted if more names are on the register than on the mortgage deed | |
2. All names on the register must be on the mortgage deed | |
3. There can be more names on the mortgage deed than on the register | |
4. Conveyancer does not need to be alerted that there are more names on mort |