Python进阶
小技巧
使用python.exe执行简单的python代码:
python3 -c 'import os;os.mkdir("/tmp/core_20220427") if not os.path.exists("core_20220427") else None'"
小技巧
使用python.exe执行简单的python代码:
python3 -c 'import os;os.mkdir("/tmp/core_20220427") if not os.path.exists("core_20220427") else None'"