Python Module shutil: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
=Organizatorium= | |||
<syntaxhighlight lang='python'> | |||
from shutil import which | |||
for i in m: | |||
print("{:20}{:7}".format(m[i], "OK" if which(i) else "missing")) | |||
</syntaxhighlight lang='python'> |
Revision as of 03:19, 19 January 2022
External
Internal
Overview
Organizatorium
<syntaxhighlight lang='python'> from shutil import which for i in m:
print("{:20}{:7}".format(m[i], "OK" if which(i) else "missing"))
</syntaxhighlight lang='python'>