You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 KiB

In [42]:
quilt = [
["Louisa","Camilo","newest patch_floor_rain","jacopo.otherness.def"],
["kendalpatch","euna", "patchericoforthefuture","punctuationflag"],
["euna","punctuationflag","euna","patchericoforthefuture"],
["Louisa","Martin", "jacopo.otherness.def","kendalpatch"],
]
In [43]:
quilt
Out[43]:
[['Louisa', 'Camilo', 'newest patch_floor_rain', 'jacopo.otherness.def'],
 ['kendalpatch', 'euna', 'patchericoforthefuture', 'punctuationflag'],
 ['euna', 'punctuationflag', 'euna', 'patchericoforthefuture'],
 ['Louisa', 'Martin', 'jacopo.otherness.def', 'kendalpatch']]
In [44]:
output = open("my-fantastic-quilt", 'w')
for row in quilt:

    for linenumber in range(74):
        for patch in row:
            print(f"line {linenumber} {patch}")
            line = open(f"patterns/{patch}.txt").readlines()[linenumber]
            line = line.rstrip("\n")
            print(line, file=output, end='')
        print(file=output)
#     print(line)
line 0 Louisa
line 0 Camilo
line 0 newest patch_floor_rain
line 0 jacopo.otherness.def
line 1 Louisa
line 1 Camilo
line 1 newest patch_floor_rain
line 1 jacopo.otherness.def
line 2 Louisa
line 2 Camilo
line 2 newest patch_floor_rain
line 2 jacopo.otherness.def
line 3 Louisa
line 3 Camilo
line 3 newest patch_floor_rain
line 3 jacopo.otherness.def
line 4 Louisa
line 4 Camilo
line 4 newest patch_floor_rain
line 4 jacopo.otherness.def
line 5 Louisa
line 5 Camilo
line 5 newest patch_floor_rain
line 5 jacopo.otherness.def
line 6 Louisa
line 6 Camilo
line 6 newest patch_floor_rain
line 6 jacopo.otherness.def
line 7 Louisa
line 7 Camilo
line 7 newest patch_floor_rain
line 7 jacopo.otherness.def
line 8 Louisa
line 8 Camilo
line 8 newest patch_floor_rain
line 8 jacopo.otherness.def
line 9 Louisa
line 9 Camilo
line 9 newest patch_floor_rain
line 9 jacopo.otherness.def
line 10 Louisa
line 10 Camilo
line 10 newest patch_floor_rain
line 10 jacopo.otherness.def
line 11 Louisa
line 11 Camilo
line 11 newest patch_floor_rain
line 11 jacopo.otherness.def
line 12 Louisa
line 12 Camilo
line 12 newest patch_floor_rain
line 12 jacopo.otherness.def
line 13 Louisa
line 13 Camilo
line 13 newest patch_floor_rain
line 13 jacopo.otherness.def
line 14 Louisa
line 14 Camilo
line 14 newest patch_floor_rain
line 14 jacopo.otherness.def
line 15 Louisa
line 15 Camilo
line 15 newest patch_floor_rain
line 15 jacopo.otherness.def
line 16 Louisa
line 16 Camilo
line 16 newest patch_floor_rain
line 16 jacopo.otherness.def
line 17 Louisa
line 17 Camilo
line 17 newest patch_floor_rain
line 17 jacopo.otherness.def
line 18 Louisa
line 18 Camilo
line 18 newest patch_floor_rain
line 18 jacopo.otherness.def
line 19 Louisa
line 19 Camilo
line 19 newest patch_floor_rain
line 19 jacopo.otherness.def
line 20 Louisa
line 20 Camilo
line 20 newest patch_floor_rain
line 20 jacopo.otherness.def
line 21 Louisa
line 21 Camilo
line 21 newest patch_floor_rain
line 21 jacopo.otherness.def
line 22 Louisa
line 22 Camilo
line 22 newest patch_floor_rain
line 22 jacopo.otherness.def
line 23 Louisa
line 23 Camilo
line 23 newest patch_floor_rain
line 23 jacopo.otherness.def
line 24 Louisa
line 24 Camilo
line 24 newest patch_floor_rain
line 24 jacopo.otherness.def
line 25 Louisa
line 25 Camilo
line 25 newest patch_floor_rain
line 25 jacopo.otherness.def
line 26 Louisa
line 26 Camilo
line 26 newest patch_floor_rain
line 26 jacopo.otherness.def
line 27 Louisa
line 27 Camilo
line 27 newest patch_floor_rain
line 27 jacopo.otherness.def
line 28 Louisa
line 28 Camilo
line 28 newest patch_floor_rain
line 28 jacopo.otherness.def
line 29 Louisa
line 29 Camilo
line 29 newest patch_floor_rain
line 29 jacopo.otherness.def
line 30 Louisa
line 30 Camilo
line 30 newest patch_floor_rain
line 30 jacopo.otherness.def
line 31 Louisa
line 31 Camilo
line 31 newest patch_floor_rain
line 31 jacopo.otherness.def
line 32 Louisa
line 32 Camilo
line 32 newest patch_floor_rain
line 32 jacopo.otherness.def
line 33 Louisa
line 33 Camilo
line 33 newest patch_floor_rain
line 33 jacopo.otherness.def
line 34 Louisa
line 34 Camilo
line 34 newest patch_floor_rain
line 34 jacopo.otherness.def
line 35 Louisa
line 35 Camilo
line 35 newest patch_floor_rain
line 35 jacopo.otherness.def
line 36 Louisa
line 36 Camilo
line 36 newest patch_floor_rain
line 36 jacopo.otherness.def
line 37 Louisa
line 37 Camilo
line 37 newest patch_floor_rain
line 37 jacopo.otherness.def
line 38 Louisa
line 38 Camilo
line 38 newest patch_floor_rain
line 38 jacopo.otherness.def
line 39 Louisa
line 39 Camilo
line 39 newest patch_floor_rain
line 39 jacopo.otherness.def
line 40 Louisa
line 40 Camilo
line 40 newest patch_floor_rain
line 40 jacopo.otherness.def
line 41 Louisa
line 41 Camilo
line 41 newest patch_floor_rain
line 41 jacopo.otherness.def
line 42 Louisa
line 42 Camilo
line 42 newest patch_floor_rain
line 42 jacopo.otherness.def
line 43 Louisa
line 43 Camilo
line 43 newest patch_floor_rain
line 43 jacopo.otherness.def
line 44 Louisa
line 44 Camilo
line 44 newest patch_floor_rain
line 44 jacopo.otherness.def
line 45 Louisa
line 45 Camilo
line 45 newest patch_floor_rain
line 45 jacopo.otherness.def
line 46 Louisa
line 46 Camilo
line 46 newest patch_floor_rain
line 46 jacopo.otherness.def
line 47 Louisa
line 47 Camilo
line 47 newest patch_floor_rain
line 47 jacopo.otherness.def
line 48 Louisa
line 48 Camilo
line 48 newest patch_floor_rain
line 48 jacopo.otherness.def
line 49 Louisa
line 49 Camilo
line 49 newest patch_floor_rain
line 49 jacopo.otherness.def
line 50 Louisa
line 50 Camilo
line 50 newest patch_floor_rain
line 50 jacopo.otherness.def
line 51 Louisa
line 51 Camilo
line 51 newest patch_floor_rain
line 51 jacopo.otherness.def
line 52 Louisa
line 52 Camilo
line 52 newest patch_floor_rain
line 52 jacopo.otherness.def
line 53 Louisa
line 53 Camilo
line 53 newest patch_floor_rain
line 53 jacopo.otherness.def
line 54 Louisa
line 54 Camilo
line 54 newest patch_floor_rain
line 54 jacopo.otherness.def
line 55 Louisa
line 55 Camilo
line 55 newest patch_floor_rain
line 55 jacopo.otherness.def
line 56 Louisa
line 56 Camilo
line 56 newest patch_floor_rain
line 56 jacopo.otherness.def
line 57 Louisa
line 57 Camilo
line 57 newest patch_floor_rain
line 57 jacopo.otherness.def
line 58 Louisa
line 58 Camilo
line 58 newest patch_floor_rain
line 58 jacopo.otherness.def
line 59 Louisa
line 59 Camilo
line 59 newest patch_floor_rain
line 59 jacopo.otherness.def
line 60 Louisa
line 60 Camilo
line 60 newest patch_floor_rain
line 60 jacopo.otherness.def
line 61 Louisa
line 61 Camilo
line 61 newest patch_floor_rain
line 61 jacopo.otherness.def
line 62 Louisa
line 62 Camilo
line 62 newest patch_floor_rain
line 62 jacopo.otherness.def
line 63 Louisa
line 63 Camilo
line 63 newest patch_floor_rain
line 63 jacopo.otherness.def
line 64 Louisa
line 64 Camilo
line 64 newest patch_floor_rain
line 64 jacopo.otherness.def
line 65 Louisa
line 65 Camilo
line 65 newest patch_floor_rain
line 65 jacopo.otherness.def
line 66 Louisa
line 66 Camilo
line 66 newest patch_floor_rain
line 66 jacopo.otherness.def
line 67 Louisa
line 67 Camilo
line 67 newest patch_floor_rain
line 67 jacopo.otherness.def
line 68 Louisa
line 68 Camilo
line 68 newest patch_floor_rain
line 68 jacopo.otherness.def
line 69 Louisa
line 69 Camilo
line 69 newest patch_floor_rain
line 69 jacopo.otherness.def
line 70 Louisa
line 70 Camilo
line 70 newest patch_floor_rain
line 70 jacopo.otherness.def
line 71 Louisa
line 71 Camilo
line 71 newest patch_floor_rain
line 71 jacopo.otherness.def
line 72 Louisa
line 72 Camilo
line 72 newest patch_floor_rain
line 72 jacopo.otherness.def
line 73 Louisa
line 73 Camilo
line 73 newest patch_floor_rain
line 73 jacopo.otherness.def
line 0 kendalpatch
line 0 euna
line 0 patchericoforthefuture
line 0 punctuationflag
line 1 kendalpatch
line 1 euna
line 1 patchericoforthefuture
line 1 punctuationflag
line 2 kendalpatch
line 2 euna
line 2 patchericoforthefuture
line 2 punctuationflag
line 3 kendalpatch
line 3 euna
line 3 patchericoforthefuture
line 3 punctuationflag
line 4 kendalpatch
line 4 euna
line 4 patchericoforthefuture
line 4 punctuationflag
line 5 kendalpatch
line 5 euna
line 5 patchericoforthefuture
line 5 punctuationflag
line 6 kendalpatch
line 6 euna
line 6 patchericoforthefuture
line 6 punctuationflag
line 7 kendalpatch
line 7 euna
line 7 patchericoforthefuture
line 7 punctuationflag
line 8 kendalpatch
line 8 euna
line 8 patchericoforthefuture
line 8 punctuationflag
line 9 kendalpatch
line 9 euna
line 9 patchericoforthefuture
line 9 punctuationflag
line 10 kendalpatch
line 10 euna
line 10 patchericoforthefuture
line 10 punctuationflag
line 11 kendalpatch
line 11 euna
line 11 patchericoforthefuture
line 11 punctuationflag
line 12 kendalpatch
line 12 euna
line 12 patchericoforthefuture
line 12 punctuationflag
line 13 kendalpatch
line 13 euna
line 13 patchericoforthefuture
line 13 punctuationflag
line 14 kendalpatch
line 14 euna
line 14 patchericoforthefuture
line 14 punctuationflag
line 15 kendalpatch
line 15 euna
line 15 patchericoforthefuture
line 15 punctuationflag
line 16 kendalpatch
line 16 euna
line 16 patchericoforthefuture
line 16 punctuationflag
line 17 kendalpatch
line 17 euna
line 17 patchericoforthefuture
line 17 punctuationflag
line 18 kendalpatch
line 18 euna
line 18 patchericoforthefuture
line 18 punctuationflag
line 19 kendalpatch
line 19 euna
line 19 patchericoforthefuture
line 19 punctuationflag
line 20 kendalpatch
line 20 euna
line 20 patchericoforthefuture
line 20 punctuationflag
line 21 kendalpatch
line 21 euna
line 21 patchericoforthefuture
line 21 punctuationflag
line 22 kendalpatch
line 22 euna
line 22 patchericoforthefuture
line 22 punctuationflag
line 23 kendalpatch
line 23 euna
line 23 patchericoforthefuture
line 23 punctuationflag
line 24 kendalpatch
line 24 euna
line 24 patchericoforthefuture
line 24 punctuationflag
line 25 kendalpatch
line 25 euna
line 25 patchericoforthefuture
line 25 punctuationflag
line 26 kendalpatch
line 26 euna
line 26 patchericoforthefuture
line 26 punctuationflag
line 27 kendalpatch
line 27 euna
line 27 patchericoforthefuture
line 27 punctuationflag
line 28 kendalpatch
line 28 euna
line 28 patchericoforthefuture
line 28 punctuationflag
line 29 kendalpatch
line 29 euna
line 29 patchericoforthefuture
line 29 punctuationflag
line 30 kendalpatch
line 30 euna
line 30 patchericoforthefuture
line 30 punctuationflag
line 31 kendalpatch
line 31 euna
line 31 patchericoforthefuture
line 31 punctuationflag
line 32 kendalpatch
line 32 euna
line 32 patchericoforthefuture
line 32 punctuationflag
line 33 kendalpatch
line 33 euna
line 33 patchericoforthefuture
line 33 punctuationflag
line 34 kendalpatch
line 34 euna
line 34 patchericoforthefuture
line 34 punctuationflag
line 35 kendalpatch
line 35 euna
line 35 patchericoforthefuture
line 35 punctuationflag
line 36 kendalpatch
line 36 euna
line 36 patchericoforthefuture
line 36 punctuationflag
line 37 kendalpatch
line 37 euna
line 37 patchericoforthefuture
line 37 punctuationflag
line 38 kendalpatch
line 38 euna
line 38 patchericoforthefuture
line 38 punctuationflag
line 39 kendalpatch
line 39 euna
line 39 patchericoforthefuture
line 39 punctuationflag
line 40 kendalpatch
line 40 euna
line 40 patchericoforthefuture
line 40 punctuationflag
line 41 kendalpatch
line 41 euna
line 41 patchericoforthefuture
line 41 punctuationflag
line 42 kendalpatch
line 42 euna
line 42 patchericoforthefuture
line 42 punctuationflag
line 43 kendalpatch
line 43 euna
line 43 patchericoforthefuture
line 43 punctuationflag
line 44 kendalpatch
line 44 euna
line 44 patchericoforthefuture
line 44 punctuationflag
line 45 kendalpatch
line 45 euna
line 45 patchericoforthefuture
line 45 punctuationflag
line 46 kendalpatch
line 46 euna
line 46 patchericoforthefuture
line 46 punctuationflag
line 47 kendalpatch
line 47 euna
line 47 patchericoforthefuture
line 47 punctuationflag
line 48 kendalpatch
line 48 euna
line 48 patchericoforthefuture
line 48 punctuationflag
line 49 kendalpatch
line 49 euna
line 49 patchericoforthefuture
line 49 punctuationflag
line 50 kendalpatch
line 50 euna
line 50 patchericoforthefuture
line 50 punctuationflag
line 51 kendalpatch
line 51 euna
line 51 patchericoforthefuture
line 51 punctuationflag
line 52 kendalpatch
line 52 euna
line 52 patchericoforthefuture
line 52 punctuationflag
line 53 kendalpatch
line 53 euna
line 53 patchericoforthefuture
line 53 punctuationflag
line 54 kendalpatch
line 54 euna
line 54 patchericoforthefuture
line 54 punctuationflag
line 55 kendalpatch
line 55 euna
line 55 patchericoforthefuture
line 55 punctuationflag
line 56 kendalpatch
line 56 euna
line 56 patchericoforthefuture
line 56 punctuationflag
line 57 kendalpatch
line 57 euna
line 57 patchericoforthefuture
line 57 punctuationflag
line 58 kendalpatch
line 58 euna
line 58 patchericoforthefuture
line 58 punctuationflag
line 59 kendalpatch
line 59 euna
line 59 patchericoforthefuture
line 59 punctuationflag
line 60 kendalpatch
line 60 euna
line 60 patchericoforthefuture
line 60 punctuationflag
line 61 kendalpatch
line 61 euna
line 61 patchericoforthefuture
line 61 punctuationflag
line 62 kendalpatch
line 62 euna
line 62 patchericoforthefuture
line 62 punctuationflag
line 63 kendalpatch
line 63 euna
line 63 patchericoforthefuture
line 63 punctuationflag
line 64 kendalpatch
line 64 euna
line 64 patchericoforthefuture
line 64 punctuationflag
line 65 kendalpatch
line 65 euna
line 65 patchericoforthefuture
line 65 punctuationflag
line 66 kendalpatch
line 66 euna
line 66 patchericoforthefuture
line 66 punctuationflag
line 67 kendalpatch
line 67 euna
line 67 patchericoforthefuture
line 67 punctuationflag
line 68 kendalpatch
line 68 euna
line 68 patchericoforthefuture
line 68 punctuationflag
line 69 kendalpatch
line 69 euna
line 69 patchericoforthefuture
line 69 punctuationflag
line 70 kendalpatch
line 70 euna
line 70 patchericoforthefuture
line 70 punctuationflag
line 71 kendalpatch
line 71 euna
line 71 patchericoforthefuture
line 71 punctuationflag
line 72 kendalpatch
line 72 euna
line 72 patchericoforthefuture
line 72 punctuationflag
line 73 kendalpatch
line 73 euna
line 73 patchericoforthefuture
line 73 punctuationflag
line 0 euna
line 0 punctuationflag
line 0 euna
line 0 patchericoforthefuture
line 1 euna
line 1 punctuationflag
line 1 euna
line 1 patchericoforthefuture
line 2 euna
line 2 punctuationflag
line 2 euna
line 2 patchericoforthefuture
line 3 euna
line 3 punctuationflag
line 3 euna
line 3 patchericoforthefuture
line 4 euna
line 4 punctuationflag
line 4 euna
line 4 patchericoforthefuture
line 5 euna
line 5 punctuationflag
line 5 euna
line 5 patchericoforthefuture
line 6 euna
line 6 punctuationflag
line 6 euna
line 6 patchericoforthefuture
line 7 euna
line 7 punctuationflag
line 7 euna
line 7 patchericoforthefuture
line 8 euna
line 8 punctuationflag
line 8 euna
line 8 patchericoforthefuture
line 9 euna
line 9 punctuationflag
line 9 euna
line 9 patchericoforthefuture
line 10 euna
line 10 punctuationflag
line 10 euna
line 10 patchericoforthefuture
line 11 euna
line 11 punctuationflag
line 11 euna
line 11 patchericoforthefuture
line 12 euna
line 12 punctuationflag
line 12 euna
line 12 patchericoforthefuture
line 13 euna
line 13 punctuationflag
line 13 euna
line 13 patchericoforthefuture
line 14 euna
line 14 punctuationflag
line 14 euna
line 14 patchericoforthefuture
line 15 euna
line 15 punctuationflag
line 15 euna
line 15 patchericoforthefuture
line 16 euna
line 16 punctuationflag
line 16 euna
line 16 patchericoforthefuture
line 17 euna
line 17 punctuationflag
line 17 euna
line 17 patchericoforthefuture
line 18 euna
line 18 punctuationflag
line 18 euna
line 18 patchericoforthefuture
line 19 euna
line 19 punctuationflag
line 19 euna
line 19 patchericoforthefuture
line 20 euna
line 20 punctuationflag
line 20 euna
line 20 patchericoforthefuture
line 21 euna
line 21 punctuationflag
line 21 euna
line 21 patchericoforthefuture
line 22 euna
line 22 punctuationflag
line 22 euna
line 22 patchericoforthefuture
line 23 euna
line 23 punctuationflag
line 23 euna
line 23 patchericoforthefuture
line 24 euna
line 24 punctuationflag
line 24 euna
line 24 patchericoforthefuture
line 25 euna
line 25 punctuationflag
line 25 euna
line 25 patchericoforthefuture
line 26 euna
line 26 punctuationflag
line 26 euna
line 26 patchericoforthefuture
line 27 euna
line 27 punctuationflag
line 27 euna
line 27 patchericoforthefuture
line 28 euna
line 28 punctuationflag
line 28 euna
line 28 patchericoforthefuture
line 29 euna
line 29 punctuationflag
line 29 euna
line 29 patchericoforthefuture
line 30 euna
line 30 punctuationflag
line 30 euna
line 30 patchericoforthefuture
line 31 euna
line 31 punctuationflag
line 31 euna
line 31 patchericoforthefuture
line 32 euna
line 32 punctuationflag
line 32 euna
line 32 patchericoforthefuture
line 33 euna
line 33 punctuationflag
line 33 euna
line 33 patchericoforthefuture
line 34 euna
line 34 punctuationflag
line 34 euna
line 34 patchericoforthefuture
line 35 euna
line 35 punctuationflag
line 35 euna
line 35 patchericoforthefuture
line 36 euna
line 36 punctuationflag
line 36 euna
line 36 patchericoforthefuture
line 37 euna
line 37 punctuationflag
line 37 euna
line 37 patchericoforthefuture
line 38 euna
line 38 punctuationflag
line 38 euna
line 38 patchericoforthefuture
line 39 euna
line 39 punctuationflag
line 39 euna
line 39 patchericoforthefuture
line 40 euna
line 40 punctuationflag
line 40 euna
line 40 patchericoforthefuture
line 41 euna
line 41 punctuationflag
line 41 euna
line 41 patchericoforthefuture
line 42 euna
line 42 punctuationflag
line 42 euna
line 42 patchericoforthefuture
line 43 euna
line 43 punctuationflag
line 43 euna
line 43 patchericoforthefuture
line 44 euna
line 44 punctuationflag
line 44 euna
line 44 patchericoforthefuture
line 45 euna
line 45 punctuationflag
line 45 euna
line 45 patchericoforthefuture
line 46 euna
line 46 punctuationflag
line 46 euna
line 46 patchericoforthefuture
line 47 euna
line 47 punctuationflag
line 47 euna
line 47 patchericoforthefuture
line 48 euna
line 48 punctuationflag
line 48 euna
line 48 patchericoforthefuture
line 49 euna
line 49 punctuationflag
line 49 euna
line 49 patchericoforthefuture
line 50 euna
line 50 punctuationflag
line 50 euna
line 50 patchericoforthefuture
line 51 euna
line 51 punctuationflag
line 51 euna
line 51 patchericoforthefuture
line 52 euna
line 52 punctuationflag
line 52 euna
line 52 patchericoforthefuture
line 53 euna
line 53 punctuationflag
line 53 euna
line 53 patchericoforthefuture
line 54 euna
line 54 punctuationflag
line 54 euna
line 54 patchericoforthefuture
line 55 euna
line 55 punctuationflag
line 55 euna
line 55 patchericoforthefuture
line 56 euna
line 56 punctuationflag
line 56 euna
line 56 patchericoforthefuture
line 57 euna
line 57 punctuationflag
line 57 euna
line 57 patchericoforthefuture
line 58 euna
line 58 punctuationflag
line 58 euna
line 58 patchericoforthefuture
line 59 euna
line 59 punctuationflag
line 59 euna
line 59 patchericoforthefuture
line 60 euna
line 60 punctuationflag
line 60 euna
line 60 patchericoforthefuture
line 61 euna
line 61 punctuationflag
line 61 euna
line 61 patchericoforthefuture
line 62 euna
line 62 punctuationflag
line 62 euna
line 62 patchericoforthefuture
line 63 euna
line 63 punctuationflag
line 63 euna
line 63 patchericoforthefuture
line 64 euna
line 64 punctuationflag
line 64 euna
line 64 patchericoforthefuture
line 65 euna
line 65 punctuationflag
line 65 euna
line 65 patchericoforthefuture
line 66 euna
line 66 punctuationflag
line 66 euna
line 66 patchericoforthefuture
line 67 euna
line 67 punctuationflag
line 67 euna
line 67 patchericoforthefuture
line 68 euna
line 68 punctuationflag
line 68 euna
line 68 patchericoforthefuture
line 69 euna
line 69 punctuationflag
line 69 euna
line 69 patchericoforthefuture
line 70 euna
line 70 punctuationflag
line 70 euna
line 70 patchericoforthefuture
line 71 euna
line 71 punctuationflag
line 71 euna
line 71 patchericoforthefuture
line 72 euna
line 72 punctuationflag
line 72 euna
line 72 patchericoforthefuture
line 73 euna
line 73 punctuationflag
line 73 euna
line 73 patchericoforthefuture
line 0 Louisa
line 0 Martin
line 0 jacopo.otherness.def
line 0 kendalpatch
line 1 Louisa
line 1 Martin
line 1 jacopo.otherness.def
line 1 kendalpatch
line 2 Louisa
line 2 Martin
line 2 jacopo.otherness.def
line 2 kendalpatch
line 3 Louisa
line 3 Martin
line 3 jacopo.otherness.def
line 3 kendalpatch
line 4 Louisa
line 4 Martin
line 4 jacopo.otherness.def
line 4 kendalpatch
line 5 Louisa
line 5 Martin
line 5 jacopo.otherness.def
line 5 kendalpatch
line 6 Louisa
line 6 Martin
line 6 jacopo.otherness.def
line 6 kendalpatch
line 7 Louisa
line 7 Martin
line 7 jacopo.otherness.def
line 7 kendalpatch
line 8 Louisa
line 8 Martin
line 8 jacopo.otherness.def
line 8 kendalpatch
line 9 Louisa
line 9 Martin
line 9 jacopo.otherness.def
line 9 kendalpatch
line 10 Louisa
line 10 Martin
line 10 jacopo.otherness.def
line 10 kendalpatch
line 11 Louisa
line 11 Martin
line 11 jacopo.otherness.def
line 11 kendalpatch
line 12 Louisa
line 12 Martin
line 12 jacopo.otherness.def
line 12 kendalpatch
line 13 Louisa
line 13 Martin
line 13 jacopo.otherness.def
line 13 kendalpatch
line 14 Louisa
line 14 Martin
line 14 jacopo.otherness.def
line 14 kendalpatch
line 15 Louisa
line 15 Martin
line 15 jacopo.otherness.def
line 15 kendalpatch
line 16 Louisa
line 16 Martin
line 16 jacopo.otherness.def
line 16 kendalpatch
line 17 Louisa
line 17 Martin
line 17 jacopo.otherness.def
line 17 kendalpatch
line 18 Louisa
line 18 Martin
line 18 jacopo.otherness.def
line 18 kendalpatch
line 19 Louisa
line 19 Martin
line 19 jacopo.otherness.def
line 19 kendalpatch
line 20 Louisa
line 20 Martin
line 20 jacopo.otherness.def
line 20 kendalpatch
line 21 Louisa
line 21 Martin
line 21 jacopo.otherness.def
line 21 kendalpatch
line 22 Louisa
line 22 Martin
line 22 jacopo.otherness.def
line 22 kendalpatch
line 23 Louisa
line 23 Martin
line 23 jacopo.otherness.def
line 23 kendalpatch
line 24 Louisa
line 24 Martin
line 24 jacopo.otherness.def
line 24 kendalpatch
line 25 Louisa
line 25 Martin
line 25 jacopo.otherness.def
line 25 kendalpatch
line 26 Louisa
line 26 Martin
line 26 jacopo.otherness.def
line 26 kendalpatch
line 27 Louisa
line 27 Martin
line 27 jacopo.otherness.def
line 27 kendalpatch
line 28 Louisa
line 28 Martin
line 28 jacopo.otherness.def
line 28 kendalpatch
line 29 Louisa
line 29 Martin
line 29 jacopo.otherness.def
line 29 kendalpatch
line 30 Louisa
line 30 Martin
line 30 jacopo.otherness.def
line 30 kendalpatch
line 31 Louisa
line 31 Martin
line 31 jacopo.otherness.def
line 31 kendalpatch
line 32 Louisa
line 32 Martin
line 32 jacopo.otherness.def
line 32 kendalpatch
line 33 Louisa
line 33 Martin
line 33 jacopo.otherness.def
line 33 kendalpatch
line 34 Louisa
line 34 Martin
line 34 jacopo.otherness.def
line 34 kendalpatch
line 35 Louisa
line 35 Martin
line 35 jacopo.otherness.def
line 35 kendalpatch
line 36 Louisa
line 36 Martin
line 36 jacopo.otherness.def
line 36 kendalpatch
line 37 Louisa
line 37 Martin
line 37 jacopo.otherness.def
line 37 kendalpatch
line 38 Louisa
line 38 Martin
line 38 jacopo.otherness.def
line 38 kendalpatch
line 39 Louisa
line 39 Martin
line 39 jacopo.otherness.def
line 39 kendalpatch
line 40 Louisa
line 40 Martin
line 40 jacopo.otherness.def
line 40 kendalpatch
line 41 Louisa
line 41 Martin
line 41 jacopo.otherness.def
line 41 kendalpatch
line 42 Louisa
line 42 Martin
line 42 jacopo.otherness.def
line 42 kendalpatch
line 43 Louisa
line 43 Martin
line 43 jacopo.otherness.def
line 43 kendalpatch
line 44 Louisa
line 44 Martin
line 44 jacopo.otherness.def
line 44 kendalpatch
line 45 Louisa
line 45 Martin
line 45 jacopo.otherness.def
line 45 kendalpatch
line 46 Louisa
line 46 Martin
line 46 jacopo.otherness.def
line 46 kendalpatch
line 47 Louisa
line 47 Martin
line 47 jacopo.otherness.def
line 47 kendalpatch
line 48 Louisa
line 48 Martin
line 48 jacopo.otherness.def
line 48 kendalpatch
line 49 Louisa
line 49 Martin
line 49 jacopo.otherness.def
line 49 kendalpatch
line 50 Louisa
line 50 Martin
line 50 jacopo.otherness.def
line 50 kendalpatch
line 51 Louisa
line 51 Martin
line 51 jacopo.otherness.def
line 51 kendalpatch
line 52 Louisa
line 52 Martin
line 52 jacopo.otherness.def
line 52 kendalpatch
line 53 Louisa
line 53 Martin
line 53 jacopo.otherness.def
line 53 kendalpatch
line 54 Louisa
line 54 Martin
line 54 jacopo.otherness.def
line 54 kendalpatch
line 55 Louisa
line 55 Martin
line 55 jacopo.otherness.def
line 55 kendalpatch
line 56 Louisa
line 56 Martin
line 56 jacopo.otherness.def
line 56 kendalpatch
line 57 Louisa
line 57 Martin
line 57 jacopo.otherness.def
line 57 kendalpatch
line 58 Louisa
line 58 Martin
line 58 jacopo.otherness.def
line 58 kendalpatch
line 59 Louisa
line 59 Martin
line 59 jacopo.otherness.def
line 59 kendalpatch
line 60 Louisa
line 60 Martin
line 60 jacopo.otherness.def
line 60 kendalpatch
line 61 Louisa
line 61 Martin
line 61 jacopo.otherness.def
line 61 kendalpatch
line 62 Louisa
line 62 Martin
line 62 jacopo.otherness.def
line 62 kendalpatch
line 63 Louisa
line 63 Martin
line 63 jacopo.otherness.def
line 63 kendalpatch
line 64 Louisa
line 64 Martin
line 64 jacopo.otherness.def
line 64 kendalpatch
line 65 Louisa
line 65 Martin
line 65 jacopo.otherness.def
line 65 kendalpatch
line 66 Louisa
line 66 Martin
line 66 jacopo.otherness.def
line 66 kendalpatch
line 67 Louisa
line 67 Martin
line 67 jacopo.otherness.def
line 67 kendalpatch
line 68 Louisa
line 68 Martin
line 68 jacopo.otherness.def
line 68 kendalpatch
line 69 Louisa
line 69 Martin
line 69 jacopo.otherness.def
line 69 kendalpatch
line 70 Louisa
line 70 Martin
line 70 jacopo.otherness.def
line 70 kendalpatch
line 71 Louisa
line 71 Martin
line 71 jacopo.otherness.def
line 71 kendalpatch
line 72 Louisa
line 72 Martin
line 72 jacopo.otherness.def
line 72 kendalpatch
line 73 Louisa
line 73 Martin
line 73 jacopo.otherness.def
line 73 kendalpatch
In [45]:
from reportlab.pdfgen.canvas import Canvas
from reportlab.lib.pagesizes import A4,A0
from reportlab.lib.units import mm
from reportlab.pdfbase.ttfonts import TTFont, pdfmetrics

pagewidth, pageheight = A0

c = Canvas("quilt_WFTF.pdf", pagesize=(pagewidth, pageheight), bottomup=0) 


fontpath = "fonts/mplus-1m-regular.ttf"
font =  TTFont('1mregular', fontpath)
pdfmetrics.registerFont(font)

# To set a font in the PDF
c.setFont('1mregular', 14.4)

start_y = 5*mm
y = start_y
lineheight = 4*mm
lines = open("my-fantastic-quilt").readlines()
for line in lines:
    c.drawString(2*mm, y, line)
    y += lineheight

c.save()
In [ ]:
 
In [ ]: