Reputation: 11
I am new learner to Python, so I am not getting how to make common function for creating log file to record each and every details during testing...
Upvotes: 1
Views: 182
Reputation: 336378
Try the logging
module. If that's overkill for you, why not insert print
statements/functions in relevant places of your code and print the variables you're interested in?
Upvotes: 2