猫史档案馆


【Python作品分享】fish浏览器【作品秀】

用户:沙碧y沙碧y查看:0 回复:0 评论:0 创建时间:2023-04-15T13:24:26


【作品展示】

center_image

 

【作品介绍】

fish浏览器

操作说明请先运行

运行后即可使用

 

【作品源代码】

import requests
import webbrowser
import os

print("欢迎来到fish浏览器,使用前请仔细阅读产品说明")
print("产品说明")
print("1、fish浏览器是由编程大佬‘如_’创作的python作品,主要作用与普通浏览器相似")
print("2、由于fish浏览器源代码为python语言,所以可能容易造成bug请见谅")
print("3、本作品为作者原创,未经许可禁止转载")
print("4、使用本产品前请先确保已下载海龟编辑器或python运行环境")
print("5、请确保已下载requests(爬虫)、webbrowser、os等第三方库,代码报错作者不负责任")
print("6、使用时请勿进行切屏、更改窗口等容易造成bug的操作,代码报错作者不负责任")
print("7、若运行时未成功显示网站,请耐心等待,并非代码有误造成")
print("8、使用前请先点赞收藏哦~")
input("(按下回车键继续)")
print("操作说明:弹出对话框时按提示操作即可")
input("(按下回车键继续)")
while(True):
    a=input("输入1进行浏览网站,输入2跳转作者更多作品")
    if(a=='1'):
        b=input("请输入想要浏览的网址:")
        print("跳转中,请等待。。。")
        webbrowser.open(b)
    else:
        b=input("请输入想要游玩的作品编号(1:极限飙车,2:王者鱼耀,3:联机大乱斗,4:跑酷大闯关I,5:跑酷大闯关II,6:捷_瞬)")
        if(b=='1'):
            print("跳转中,请等待。。。")
            webbrowser.open("https://shequ.codemao.cn/work/179272398")
        elif(b=='2'):
            print("跳转中,请等待。。。")
            webbrowser.open("https://shequ.codemao.cn/work/158175824")
        elif(b=='3'):
            print("跳转中,请等待。。。")
            webbrowser.open("https://shequ.codemao.cn/work/182234278")
        elif(b=='4'):
            print("跳转中,请等待。。。")
            webbrowser.open("https://shequ.codemao.cn/work/173502961")
        elif(b=='5'):
            print("跳转中,请等待。。。")
            webbrowser.open("https://shequ.codemao.cn/work/178507370")
        elif(b=='6'):
            print("跳转中,请等待。。。")
            webbrowser.open("https://shequ.codemao.cn/work/178909870")
    c=input("跳转完毕,继续请输入1,退出请输入2")
    if(c=='2'):
        break;

#结束

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页