1 Star 2 Fork 0

LinWin-Cloud/SetoolLinux

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
location-panbaidu.py 879 Bytes
一键复制 编辑 原始数据 按行查看 历史
LinWin-Cloud 提交于 2022-03-26 16:53 +08:00 . SetoolLinux
#the location-panbaidu
#load the file
#the start logo
print("")
print("finish the file :location-panbaidu.py...")
print("finish the file :location.js...")
print("finish the file :index.html...")
print("finish the file :index.js...")
print("finish the file : setoollin.py...")
print("")
print("=========================================")
#to import os
import os
#use linux command to del index.html
#use linux command to del index.js
os.system("rm -f index.html")
os.system("rm -f index.js")
#then copy the file to the content
os.system("cp pan.baidu/index.html ./")
os.system("cp pan.baidu/index.js ./ ")
os.system("cp GPS/location.js ./")
#=================================================
import os
#start the 8080 port
print("start the port on http://127.0.0.1:8080 or http://localhost:8080")
print("")
os.system("python3 -m http.server 8080")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/LinWin-Cloud/setoollinux.git
git@gitee.com:LinWin-Cloud/setoollinux.git
LinWin-Cloud
setoollinux
SetoolLinux
master

搜索帮助