Advertisement
skip420

LFmembers

Jun 14th, 2022
814
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.01 KB | None | 0 0
  1. # Game Members gaming responsibilities and duties
  2.  
  3. # takes font from two text files then reads and then writes to a json file
  4. # python3 members.py
  5.  
  6. # Python program to
  7. # demonstrate merging of
  8. # two files
  9. import random  
  10. with open("file1.txt") as f1, open("file2.txt") as f2, open("saveduties.json", "w") as f3:
  11.         for x, y in zip(f1, f2):
  12.              f3.write(x.strip() + " " + y.strip() + '\n')
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. #file1.txt
  24.  
  25. EmotionalDamage
  26. ShrekDaFknBoss
  27. RobinWee
  28. proxywar
  29. Lendice
  30. MikasSa
  31. arowak
  32. CamCam17
  33. DaphneStorm
  34. Prostar190
  35. vivor04ea6128
  36. WilkyBMF
  37. PPKR55
  38. WorldInYourHand
  39. Zalbert
  40. Dunca
  41. Hunzor1986
  42. Jonell
  43. LastForest
  44. TedNugget
  45. Mazha05
  46. Autolike
  47. Misteroic
  48. Dark_Forces
  49. Dogdoc14
  50. Zixxzy
  51. DeezeNutz247
  52. Backabezo
  53. Magz007
  54. -Wolf-
  55. Shea_
  56. OhmyDog
  57. xDDD_tm
  58. BuluBebek
  59. BeeKay
  60. Shawks13
  61. CemetaryGates
  62. 2Abcdulhamid
  63. Gaurie
  64. KuramaYusuke
  65. Mteles
  66. Mnadas
  67. Stevego
  68. Prisma
  69. Caglar82
  70. Jabzet1
  71. Monti-Lond
  72. Tjelta
  73. CrazyDriver
  74. kopassus
  75. SaripDol
  76. MTJ
  77. Dextopie007
  78. Bad_Wolf
  79. Dcyril13
  80. Raph22
  81. BolthorRigby
  82. Prodigy1914
  83. Potter
  84. Christian1984
  85. YeLay
  86. Eljaaay
  87. Magiq
  88. LeonSicario
  89. Jo_Ana
  90. QueenBee3
  91. Cap_Mifune
  92. Maverickz
  93. DeepUnderground
  94. Raguel
  95. EaiGusta
  96. MannyAk
  97. Rii
  98. sasamin
  99. justjess
  100. Mxra
  101. Nitin
  102. Tritan_Liam
  103. XxMinxX
  104. JCZone
  105. YouthL
  106. fatetulhm214
  107. Jormundgander
  108. HUNKriszta
  109. Tr1gg3rH4ppyBruh
  110. bispo72
  111.  
  112.  
  113. # file2.txt
  114.  
  115. war
  116. attack and plunder
  117. attack city
  118. attack mutants
  119. guard_garrison
  120. iron_stone mine for 5 hours
  121. Rube'ai_Khali
  122. Kavir
  123. Damietta
  124. Game designer
  125. Game artist
  126. Sound engineer
  127. Game programmer
  128. Game level designer
  129. Game tester
  130. Game producer
  131. spy
  132. investor
  133. DEFENDER    
  134. Centre-back
  135. Full-back
  136. Full-back (Right-back)
  137. Full-back (Left-back)
  138. Winger
  139. Right Winger
  140. Left Winger
  141. Strike Force
  142. Defensive Measure
  143. Propagandist
  144. influencer
  145. proxy war starter
  146. hunt
  147. harrass some random alliance member
  148. assistant manager
  149. assitant diplomat
  150. assistant general secretary
  151. airbourne
  152. rescue
  153. security advisor
  154.  
  155.  
  156. # saves members and their duties here saveduties.json
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement