1 Star 0 Fork 1

shitou7630/gpsd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
example_aiogps_run 679 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2019 Grand Joldes ([email protected]).
#
# This file is Copyright 2019 by the GPSD project
#
# SPDX-License-Identifier: BSD-2-clause
# This code runs only under Python 3.x for x >= 6.
"""
Script that runs the aiogps example. On Python versions that can not run the
example it displays a message and exits.
"""
import sys
if __name__ == "__main__":
# aiogps only available on Python >= 3.6
if sys.version_info >= (3, 6):
import example_aiogps
example_aiogps.run()
else:
sys.exit("Sorry, aiogps is only available for Python versions >= 3.6")
# vim: set expandtab shiftwidth=4
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/shitou7630/gpsd.git
[email protected]:shitou7630/gpsd.git
shitou7630
gpsd
gpsd
master

搜索帮助