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.

41 KiB

In [10]:
quilt = [
["louisa-patch-update","Camilo","floor6","Camilo"],
["kendalpatch","jacopo.patch (1)", "patcherico","martinpath_OK THIS IS THE GOOD ONE"],
["euna_dotdot","patchclara","number-patch","patcherico"],
["louisa-patch-update","number-patch", "Camilo","kendalpatch"],
]
In [11]:
quilt
Out[11]:
[['louisa-patch-update', 'Camilo', 'floor6', 'Camilo'],
 ['kendalpatch',
  'jacopo.patch (1)',
  'patcherico',
  'martinpath_OK THIS IS THE GOOD ONE'],
 ['euna_dotdot', 'patchclara', 'number-patch', 'patcherico'],
 ['louisa-patch-update', 'number-patch', 'Camilo', 'kendalpatch']]
In [12]:
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 louisa-patch-update
line 0 Camilo
line 0 floor6
line 0 Camilo
line 1 louisa-patch-update
line 1 Camilo
line 1 floor6
line 1 Camilo
line 2 louisa-patch-update
line 2 Camilo
line 2 floor6
line 2 Camilo
line 3 louisa-patch-update
line 3 Camilo
line 3 floor6
line 3 Camilo
line 4 louisa-patch-update
line 4 Camilo
line 4 floor6
line 4 Camilo
line 5 louisa-patch-update
line 5 Camilo
line 5 floor6
line 5 Camilo
line 6 louisa-patch-update
line 6 Camilo
line 6 floor6
line 6 Camilo
line 7 louisa-patch-update
line 7 Camilo
line 7 floor6
line 7 Camilo
line 8 louisa-patch-update
line 8 Camilo
line 8 floor6
line 8 Camilo
line 9 louisa-patch-update
line 9 Camilo
line 9 floor6
line 9 Camilo
line 10 louisa-patch-update
line 10 Camilo
line 10 floor6
line 10 Camilo
line 11 louisa-patch-update
line 11 Camilo
line 11 floor6
line 11 Camilo
line 12 louisa-patch-update
line 12 Camilo
line 12 floor6
line 12 Camilo
line 13 louisa-patch-update
line 13 Camilo
line 13 floor6
line 13 Camilo
line 14 louisa-patch-update
line 14 Camilo
line 14 floor6
line 14 Camilo
line 15 louisa-patch-update
line 15 Camilo
line 15 floor6
line 15 Camilo
line 16 louisa-patch-update
line 16 Camilo
line 16 floor6
line 16 Camilo
line 17 louisa-patch-update
line 17 Camilo
line 17 floor6
line 17 Camilo
line 18 louisa-patch-update
line 18 Camilo
line 18 floor6
line 18 Camilo
line 19 louisa-patch-update
line 19 Camilo
line 19 floor6
line 19 Camilo
line 20 louisa-patch-update
line 20 Camilo
line 20 floor6
line 20 Camilo
line 21 louisa-patch-update
line 21 Camilo
line 21 floor6
line 21 Camilo
line 22 louisa-patch-update
line 22 Camilo
line 22 floor6
line 22 Camilo
line 23 louisa-patch-update
line 23 Camilo
line 23 floor6
line 23 Camilo
line 24 louisa-patch-update
line 24 Camilo
line 24 floor6
line 24 Camilo
line 25 louisa-patch-update
line 25 Camilo
line 25 floor6
line 25 Camilo
line 26 louisa-patch-update
line 26 Camilo
line 26 floor6
line 26 Camilo
line 27 louisa-patch-update
line 27 Camilo
line 27 floor6
line 27 Camilo
line 28 louisa-patch-update
line 28 Camilo
line 28 floor6
line 28 Camilo
line 29 louisa-patch-update
line 29 Camilo
line 29 floor6
line 29 Camilo
line 30 louisa-patch-update
line 30 Camilo
line 30 floor6
line 30 Camilo
line 31 louisa-patch-update
line 31 Camilo
line 31 floor6
line 31 Camilo
line 32 louisa-patch-update
line 32 Camilo
line 32 floor6
line 32 Camilo
line 33 louisa-patch-update
line 33 Camilo
line 33 floor6
line 33 Camilo
line 34 louisa-patch-update
line 34 Camilo
line 34 floor6
line 34 Camilo
line 35 louisa-patch-update
line 35 Camilo
line 35 floor6
line 35 Camilo
line 36 louisa-patch-update
line 36 Camilo
line 36 floor6
line 36 Camilo
line 37 louisa-patch-update
line 37 Camilo
line 37 floor6
line 37 Camilo
line 38 louisa-patch-update
line 38 Camilo
line 38 floor6
line 38 Camilo
line 39 louisa-patch-update
line 39 Camilo
line 39 floor6
line 39 Camilo
line 40 louisa-patch-update
line 40 Camilo
line 40 floor6
line 40 Camilo
line 41 louisa-patch-update
line 41 Camilo
line 41 floor6
line 41 Camilo
line 42 louisa-patch-update
line 42 Camilo
line 42 floor6
line 42 Camilo
line 43 louisa-patch-update
line 43 Camilo
line 43 floor6
line 43 Camilo
line 44 louisa-patch-update
line 44 Camilo
line 44 floor6
line 44 Camilo
line 45 louisa-patch-update
line 45 Camilo
line 45 floor6
line 45 Camilo
line 46 louisa-patch-update
line 46 Camilo
line 46 floor6
line 46 Camilo
line 47 louisa-patch-update
line 47 Camilo
line 47 floor6
line 47 Camilo
line 48 louisa-patch-update
line 48 Camilo
line 48 floor6
line 48 Camilo
line 49 louisa-patch-update
line 49 Camilo
line 49 floor6
line 49 Camilo
line 50 louisa-patch-update
line 50 Camilo
line 50 floor6
line 50 Camilo
line 51 louisa-patch-update
line 51 Camilo
line 51 floor6
line 51 Camilo
line 52 louisa-patch-update
line 52 Camilo
line 52 floor6
line 52 Camilo
line 53 louisa-patch-update
line 53 Camilo
line 53 floor6
line 53 Camilo
line 54 louisa-patch-update
line 54 Camilo
line 54 floor6
line 54 Camilo
line 55 louisa-patch-update
line 55 Camilo
line 55 floor6
line 55 Camilo
line 56 louisa-patch-update
line 56 Camilo
line 56 floor6
line 56 Camilo
line 57 louisa-patch-update
line 57 Camilo
line 57 floor6
line 57 Camilo
line 58 louisa-patch-update
line 58 Camilo
line 58 floor6
line 58 Camilo
line 59 louisa-patch-update
line 59 Camilo
line 59 floor6
line 59 Camilo
line 60 louisa-patch-update
line 60 Camilo
line 60 floor6
line 60 Camilo
line 61 louisa-patch-update
line 61 Camilo
line 61 floor6
line 61 Camilo
line 62 louisa-patch-update
line 62 Camilo
line 62 floor6
line 62 Camilo
line 63 louisa-patch-update
line 63 Camilo
line 63 floor6
line 63 Camilo
line 64 louisa-patch-update
line 64 Camilo
line 64 floor6
line 64 Camilo
line 65 louisa-patch-update
line 65 Camilo
line 65 floor6
line 65 Camilo
line 66 louisa-patch-update
line 66 Camilo
line 66 floor6
line 66 Camilo
line 67 louisa-patch-update
line 67 Camilo
line 67 floor6
line 67 Camilo
line 68 louisa-patch-update
line 68 Camilo
line 68 floor6
line 68 Camilo
line 69 louisa-patch-update
line 69 Camilo
line 69 floor6
line 69 Camilo
line 70 louisa-patch-update
line 70 Camilo
line 70 floor6
line 70 Camilo
line 71 louisa-patch-update
line 71 Camilo
line 71 floor6
line 71 Camilo
line 72 louisa-patch-update
line 72 Camilo
line 72 floor6
line 72 Camilo
line 73 louisa-patch-update
line 73 Camilo
line 73 floor6
line 73 Camilo
line 0 kendalpatch
line 0 jacopo.patch (1)
line 0 patcherico
line 0 martinpath_OK THIS IS THE GOOD ONE
line 1 kendalpatch
line 1 jacopo.patch (1)
line 1 patcherico
line 1 martinpath_OK THIS IS THE GOOD ONE
line 2 kendalpatch
line 2 jacopo.patch (1)
line 2 patcherico
line 2 martinpath_OK THIS IS THE GOOD ONE
line 3 kendalpatch
line 3 jacopo.patch (1)
line 3 patcherico
line 3 martinpath_OK THIS IS THE GOOD ONE
line 4 kendalpatch
line 4 jacopo.patch (1)
line 4 patcherico
line 4 martinpath_OK THIS IS THE GOOD ONE
line 5 kendalpatch
line 5 jacopo.patch (1)
line 5 patcherico
line 5 martinpath_OK THIS IS THE GOOD ONE
line 6 kendalpatch
line 6 jacopo.patch (1)
line 6 patcherico
line 6 martinpath_OK THIS IS THE GOOD ONE
line 7 kendalpatch
line 7 jacopo.patch (1)
line 7 patcherico
line 7 martinpath_OK THIS IS THE GOOD ONE
line 8 kendalpatch
line 8 jacopo.patch (1)
line 8 patcherico
line 8 martinpath_OK THIS IS THE GOOD ONE
line 9 kendalpatch
line 9 jacopo.patch (1)
line 9 patcherico
line 9 martinpath_OK THIS IS THE GOOD ONE
line 10 kendalpatch
line 10 jacopo.patch (1)
line 10 patcherico
line 10 martinpath_OK THIS IS THE GOOD ONE
line 11 kendalpatch
line 11 jacopo.patch (1)
line 11 patcherico
line 11 martinpath_OK THIS IS THE GOOD ONE
line 12 kendalpatch
line 12 jacopo.patch (1)
line 12 patcherico
line 12 martinpath_OK THIS IS THE GOOD ONE
line 13 kendalpatch
line 13 jacopo.patch (1)
line 13 patcherico
line 13 martinpath_OK THIS IS THE GOOD ONE
line 14 kendalpatch
line 14 jacopo.patch (1)
line 14 patcherico
line 14 martinpath_OK THIS IS THE GOOD ONE
line 15 kendalpatch
line 15 jacopo.patch (1)
line 15 patcherico
line 15 martinpath_OK THIS IS THE GOOD ONE
line 16 kendalpatch
line 16 jacopo.patch (1)
line 16 patcherico
line 16 martinpath_OK THIS IS THE GOOD ONE
line 17 kendalpatch
line 17 jacopo.patch (1)
line 17 patcherico
line 17 martinpath_OK THIS IS THE GOOD ONE
line 18 kendalpatch
line 18 jacopo.patch (1)
line 18 patcherico
line 18 martinpath_OK THIS IS THE GOOD ONE
line 19 kendalpatch
line 19 jacopo.patch (1)
line 19 patcherico
line 19 martinpath_OK THIS IS THE GOOD ONE
line 20 kendalpatch
line 20 jacopo.patch (1)
line 20 patcherico
line 20 martinpath_OK THIS IS THE GOOD ONE
line 21 kendalpatch
line 21 jacopo.patch (1)
line 21 patcherico
line 21 martinpath_OK THIS IS THE GOOD ONE
line 22 kendalpatch
line 22 jacopo.patch (1)
line 22 patcherico
line 22 martinpath_OK THIS IS THE GOOD ONE
line 23 kendalpatch
line 23 jacopo.patch (1)
line 23 patcherico
line 23 martinpath_OK THIS IS THE GOOD ONE
line 24 kendalpatch
line 24 jacopo.patch (1)
line 24 patcherico
line 24 martinpath_OK THIS IS THE GOOD ONE
line 25 kendalpatch
line 25 jacopo.patch (1)
line 25 patcherico
line 25 martinpath_OK THIS IS THE GOOD ONE
line 26 kendalpatch
line 26 jacopo.patch (1)
line 26 patcherico
line 26 martinpath_OK THIS IS THE GOOD ONE
line 27 kendalpatch
line 27 jacopo.patch (1)
line 27 patcherico
line 27 martinpath_OK THIS IS THE GOOD ONE
line 28 kendalpatch
line 28 jacopo.patch (1)
line 28 patcherico
line 28 martinpath_OK THIS IS THE GOOD ONE
line 29 kendalpatch
line 29 jacopo.patch (1)
line 29 patcherico
line 29 martinpath_OK THIS IS THE GOOD ONE
line 30 kendalpatch
line 30 jacopo.patch (1)
line 30 patcherico
line 30 martinpath_OK THIS IS THE GOOD ONE
line 31 kendalpatch
line 31 jacopo.patch (1)
line 31 patcherico
line 31 martinpath_OK THIS IS THE GOOD ONE
line 32 kendalpatch
line 32 jacopo.patch (1)
line 32 patcherico
line 32 martinpath_OK THIS IS THE GOOD ONE
line 33 kendalpatch
line 33 jacopo.patch (1)
line 33 patcherico
line 33 martinpath_OK THIS IS THE GOOD ONE
line 34 kendalpatch
line 34 jacopo.patch (1)
line 34 patcherico
line 34 martinpath_OK THIS IS THE GOOD ONE
line 35 kendalpatch
line 35 jacopo.patch (1)
line 35 patcherico
line 35 martinpath_OK THIS IS THE GOOD ONE
line 36 kendalpatch
line 36 jacopo.patch (1)
line 36 patcherico
line 36 martinpath_OK THIS IS THE GOOD ONE
line 37 kendalpatch
line 37 jacopo.patch (1)
line 37 patcherico
line 37 martinpath_OK THIS IS THE GOOD ONE
line 38 kendalpatch
line 38 jacopo.patch (1)
line 38 patcherico
line 38 martinpath_OK THIS IS THE GOOD ONE
line 39 kendalpatch
line 39 jacopo.patch (1)
line 39 patcherico
line 39 martinpath_OK THIS IS THE GOOD ONE
line 40 kendalpatch
line 40 jacopo.patch (1)
line 40 patcherico
line 40 martinpath_OK THIS IS THE GOOD ONE
line 41 kendalpatch
line 41 jacopo.patch (1)
line 41 patcherico
line 41 martinpath_OK THIS IS THE GOOD ONE
line 42 kendalpatch
line 42 jacopo.patch (1)
line 42 patcherico
line 42 martinpath_OK THIS IS THE GOOD ONE
line 43 kendalpatch
line 43 jacopo.patch (1)
line 43 patcherico
line 43 martinpath_OK THIS IS THE GOOD ONE
line 44 kendalpatch
line 44 jacopo.patch (1)
line 44 patcherico
line 44 martinpath_OK THIS IS THE GOOD ONE
line 45 kendalpatch
line 45 jacopo.patch (1)
line 45 patcherico
line 45 martinpath_OK THIS IS THE GOOD ONE
line 46 kendalpatch
line 46 jacopo.patch (1)
line 46 patcherico
line 46 martinpath_OK THIS IS THE GOOD ONE
line 47 kendalpatch
line 47 jacopo.patch (1)
line 47 patcherico
line 47 martinpath_OK THIS IS THE GOOD ONE
line 48 kendalpatch
line 48 jacopo.patch (1)
line 48 patcherico
line 48 martinpath_OK THIS IS THE GOOD ONE
line 49 kendalpatch
line 49 jacopo.patch (1)
line 49 patcherico
line 49 martinpath_OK THIS IS THE GOOD ONE
line 50 kendalpatch
line 50 jacopo.patch (1)
line 50 patcherico
line 50 martinpath_OK THIS IS THE GOOD ONE
line 51 kendalpatch
line 51 jacopo.patch (1)
line 51 patcherico
line 51 martinpath_OK THIS IS THE GOOD ONE
line 52 kendalpatch
line 52 jacopo.patch (1)
line 52 patcherico
line 52 martinpath_OK THIS IS THE GOOD ONE
line 53 kendalpatch
line 53 jacopo.patch (1)
line 53 patcherico
line 53 martinpath_OK THIS IS THE GOOD ONE
line 54 kendalpatch
line 54 jacopo.patch (1)
line 54 patcherico
line 54 martinpath_OK THIS IS THE GOOD ONE
line 55 kendalpatch
line 55 jacopo.patch (1)
line 55 patcherico
line 55 martinpath_OK THIS IS THE GOOD ONE
line 56 kendalpatch
line 56 jacopo.patch (1)
line 56 patcherico
line 56 martinpath_OK THIS IS THE GOOD ONE
line 57 kendalpatch
line 57 jacopo.patch (1)
line 57 patcherico
line 57 martinpath_OK THIS IS THE GOOD ONE
line 58 kendalpatch
line 58 jacopo.patch (1)
line 58 patcherico
line 58 martinpath_OK THIS IS THE GOOD ONE
line 59 kendalpatch
line 59 jacopo.patch (1)
line 59 patcherico
line 59 martinpath_OK THIS IS THE GOOD ONE
line 60 kendalpatch
line 60 jacopo.patch (1)
line 60 patcherico
line 60 martinpath_OK THIS IS THE GOOD ONE
line 61 kendalpatch
line 61 jacopo.patch (1)
line 61 patcherico
line 61 martinpath_OK THIS IS THE GOOD ONE
line 62 kendalpatch
line 62 jacopo.patch (1)
line 62 patcherico
line 62 martinpath_OK THIS IS THE GOOD ONE
line 63 kendalpatch
line 63 jacopo.patch (1)
line 63 patcherico
line 63 martinpath_OK THIS IS THE GOOD ONE
line 64 kendalpatch
line 64 jacopo.patch (1)
line 64 patcherico
line 64 martinpath_OK THIS IS THE GOOD ONE
line 65 kendalpatch
line 65 jacopo.patch (1)
line 65 patcherico
line 65 martinpath_OK THIS IS THE GOOD ONE
line 66 kendalpatch
line 66 jacopo.patch (1)
line 66 patcherico
line 66 martinpath_OK THIS IS THE GOOD ONE
line 67 kendalpatch
line 67 jacopo.patch (1)
line 67 patcherico
line 67 martinpath_OK THIS IS THE GOOD ONE
line 68 kendalpatch
line 68 jacopo.patch (1)
line 68 patcherico
line 68 martinpath_OK THIS IS THE GOOD ONE
line 69 kendalpatch
line 69 jacopo.patch (1)
line 69 patcherico
line 69 martinpath_OK THIS IS THE GOOD ONE
line 70 kendalpatch
line 70 jacopo.patch (1)
line 70 patcherico
line 70 martinpath_OK THIS IS THE GOOD ONE
line 71 kendalpatch
line 71 jacopo.patch (1)
line 71 patcherico
line 71 martinpath_OK THIS IS THE GOOD ONE
line 72 kendalpatch
line 72 jacopo.patch (1)
line 72 patcherico
line 72 martinpath_OK THIS IS THE GOOD ONE
line 73 kendalpatch
line 73 jacopo.patch (1)
line 73 patcherico
line 73 martinpath_OK THIS IS THE GOOD ONE
line 0 euna_dotdot
line 0 patchclara
line 0 number-patch
line 0 patcherico
line 1 euna_dotdot
line 1 patchclara
line 1 number-patch
line 1 patcherico
line 2 euna_dotdot
line 2 patchclara
line 2 number-patch
line 2 patcherico
line 3 euna_dotdot
line 3 patchclara
line 3 number-patch
line 3 patcherico
line 4 euna_dotdot
line 4 patchclara
line 4 number-patch
line 4 patcherico
line 5 euna_dotdot
line 5 patchclara
line 5 number-patch
line 5 patcherico
line 6 euna_dotdot
line 6 patchclara
line 6 number-patch
line 6 patcherico
line 7 euna_dotdot
line 7 patchclara
line 7 number-patch
line 7 patcherico
line 8 euna_dotdot
line 8 patchclara
line 8 number-patch
line 8 patcherico
line 9 euna_dotdot
line 9 patchclara
line 9 number-patch
line 9 patcherico
line 10 euna_dotdot
line 10 patchclara
line 10 number-patch
line 10 patcherico
line 11 euna_dotdot
line 11 patchclara
line 11 number-patch
line 11 patcherico
line 12 euna_dotdot
line 12 patchclara
line 12 number-patch
line 12 patcherico
line 13 euna_dotdot
line 13 patchclara
line 13 number-patch
line 13 patcherico
line 14 euna_dotdot
line 14 patchclara
line 14 number-patch
line 14 patcherico
line 15 euna_dotdot
line 15 patchclara
line 15 number-patch
line 15 patcherico
line 16 euna_dotdot
line 16 patchclara
line 16 number-patch
line 16 patcherico
line 17 euna_dotdot
line 17 patchclara
line 17 number-patch
line 17 patcherico
line 18 euna_dotdot
line 18 patchclara
line 18 number-patch
line 18 patcherico
line 19 euna_dotdot
line 19 patchclara
line 19 number-patch
line 19 patcherico
line 20 euna_dotdot
line 20 patchclara
line 20 number-patch
line 20 patcherico
line 21 euna_dotdot
line 21 patchclara
line 21 number-patch
line 21 patcherico
line 22 euna_dotdot
line 22 patchclara
line 22 number-patch
line 22 patcherico
line 23 euna_dotdot
line 23 patchclara
line 23 number-patch
line 23 patcherico
line 24 euna_dotdot
line 24 patchclara
line 24 number-patch
line 24 patcherico
line 25 euna_dotdot
line 25 patchclara
line 25 number-patch
line 25 patcherico
line 26 euna_dotdot
line 26 patchclara
line 26 number-patch
line 26 patcherico
line 27 euna_dotdot
line 27 patchclara
line 27 number-patch
line 27 patcherico
line 28 euna_dotdot
line 28 patchclara
line 28 number-patch
line 28 patcherico
line 29 euna_dotdot
line 29 patchclara
line 29 number-patch
line 29 patcherico
line 30 euna_dotdot
line 30 patchclara
line 30 number-patch
line 30 patcherico
line 31 euna_dotdot
line 31 patchclara
line 31 number-patch
line 31 patcherico
line 32 euna_dotdot
line 32 patchclara
line 32 number-patch
line 32 patcherico
line 33 euna_dotdot
line 33 patchclara
line 33 number-patch
line 33 patcherico
line 34 euna_dotdot
line 34 patchclara
line 34 number-patch
line 34 patcherico
line 35 euna_dotdot
line 35 patchclara
line 35 number-patch
line 35 patcherico
line 36 euna_dotdot
line 36 patchclara
line 36 number-patch
line 36 patcherico
line 37 euna_dotdot
line 37 patchclara
line 37 number-patch
line 37 patcherico
line 38 euna_dotdot
line 38 patchclara
line 38 number-patch
line 38 patcherico
line 39 euna_dotdot
line 39 patchclara
line 39 number-patch
line 39 patcherico
line 40 euna_dotdot
line 40 patchclara
line 40 number-patch
line 40 patcherico
line 41 euna_dotdot
line 41 patchclara
line 41 number-patch
line 41 patcherico
line 42 euna_dotdot
line 42 patchclara
line 42 number-patch
line 42 patcherico
line 43 euna_dotdot
line 43 patchclara
line 43 number-patch
line 43 patcherico
line 44 euna_dotdot
line 44 patchclara
line 44 number-patch
line 44 patcherico
line 45 euna_dotdot
line 45 patchclara
line 45 number-patch
line 45 patcherico
line 46 euna_dotdot
line 46 patchclara
line 46 number-patch
line 46 patcherico
line 47 euna_dotdot
line 47 patchclara
line 47 number-patch
line 47 patcherico
line 48 euna_dotdot
line 48 patchclara
line 48 number-patch
line 48 patcherico
line 49 euna_dotdot
line 49 patchclara
line 49 number-patch
line 49 patcherico
line 50 euna_dotdot
line 50 patchclara
line 50 number-patch
line 50 patcherico
line 51 euna_dotdot
line 51 patchclara
line 51 number-patch
line 51 patcherico
line 52 euna_dotdot
line 52 patchclara
line 52 number-patch
line 52 patcherico
line 53 euna_dotdot
line 53 patchclara
line 53 number-patch
line 53 patcherico
line 54 euna_dotdot
line 54 patchclara
line 54 number-patch
line 54 patcherico
line 55 euna_dotdot
line 55 patchclara
line 55 number-patch
line 55 patcherico
line 56 euna_dotdot
line 56 patchclara
line 56 number-patch
line 56 patcherico
line 57 euna_dotdot
line 57 patchclara
line 57 number-patch
line 57 patcherico
line 58 euna_dotdot
line 58 patchclara
line 58 number-patch
line 58 patcherico
line 59 euna_dotdot
line 59 patchclara
line 59 number-patch
line 59 patcherico
line 60 euna_dotdot
line 60 patchclara
line 60 number-patch
line 60 patcherico
line 61 euna_dotdot
line 61 patchclara
line 61 number-patch
line 61 patcherico
line 62 euna_dotdot
line 62 patchclara
line 62 number-patch
line 62 patcherico
line 63 euna_dotdot
line 63 patchclara
line 63 number-patch
line 63 patcherico
line 64 euna_dotdot
line 64 patchclara
line 64 number-patch
line 64 patcherico
line 65 euna_dotdot
line 65 patchclara
line 65 number-patch
line 65 patcherico
line 66 euna_dotdot
line 66 patchclara
line 66 number-patch
line 66 patcherico
line 67 euna_dotdot
line 67 patchclara
line 67 number-patch
line 67 patcherico
line 68 euna_dotdot
line 68 patchclara
line 68 number-patch
line 68 patcherico
line 69 euna_dotdot
line 69 patchclara
line 69 number-patch
line 69 patcherico
line 70 euna_dotdot
line 70 patchclara
line 70 number-patch
line 70 patcherico
line 71 euna_dotdot
line 71 patchclara
line 71 number-patch
line 71 patcherico
line 72 euna_dotdot
line 72 patchclara
line 72 number-patch
line 72 patcherico
line 73 euna_dotdot
line 73 patchclara
line 73 number-patch
line 73 patcherico
line 0 louisa-patch-update
line 0 number-patch
line 0 Camilo
line 0 kendalpatch
line 1 louisa-patch-update
line 1 number-patch
line 1 Camilo
line 1 kendalpatch
line 2 louisa-patch-update
line 2 number-patch
line 2 Camilo
line 2 kendalpatch
line 3 louisa-patch-update
line 3 number-patch
line 3 Camilo
line 3 kendalpatch
line 4 louisa-patch-update
line 4 number-patch
line 4 Camilo
line 4 kendalpatch
line 5 louisa-patch-update
line 5 number-patch
line 5 Camilo
line 5 kendalpatch
line 6 louisa-patch-update
line 6 number-patch
line 6 Camilo
line 6 kendalpatch
line 7 louisa-patch-update
line 7 number-patch
line 7 Camilo
line 7 kendalpatch
line 8 louisa-patch-update
line 8 number-patch
line 8 Camilo
line 8 kendalpatch
line 9 louisa-patch-update
line 9 number-patch
line 9 Camilo
line 9 kendalpatch
line 10 louisa-patch-update
line 10 number-patch
line 10 Camilo
line 10 kendalpatch
line 11 louisa-patch-update
line 11 number-patch
line 11 Camilo
line 11 kendalpatch
line 12 louisa-patch-update
line 12 number-patch
line 12 Camilo
line 12 kendalpatch
line 13 louisa-patch-update
line 13 number-patch
line 13 Camilo
line 13 kendalpatch
line 14 louisa-patch-update
line 14 number-patch
line 14 Camilo
line 14 kendalpatch
line 15 louisa-patch-update
line 15 number-patch
line 15 Camilo
line 15 kendalpatch
line 16 louisa-patch-update
line 16 number-patch
line 16 Camilo
line 16 kendalpatch
line 17 louisa-patch-update
line 17 number-patch
line 17 Camilo
line 17 kendalpatch
line 18 louisa-patch-update
line 18 number-patch
line 18 Camilo
line 18 kendalpatch
line 19 louisa-patch-update
line 19 number-patch
line 19 Camilo
line 19 kendalpatch
line 20 louisa-patch-update
line 20 number-patch
line 20 Camilo
line 20 kendalpatch
line 21 louisa-patch-update
line 21 number-patch
line 21 Camilo
line 21 kendalpatch
line 22 louisa-patch-update
line 22 number-patch
line 22 Camilo
line 22 kendalpatch
line 23 louisa-patch-update
line 23 number-patch
line 23 Camilo
line 23 kendalpatch
line 24 louisa-patch-update
line 24 number-patch
line 24 Camilo
line 24 kendalpatch
line 25 louisa-patch-update
line 25 number-patch
line 25 Camilo
line 25 kendalpatch
line 26 louisa-patch-update
line 26 number-patch
line 26 Camilo
line 26 kendalpatch
line 27 louisa-patch-update
line 27 number-patch
line 27 Camilo
line 27 kendalpatch
line 28 louisa-patch-update
line 28 number-patch
line 28 Camilo
line 28 kendalpatch
line 29 louisa-patch-update
line 29 number-patch
line 29 Camilo
line 29 kendalpatch
line 30 louisa-patch-update
line 30 number-patch
line 30 Camilo
line 30 kendalpatch
line 31 louisa-patch-update
line 31 number-patch
line 31 Camilo
line 31 kendalpatch
line 32 louisa-patch-update
line 32 number-patch
line 32 Camilo
line 32 kendalpatch
line 33 louisa-patch-update
line 33 number-patch
line 33 Camilo
line 33 kendalpatch
line 34 louisa-patch-update
line 34 number-patch
line 34 Camilo
line 34 kendalpatch
line 35 louisa-patch-update
line 35 number-patch
line 35 Camilo
line 35 kendalpatch
line 36 louisa-patch-update
line 36 number-patch
line 36 Camilo
line 36 kendalpatch
line 37 louisa-patch-update
line 37 number-patch
line 37 Camilo
line 37 kendalpatch
line 38 louisa-patch-update
line 38 number-patch
line 38 Camilo
line 38 kendalpatch
line 39 louisa-patch-update
line 39 number-patch
line 39 Camilo
line 39 kendalpatch
line 40 louisa-patch-update
line 40 number-patch
line 40 Camilo
line 40 kendalpatch
line 41 louisa-patch-update
line 41 number-patch
line 41 Camilo
line 41 kendalpatch
line 42 louisa-patch-update
line 42 number-patch
line 42 Camilo
line 42 kendalpatch
line 43 louisa-patch-update
line 43 number-patch
line 43 Camilo
line 43 kendalpatch
line 44 louisa-patch-update
line 44 number-patch
line 44 Camilo
line 44 kendalpatch
line 45 louisa-patch-update
line 45 number-patch
line 45 Camilo
line 45 kendalpatch
line 46 louisa-patch-update
line 46 number-patch
line 46 Camilo
line 46 kendalpatch
line 47 louisa-patch-update
line 47 number-patch
line 47 Camilo
line 47 kendalpatch
line 48 louisa-patch-update
line 48 number-patch
line 48 Camilo
line 48 kendalpatch
line 49 louisa-patch-update
line 49 number-patch
line 49 Camilo
line 49 kendalpatch
line 50 louisa-patch-update
line 50 number-patch
line 50 Camilo
line 50 kendalpatch
line 51 louisa-patch-update
line 51 number-patch
line 51 Camilo
line 51 kendalpatch
line 52 louisa-patch-update
line 52 number-patch
line 52 Camilo
line 52 kendalpatch
line 53 louisa-patch-update
line 53 number-patch
line 53 Camilo
line 53 kendalpatch
line 54 louisa-patch-update
line 54 number-patch
line 54 Camilo
line 54 kendalpatch
line 55 louisa-patch-update
line 55 number-patch
line 55 Camilo
line 55 kendalpatch
line 56 louisa-patch-update
line 56 number-patch
line 56 Camilo
line 56 kendalpatch
line 57 louisa-patch-update
line 57 number-patch
line 57 Camilo
line 57 kendalpatch
line 58 louisa-patch-update
line 58 number-patch
line 58 Camilo
line 58 kendalpatch
line 59 louisa-patch-update
line 59 number-patch
line 59 Camilo
line 59 kendalpatch
line 60 louisa-patch-update
line 60 number-patch
line 60 Camilo
line 60 kendalpatch
line 61 louisa-patch-update
line 61 number-patch
line 61 Camilo
line 61 kendalpatch
line 62 louisa-patch-update
line 62 number-patch
line 62 Camilo
line 62 kendalpatch
line 63 louisa-patch-update
line 63 number-patch
line 63 Camilo
line 63 kendalpatch
line 64 louisa-patch-update
line 64 number-patch
line 64 Camilo
line 64 kendalpatch
line 65 louisa-patch-update
line 65 number-patch
line 65 Camilo
line 65 kendalpatch
line 66 louisa-patch-update
line 66 number-patch
line 66 Camilo
line 66 kendalpatch
line 67 louisa-patch-update
line 67 number-patch
line 67 Camilo
line 67 kendalpatch
line 68 louisa-patch-update
line 68 number-patch
line 68 Camilo
line 68 kendalpatch
line 69 louisa-patch-update
line 69 number-patch
line 69 Camilo
line 69 kendalpatch
line 70 louisa-patch-update
line 70 number-patch
line 70 Camilo
line 70 kendalpatch
line 71 louisa-patch-update
line 71 number-patch
line 71 Camilo
line 71 kendalpatch
line 72 louisa-patch-update
line 72 number-patch
line 72 Camilo
line 72 kendalpatch
line 73 louisa-patch-update
line 73 number-patch
line 73 Camilo
line 73 kendalpatch
In [13]:
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("quilt2.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.drawCentredString(pagewidth/2, y, line)
    y += lineheight

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