Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with thiS:
- with zipfile.ZipFile(outputFilename, "w") as zf:
- apu3 = formatLines(lists[2])
- zf.writestr("words_3.txt", "\n" + apu3)
- I get this output:
- words_3.txt
- age all and and and
- and and and and and
- but but can dav eit
- end ers for for fre
- gen has has he
- his
- his is
- is
- men not
- of
- off old one pe
- sex six six the the
- the the the the the
- the the the the the
- the to
- with this:
- with zipfile.ZipFile(outputFilename, "w") as zf:
- apu2 = formatLines(lists[1])
- zf.writestr("words_2.txt", "\n" + apu2)
- I get this:
- words_2.txt
- as as as as be
- by do he in in
- in in in in in
- is is is is is
- is is is is it
- it lo of of of
- of of of of of
- or or re to to
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement