Tag Archives: tempfile

[python]Writing to temporary file

Supposed you have collected a list item known as ip_collections, and you want to write the list to a temp file. Need to convert the string in byte, the tf.seek(0) is to re-wind the pointer back to the start of … Continue reading

Posted in Python, Scripting | Tagged , | Leave a comment