Python dir

Made python dir
This commit is contained in:
WickedYoda committed 2023-07-17 14:19:20 -05:00
1 parent f46d15d86b
commit bf341ea8c6
2 files changed

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import subprocess
# Run 'sudo apt update'
subprocess.run(['sudo', 'apt', 'update'])
# Run 'sudo apt full-upgrade -y'
subprocess.run(['sudo', 'apt', 'full-upgrade', '-y'])
# Run 'sudo apt dist-upgrade -y'
subprocess.run(['sudo', 'apt', 'dist-upgrade', '-y'])
# Run 'sudo apt autoremove -y'
subprocess.run(['sudo', 'apt', 'autoremove', '-y'])
# Run 'sudo apt clean -y'
subprocess.run(['sudo', 'apt', 'clean', '-y'])
# Run 'sudo apt purge -y'
subprocess.run(['sudo', 'apt', 'purge', '-y'])