game.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:astoptool 作者: zouliuyun 项目源码 文件源码
def ext_ip(self):
        """
        The external ip for the game server. Will try to get only once and save to self._ext_ip for later use.
        """
        if not self._ext_ip:
            with settings(host_string=self.int_ip):
                self._ext_ip =  run('''curl -s ip.cn |awk '{split($2,x,"?");print x[2]}' ''')
        return self._ext_ip
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号