Spaces:
Paused
Paused
| 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") |