scripts / sample_script.py
srikrishna1's picture
Upload 2 files
969cf65 verified
raw
history blame
214 Bytes
# /home/user/Desktop/script.py
output_path = "/home/user/Desktop/output.txt"
with open(output_path, "w") as f:
f.write("Hello from sample Python script!\n")
print(f"Output written to {output_path}")