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
one = '1' | |
two = '2' | |
three = '3' | |
thing = f'{one} {two} {three}' |
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
""" | |
Recursively examine directory structure verifying that leo files | |
don't have a size of 0 bytes. Also, verify that the corresponding | |
xml files don't have a size of 0 bytes and have the same date/time | |
stamp. | |
Pre-Requisites | |
1) Python 3.6 or higher | |
Needed so that can use pathlib and f-strings | |
""" |
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
#!/usr/bin/env python | |
import os | |
import pathlib | |
import random | |
DICTIONARY = 'popular-words.txt' | |
DIFFICULTY_LEVEL = 3 | |
NUM_TRIES_OFFSET = 2 |