Spool Python script exection (.py ) to a output file | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Spool Python script exection (.py ) to a output file

can anyone share how to Spool Python script to a file of the print and return commands in the script

6th Dec 2016, 12:33 PM
Shrideepak K S
Shrideepak K S - avatar
1 Réponse
0
you redirect the standard output to your given file and intercept the results befor you return them
26th Dec 2016, 11:54 PM
Amaras A
Amaras A - avatar