
Today I’ll use Python 3 subprocess module to display a list of all the installed software on the computer. You can run the below code/script file in the command line to view the output.
# importing the module
import subprocess
# traverse the software list
Data = subprocess.check_output(['wmic', 'product', 'get', 'name'])
a = str(Data)
# try block
try:
# arrange the string
for i in range(len(a)):
print(a.split("\\r\\r\\n")[6:][i])
except IndexError as e:
print("All Done")If you have been searching for the right note-taking or knowledge management app, you have…
Looking for AnyType alternatives? You're not alone. AnyType has gained popularity as a privacy-focused, local-first…
Notion is a popular all-in-one workspace, but many users seek alternatives for different needs (free…
Logseq is a beloved tool in the personal knowledge management (PKM) community. It's free, open-source,…
Looking for a Webshare alternative? You're not alone. Webshare is a popular proxy service with…
Docker changed software development forever. It made containers accessible, gave developers a simple workflow, and…