+ 1

How to print output of the python script into a text file i am new to sys module

4th Sep 2018, 10:15 AM
Ashraf ali
Ashraf ali - avatar
2 Réponses
+ 5
print('Hello World', file=your_file)
4th Sep 2018, 10:39 AM
Mert Yazıcı
Mert Yazıcı - avatar
4th Sep 2018, 10:29 AM
Paul
Paul - avatar