Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_disk_usage():
|
|
19 |
print(f"Error: {result.stderr}")
|
20 |
else:
|
21 |
print(result.stdout)
|
22 |
-
|
23 |
with open("111.txt", 'w') as file:
|
24 |
file.write(result.stdout)
|
25 |
print(f"Disk usage information written to {filename}")
|
@@ -35,7 +35,7 @@ def get_system_info():
|
|
35 |
print(f"Machine: {platform.machine()}")
|
36 |
print(f"Processor: {platform.processor()}")
|
37 |
print(f"Architecture: {platform.architecture()}")
|
38 |
-
|
39 |
get_disk_usage()
|
40 |
get_system_info()
|
41 |
|
|
|
19 |
print(f"Error: {result.stderr}")
|
20 |
else:
|
21 |
print(result.stdout)
|
22 |
+
|
23 |
with open("111.txt", 'w') as file:
|
24 |
file.write(result.stdout)
|
25 |
print(f"Disk usage information written to {filename}")
|
|
|
35 |
print(f"Machine: {platform.machine()}")
|
36 |
print(f"Processor: {platform.processor()}")
|
37 |
print(f"Architecture: {platform.architecture()}")
|
38 |
+
print(f"python: {platform.python_version()}")
|
39 |
get_disk_usage()
|
40 |
get_system_info()
|
41 |
|