Spaces:
Paused
Paused
File size: 324 Bytes
5111c4b | 1 2 3 4 5 6 7 8 9 10 | import sys
from datetime import datetime
# Write directly to a file
with open('test_output.txt', 'w') as f:
f.write(f"Test run at {datetime.now()}\n")
f.write(f"Python version: {sys.version}\n")
f.write("If you can read this, file writing is working\n")
print("Test completed - check test_output.txt") |