This commit is contained in:
2026-06-11 13:18:24 +03:00
parent 11e0f4688b
commit ff7d361651
5 changed files with 136 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# THIS IS EXAMPLE OF main.py
# EXAMPLE OF SCRIPT WHICH YOU WOULD RUN IN YOUR PROJECT
# ------------------------------
# INJECTION: USE IN YOUR PROJECT
# ------------------------------
import os
# Process Identification Number (PID in Unix(-like))
pid = os.getpid()
with open("pid.txt", "w") as f:
f.write(str(pid))
# ----------- END --------------
# Shit which running forever / stucked / ...
from time import sleep
while True:
print("I'm still running...")
sleep(0.1)