repl.it
@Ryanand/

TestOS 2 (DEMO)

Python

No description

fork
loading
Files
  • main.py
  • .backup 2.0
  • system
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os 
import time 
print("pre-check")
time.sleep(5)
print(dir(os))
time.sleep(5)
print("")
print("check:")
print(os.stat('main.py'))
print("check complete")
print("")
# check done 
print(os.getcwd())
os.chdir('/home/runner/system/')
print(os.getcwd())
print(os.listdir())
bashCommand = "bash .volumeman.sh"
os.system(bashCommand)
Fetching token
?