Update sample_script.py
Browse files- sample_script.py +8 -8
sample_script.py
CHANGED
|
@@ -1,8 +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
|
| 7 |
-
|
| 8 |
-
print(f"Output written to {output_path}")
|
|
|
|
| 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!")
|
| 7 |
+
|
| 8 |
+
print(f"Output written to {output_path}")
|