Write message to a file


/ Published in: Python
Save to your folder(s)

Useful for debugging


Copy this code and paste it in your HTML
  1. with open("Pytest_Output.txt", "w") as text_file:
  2. print("print resources {}-{}-{}".format(dynamo_main_table,sns_topic_arn,listings_api_url), file=text_file)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.