srikrishna1 commited on
Commit
969cf65
·
verified ·
1 Parent(s): 27b7e9a

Upload 2 files

Browse files
Files changed (2) hide show
  1. gold_output.txt +1 -0
  2. sample_script.py +8 -0
gold_output.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Hello from sample Python script!
sample_script.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # /home/user/Desktop/script.py
2
+
3
+ output_path = "/home/user/Desktop/output.txt"
4
+
5
+ with open(output_path, "w") as f:
6
+ f.write("Hello from sample Python script!\n")
7
+
8
+ print(f"Output written to {output_path}")