简单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")

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
安卓中通过TCP发送时java文件损坏   Java测试预期=异常失败,断言错误   java ssh4 LazyInitializationException   java是否可以在集合中添加重复项?   java是一个免费的开源数据库管理工具   java是否可以在导出的html中嵌入图像   编译器构造解释一些东西,并用Java运行生成的字节码?   java KeyPairGenerator未生成随机密钥   java使用正则表达式生成字符串而不是匹配字符串   java中的多线程线程间通信   具有复合密钥的java Hibernate合并问题   java不能在MainActivity类之外使用SharedReferences变量   正在获取切割/零件异常消息。使用java Spring ControllerAdvice   java tomcat漏洞讨论   javascript在Java中实现“system”命令   java如何在JUnit5*中加载*Spring测试上下文之前获取回调?   java bluej关于缺少返回语句   JavaSpringBoot@ModelAttribute包含使用字符串键的其他模型   从可选中抛出异常。ifPresent()Java 8