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.
43 KiB
43 KiB
In [39]:
quilt = [ ["2-louisa-final","Camilo","newest patch_floor_rain","jacopo.otherness.def"], ["kendalpatch","euna", "patchericoforthefuture","punctuationflag"], ["euna","punctuationflag","euna","patchericoforthefuture"], ["2-louisa-final","MARTIN_GRADIENTENSE", "jacopo.otherness.def","kendalpatch"], ]
In [40]:
quilt
Out[40]:
[['2-louisa-final', 'Camilo', 'newest patch_floor_rain', 'jacopo.otherness.def'], ['kendalpatch', 'euna', 'patchericoforthefuture', 'punctuationflag'], ['euna', 'punctuationflag', 'euna', 'patchericoforthefuture'], ['2-louisa-final', 'MARTIN_GRADIENTENSE', 'jacopo.otherness.def', 'kendalpatch']]
In [42]:
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"patches/{patch}.txt").readlines()[linenumber] line = line.rstrip("\n") print(line, file=output, end='') print(file=output) # print(line)
line 0 2-louisa-final line 0 Camilo line 0 newest patch_floor_rain line 0 jacopo.otherness.def line 1 2-louisa-final line 1 Camilo line 1 newest patch_floor_rain line 1 jacopo.otherness.def line 2 2-louisa-final line 2 Camilo line 2 newest patch_floor_rain line 2 jacopo.otherness.def line 3 2-louisa-final line 3 Camilo line 3 newest patch_floor_rain line 3 jacopo.otherness.def line 4 2-louisa-final line 4 Camilo line 4 newest patch_floor_rain line 4 jacopo.otherness.def line 5 2-louisa-final line 5 Camilo line 5 newest patch_floor_rain line 5 jacopo.otherness.def line 6 2-louisa-final line 6 Camilo line 6 newest patch_floor_rain line 6 jacopo.otherness.def line 7 2-louisa-final line 7 Camilo line 7 newest patch_floor_rain line 7 jacopo.otherness.def line 8 2-louisa-final line 8 Camilo line 8 newest patch_floor_rain line 8 jacopo.otherness.def line 9 2-louisa-final line 9 Camilo line 9 newest patch_floor_rain line 9 jacopo.otherness.def line 10 2-louisa-final line 10 Camilo line 10 newest patch_floor_rain line 10 jacopo.otherness.def line 11 2-louisa-final line 11 Camilo line 11 newest patch_floor_rain line 11 jacopo.otherness.def line 12 2-louisa-final line 12 Camilo line 12 newest patch_floor_rain line 12 jacopo.otherness.def line 13 2-louisa-final line 13 Camilo line 13 newest patch_floor_rain line 13 jacopo.otherness.def line 14 2-louisa-final line 14 Camilo line 14 newest patch_floor_rain line 14 jacopo.otherness.def line 15 2-louisa-final line 15 Camilo line 15 newest patch_floor_rain line 15 jacopo.otherness.def line 16 2-louisa-final line 16 Camilo line 16 newest patch_floor_rain line 16 jacopo.otherness.def line 17 2-louisa-final line 17 Camilo line 17 newest patch_floor_rain line 17 jacopo.otherness.def line 18 2-louisa-final line 18 Camilo line 18 newest patch_floor_rain line 18 jacopo.otherness.def line 19 2-louisa-final line 19 Camilo line 19 newest patch_floor_rain line 19 jacopo.otherness.def line 20 2-louisa-final line 20 Camilo line 20 newest patch_floor_rain line 20 jacopo.otherness.def line 21 2-louisa-final line 21 Camilo line 21 newest patch_floor_rain line 21 jacopo.otherness.def line 22 2-louisa-final line 22 Camilo line 22 newest patch_floor_rain line 22 jacopo.otherness.def line 23 2-louisa-final line 23 Camilo line 23 newest patch_floor_rain line 23 jacopo.otherness.def line 24 2-louisa-final line 24 Camilo line 24 newest patch_floor_rain line 24 jacopo.otherness.def line 25 2-louisa-final line 25 Camilo line 25 newest patch_floor_rain line 25 jacopo.otherness.def line 26 2-louisa-final line 26 Camilo line 26 newest patch_floor_rain line 26 jacopo.otherness.def line 27 2-louisa-final line 27 Camilo line 27 newest patch_floor_rain line 27 jacopo.otherness.def line 28 2-louisa-final line 28 Camilo line 28 newest patch_floor_rain line 28 jacopo.otherness.def line 29 2-louisa-final line 29 Camilo line 29 newest patch_floor_rain line 29 jacopo.otherness.def line 30 2-louisa-final line 30 Camilo line 30 newest patch_floor_rain line 30 jacopo.otherness.def line 31 2-louisa-final line 31 Camilo line 31 newest patch_floor_rain line 31 jacopo.otherness.def line 32 2-louisa-final line 32 Camilo line 32 newest patch_floor_rain line 32 jacopo.otherness.def line 33 2-louisa-final line 33 Camilo line 33 newest patch_floor_rain line 33 jacopo.otherness.def line 34 2-louisa-final line 34 Camilo line 34 newest patch_floor_rain line 34 jacopo.otherness.def line 35 2-louisa-final line 35 Camilo line 35 newest patch_floor_rain line 35 jacopo.otherness.def line 36 2-louisa-final line 36 Camilo line 36 newest patch_floor_rain line 36 jacopo.otherness.def line 37 2-louisa-final line 37 Camilo line 37 newest patch_floor_rain line 37 jacopo.otherness.def line 38 2-louisa-final line 38 Camilo line 38 newest patch_floor_rain line 38 jacopo.otherness.def line 39 2-louisa-final line 39 Camilo line 39 newest patch_floor_rain line 39 jacopo.otherness.def line 40 2-louisa-final line 40 Camilo line 40 newest patch_floor_rain line 40 jacopo.otherness.def line 41 2-louisa-final line 41 Camilo line 41 newest patch_floor_rain line 41 jacopo.otherness.def line 42 2-louisa-final line 42 Camilo line 42 newest patch_floor_rain line 42 jacopo.otherness.def line 43 2-louisa-final line 43 Camilo line 43 newest patch_floor_rain line 43 jacopo.otherness.def line 44 2-louisa-final line 44 Camilo line 44 newest patch_floor_rain line 44 jacopo.otherness.def line 45 2-louisa-final line 45 Camilo line 45 newest patch_floor_rain line 45 jacopo.otherness.def line 46 2-louisa-final line 46 Camilo line 46 newest patch_floor_rain line 46 jacopo.otherness.def line 47 2-louisa-final line 47 Camilo line 47 newest patch_floor_rain line 47 jacopo.otherness.def line 48 2-louisa-final line 48 Camilo line 48 newest patch_floor_rain line 48 jacopo.otherness.def line 49 2-louisa-final line 49 Camilo line 49 newest patch_floor_rain line 49 jacopo.otherness.def line 50 2-louisa-final line 50 Camilo line 50 newest patch_floor_rain line 50 jacopo.otherness.def line 51 2-louisa-final line 51 Camilo line 51 newest patch_floor_rain line 51 jacopo.otherness.def line 52 2-louisa-final line 52 Camilo line 52 newest patch_floor_rain line 52 jacopo.otherness.def line 53 2-louisa-final line 53 Camilo line 53 newest patch_floor_rain line 53 jacopo.otherness.def line 54 2-louisa-final line 54 Camilo line 54 newest patch_floor_rain line 54 jacopo.otherness.def line 55 2-louisa-final line 55 Camilo line 55 newest patch_floor_rain line 55 jacopo.otherness.def line 56 2-louisa-final line 56 Camilo line 56 newest patch_floor_rain line 56 jacopo.otherness.def line 57 2-louisa-final line 57 Camilo line 57 newest patch_floor_rain line 57 jacopo.otherness.def line 58 2-louisa-final line 58 Camilo line 58 newest patch_floor_rain line 58 jacopo.otherness.def line 59 2-louisa-final line 59 Camilo line 59 newest patch_floor_rain line 59 jacopo.otherness.def line 60 2-louisa-final line 60 Camilo line 60 newest patch_floor_rain line 60 jacopo.otherness.def line 61 2-louisa-final line 61 Camilo line 61 newest patch_floor_rain line 61 jacopo.otherness.def line 62 2-louisa-final line 62 Camilo line 62 newest patch_floor_rain line 62 jacopo.otherness.def line 63 2-louisa-final line 63 Camilo line 63 newest patch_floor_rain line 63 jacopo.otherness.def line 64 2-louisa-final line 64 Camilo line 64 newest patch_floor_rain line 64 jacopo.otherness.def line 65 2-louisa-final line 65 Camilo line 65 newest patch_floor_rain line 65 jacopo.otherness.def line 66 2-louisa-final line 66 Camilo line 66 newest patch_floor_rain line 66 jacopo.otherness.def line 67 2-louisa-final line 67 Camilo line 67 newest patch_floor_rain line 67 jacopo.otherness.def line 68 2-louisa-final line 68 Camilo line 68 newest patch_floor_rain line 68 jacopo.otherness.def line 69 2-louisa-final line 69 Camilo line 69 newest patch_floor_rain line 69 jacopo.otherness.def line 70 2-louisa-final line 70 Camilo line 70 newest patch_floor_rain line 70 jacopo.otherness.def line 71 2-louisa-final line 71 Camilo line 71 newest patch_floor_rain line 71 jacopo.otherness.def line 72 2-louisa-final line 72 Camilo line 72 newest patch_floor_rain line 72 jacopo.otherness.def line 73 2-louisa-final 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 2-louisa-final line 0 MARTIN_GRADIENTENSE line 0 jacopo.otherness.def line 0 kendalpatch line 1 2-louisa-final line 1 MARTIN_GRADIENTENSE line 1 jacopo.otherness.def line 1 kendalpatch line 2 2-louisa-final line 2 MARTIN_GRADIENTENSE line 2 jacopo.otherness.def line 2 kendalpatch line 3 2-louisa-final line 3 MARTIN_GRADIENTENSE line 3 jacopo.otherness.def line 3 kendalpatch line 4 2-louisa-final line 4 MARTIN_GRADIENTENSE line 4 jacopo.otherness.def line 4 kendalpatch line 5 2-louisa-final line 5 MARTIN_GRADIENTENSE line 5 jacopo.otherness.def line 5 kendalpatch line 6 2-louisa-final line 6 MARTIN_GRADIENTENSE line 6 jacopo.otherness.def line 6 kendalpatch line 7 2-louisa-final line 7 MARTIN_GRADIENTENSE line 7 jacopo.otherness.def line 7 kendalpatch line 8 2-louisa-final line 8 MARTIN_GRADIENTENSE line 8 jacopo.otherness.def line 8 kendalpatch line 9 2-louisa-final line 9 MARTIN_GRADIENTENSE line 9 jacopo.otherness.def line 9 kendalpatch line 10 2-louisa-final line 10 MARTIN_GRADIENTENSE line 10 jacopo.otherness.def line 10 kendalpatch line 11 2-louisa-final line 11 MARTIN_GRADIENTENSE line 11 jacopo.otherness.def line 11 kendalpatch line 12 2-louisa-final line 12 MARTIN_GRADIENTENSE line 12 jacopo.otherness.def line 12 kendalpatch line 13 2-louisa-final line 13 MARTIN_GRADIENTENSE line 13 jacopo.otherness.def line 13 kendalpatch line 14 2-louisa-final line 14 MARTIN_GRADIENTENSE line 14 jacopo.otherness.def line 14 kendalpatch line 15 2-louisa-final line 15 MARTIN_GRADIENTENSE line 15 jacopo.otherness.def line 15 kendalpatch line 16 2-louisa-final line 16 MARTIN_GRADIENTENSE line 16 jacopo.otherness.def line 16 kendalpatch line 17 2-louisa-final line 17 MARTIN_GRADIENTENSE line 17 jacopo.otherness.def line 17 kendalpatch line 18 2-louisa-final line 18 MARTIN_GRADIENTENSE line 18 jacopo.otherness.def line 18 kendalpatch line 19 2-louisa-final line 19 MARTIN_GRADIENTENSE line 19 jacopo.otherness.def line 19 kendalpatch line 20 2-louisa-final line 20 MARTIN_GRADIENTENSE line 20 jacopo.otherness.def line 20 kendalpatch line 21 2-louisa-final line 21 MARTIN_GRADIENTENSE line 21 jacopo.otherness.def line 21 kendalpatch line 22 2-louisa-final line 22 MARTIN_GRADIENTENSE line 22 jacopo.otherness.def line 22 kendalpatch line 23 2-louisa-final line 23 MARTIN_GRADIENTENSE line 23 jacopo.otherness.def line 23 kendalpatch line 24 2-louisa-final line 24 MARTIN_GRADIENTENSE line 24 jacopo.otherness.def line 24 kendalpatch line 25 2-louisa-final line 25 MARTIN_GRADIENTENSE line 25 jacopo.otherness.def line 25 kendalpatch line 26 2-louisa-final line 26 MARTIN_GRADIENTENSE line 26 jacopo.otherness.def line 26 kendalpatch line 27 2-louisa-final line 27 MARTIN_GRADIENTENSE line 27 jacopo.otherness.def line 27 kendalpatch line 28 2-louisa-final line 28 MARTIN_GRADIENTENSE line 28 jacopo.otherness.def line 28 kendalpatch line 29 2-louisa-final line 29 MARTIN_GRADIENTENSE line 29 jacopo.otherness.def line 29 kendalpatch line 30 2-louisa-final line 30 MARTIN_GRADIENTENSE line 30 jacopo.otherness.def line 30 kendalpatch line 31 2-louisa-final line 31 MARTIN_GRADIENTENSE line 31 jacopo.otherness.def line 31 kendalpatch line 32 2-louisa-final line 32 MARTIN_GRADIENTENSE line 32 jacopo.otherness.def line 32 kendalpatch line 33 2-louisa-final line 33 MARTIN_GRADIENTENSE line 33 jacopo.otherness.def line 33 kendalpatch line 34 2-louisa-final line 34 MARTIN_GRADIENTENSE line 34 jacopo.otherness.def line 34 kendalpatch line 35 2-louisa-final line 35 MARTIN_GRADIENTENSE line 35 jacopo.otherness.def line 35 kendalpatch line 36 2-louisa-final line 36 MARTIN_GRADIENTENSE line 36 jacopo.otherness.def line 36 kendalpatch line 37 2-louisa-final line 37 MARTIN_GRADIENTENSE line 37 jacopo.otherness.def line 37 kendalpatch line 38 2-louisa-final line 38 MARTIN_GRADIENTENSE line 38 jacopo.otherness.def line 38 kendalpatch line 39 2-louisa-final line 39 MARTIN_GRADIENTENSE line 39 jacopo.otherness.def line 39 kendalpatch line 40 2-louisa-final line 40 MARTIN_GRADIENTENSE line 40 jacopo.otherness.def line 40 kendalpatch line 41 2-louisa-final line 41 MARTIN_GRADIENTENSE line 41 jacopo.otherness.def line 41 kendalpatch line 42 2-louisa-final line 42 MARTIN_GRADIENTENSE line 42 jacopo.otherness.def line 42 kendalpatch line 43 2-louisa-final line 43 MARTIN_GRADIENTENSE line 43 jacopo.otherness.def line 43 kendalpatch line 44 2-louisa-final line 44 MARTIN_GRADIENTENSE line 44 jacopo.otherness.def line 44 kendalpatch line 45 2-louisa-final line 45 MARTIN_GRADIENTENSE line 45 jacopo.otherness.def line 45 kendalpatch line 46 2-louisa-final line 46 MARTIN_GRADIENTENSE line 46 jacopo.otherness.def line 46 kendalpatch line 47 2-louisa-final line 47 MARTIN_GRADIENTENSE line 47 jacopo.otherness.def line 47 kendalpatch line 48 2-louisa-final line 48 MARTIN_GRADIENTENSE line 48 jacopo.otherness.def line 48 kendalpatch line 49 2-louisa-final line 49 MARTIN_GRADIENTENSE line 49 jacopo.otherness.def line 49 kendalpatch line 50 2-louisa-final line 50 MARTIN_GRADIENTENSE line 50 jacopo.otherness.def line 50 kendalpatch line 51 2-louisa-final line 51 MARTIN_GRADIENTENSE line 51 jacopo.otherness.def line 51 kendalpatch line 52 2-louisa-final line 52 MARTIN_GRADIENTENSE line 52 jacopo.otherness.def line 52 kendalpatch line 53 2-louisa-final line 53 MARTIN_GRADIENTENSE line 53 jacopo.otherness.def line 53 kendalpatch line 54 2-louisa-final line 54 MARTIN_GRADIENTENSE line 54 jacopo.otherness.def line 54 kendalpatch line 55 2-louisa-final line 55 MARTIN_GRADIENTENSE line 55 jacopo.otherness.def line 55 kendalpatch line 56 2-louisa-final line 56 MARTIN_GRADIENTENSE line 56 jacopo.otherness.def line 56 kendalpatch line 57 2-louisa-final line 57 MARTIN_GRADIENTENSE line 57 jacopo.otherness.def line 57 kendalpatch line 58 2-louisa-final line 58 MARTIN_GRADIENTENSE line 58 jacopo.otherness.def line 58 kendalpatch line 59 2-louisa-final line 59 MARTIN_GRADIENTENSE line 59 jacopo.otherness.def line 59 kendalpatch line 60 2-louisa-final line 60 MARTIN_GRADIENTENSE line 60 jacopo.otherness.def line 60 kendalpatch line 61 2-louisa-final line 61 MARTIN_GRADIENTENSE line 61 jacopo.otherness.def line 61 kendalpatch line 62 2-louisa-final line 62 MARTIN_GRADIENTENSE line 62 jacopo.otherness.def line 62 kendalpatch line 63 2-louisa-final line 63 MARTIN_GRADIENTENSE line 63 jacopo.otherness.def line 63 kendalpatch line 64 2-louisa-final line 64 MARTIN_GRADIENTENSE line 64 jacopo.otherness.def line 64 kendalpatch line 65 2-louisa-final line 65 MARTIN_GRADIENTENSE line 65 jacopo.otherness.def line 65 kendalpatch line 66 2-louisa-final line 66 MARTIN_GRADIENTENSE line 66 jacopo.otherness.def line 66 kendalpatch line 67 2-louisa-final line 67 MARTIN_GRADIENTENSE line 67 jacopo.otherness.def line 67 kendalpatch line 68 2-louisa-final line 68 MARTIN_GRADIENTENSE line 68 jacopo.otherness.def line 68 kendalpatch line 69 2-louisa-final line 69 MARTIN_GRADIENTENSE line 69 jacopo.otherness.def line 69 kendalpatch line 70 2-louisa-final line 70 MARTIN_GRADIENTENSE line 70 jacopo.otherness.def line 70 kendalpatch line 71 2-louisa-final line 71 MARTIN_GRADIENTENSE line 71 jacopo.otherness.def line 71 kendalpatch line 72 2-louisa-final line 72 MARTIN_GRADIENTENSE line 72 jacopo.otherness.def line 72 kendalpatch line 73 2-louisa-final line 73 MARTIN_GRADIENTENSE line 73 jacopo.otherness.def line 73 kendalpatch
In [43]:
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("quilts/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 [ ]: