You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
360 B
17 lines
360 B
# NOTE: Each pasta tweet should be no more than 263 characters long! |
|
|
|
|
|
def get_pastas() -> list: |
|
pfile = open("pastas.txt", mode="r") |
|
pastas = pfile.read().split("\n\n") |
|
pfile.close() |
|
|
|
return pastas |
|
|
|
|
|
PASTAS = get_pastas() |
|
|
|
|
|
# TODO: make random picker only, rename |
|
def concat_pasta(sep: str = " "): |
|
return sep.join([random.choice(PASTAS)])
|
|
|