We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d8d93 commit 03223f8Copy full SHA for 03223f8
file_IO_Translator.py
@@ -5,6 +5,7 @@
5
with open('./test.txt', mode='r') as my_file:
6
text = my_file.read()
7
translation = translator.translate(text)
8
- print(translation)
+ with open('./test-ja.txt', mode='w') as my_file2:
9
+ my_file2.write(translation)
10
except FileNotFoundError as e:
- print('check your file path!')
11
+ print('check your file path!')
0 commit comments