Showing
1 changed file
with
1 additions
and
3 deletions
... | @@ -126,6 +126,4 @@ def GetData(): | ... | @@ -126,6 +126,4 @@ def GetData(): |
126 | with open('data.txt', 'w', encoding='utf-8-sig') as txt_file: | 126 | with open('data.txt', 'w', encoding='utf-8-sig') as txt_file: |
127 | for post in zip(post_df['title'].tolist(), post_df['content'].tolist()): | 127 | for post in zip(post_df['title'].tolist(), post_df['content'].tolist()): |
128 | txt_file.write(post[0] + post[1] + '.\n') | 128 | txt_file.write(post[0] + post[1] + '.\n') |
129 | - print("txt file saved") | ||
130 | - | ||
131 | -GetData() | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
129 | + print("txt file saved") | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment