简单SteamCMD应用程序安装程序
py-steamcmd-installer的Python项目详细描述
py_steamcmd_安装程序
使用steamcmd通过python安装steam应用程序的简单工具
先决条件
确保安装了steamcmd和python
安装
pip install py_steamcmd_installer
使用方法:
# import the packagefrompy_steamcmd_installerimportpy_steamcmd_installer# create a steamcmd object and give the steamcmd path as an argumentsteamcmd=py_steamcmd_installer.Steamcmd("/usr/bin/steamcmd")# create a function that handels the process outputdefoutput_parser(output):print("output: "+output)# set the output parsersteamcmd.handleOutput=output_parser# install a serversteamcmd.installServer(4020,"../server_path")