2023-02-25 01:48

This commit is contained in:
2023-02-25 01:48:44 +09:00
commit 90d9816ea2
9 changed files with 151 additions and 0 deletions

17
sys_call.py Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/python
import os
import subprocess
def fn_system():
os.system("ls -al")
def fn_call():
result = subprocess.call(["ls", "-al"])
print(result)
if __name__ == "__main__":
# fn_system()
fn_call()