Loading... **开发背景:** 封校,闲出屁 **主程序:** ``` # auth:愚者 # blog:www.reaper0s.com import tkinter as tk import webbrowser import requests def open_url(event): webbrowser.open("http://www.reaper0s.com", new=0) def getbalance(roomid): buildingid = int(int(roomid) / 1000 + 1) s = requests.session() s.headers = { 'user-agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Mobile Safari/537.36' } commonapi = 'http://218.91.39.59:8988/web/Common/Tsm.html' data = { 'jsondata': '{"query_elec_roominfo": {"aid": "0030000000002501", "account": "110", "room": {"roomid":' + str( roomid) + ', "room": ""},"floor": {"floorid": "", "floor": ""},"area": {"area": "南京邮电大学通达学院", "areaname": "南京邮电大学通达学院"},"building": {"buildingid": "' + str( buildingid) + '", "building": ""}}}', 'json': 'true', 'funname': 'synjones.onecard.query.elec.roominfo' } commoninfo = s.post(commonapi, data).json() balancemsg = rf'{roomid}: {commoninfo["query_elec_roominfo"]["errmsg"]}' return balancemsg def select(event): msg = getbalance(entry.get()) label1.config(text=msg) window = tk.Tk() window.title('南京邮电大学通达学院查电费助手') window.geometry('360x280') window.resizable(False, False) label1 = tk.Label(window, width=35, height=3, bg='yellow', text='请输入宿舍号后,点击查询按钮', font='50') label2 = tk.Label(window, text='宿舍号:') entry = tk.Entry(window, font='50', highlightcolor='blue', highlightthickness=1) button = tk.Button(window, text='查询', width=20, height=3, bg='#2f3542', fg='#ffffff', font='楷体,30') link = tk.Label(window, text='auth:愚者\nblog:www.reaper0s.com', font=('Arial', 10)) entry.bind("<Return>", select) button.bind("<Button-1>", select) link.bind("<Button-1>", open_url) label1.place(relx=0.5, rely=0.2, anchor='n') label2.place(relx=0.37, rely=0.41, anchor='n') entry.place(relx=0.5, rely=0.4, anchor='n', width=50, height=30) button.place(relx=0.5, rely=0.52, anchor='n') link.place(relx=1, rely=1, anchor='se') window.mainloop() ``` **运行结果:** <div class='album_block'> [album type="photos"]   [/album] </div> **下载地址:** <button class=" btn m-b-xs btn-dark btn-rounded " onclick="window.open('https://api.reaper0s.com/lanzou/?url=https://reaper0s.lanzoub.com/iBXxG04sdmcf&type=down','_blank')">NYTD查电费小助手</button> 最后修改:2022 年 10 月 03 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏
10 条评论
同城单身交友群a0hk.cn
华纳圣淘沙公司开户新手教程
零基础学会(183-8890-9465薇-STS5099)
华纳圣淘沙公司开户
华纳圣淘沙公司开户保姆级教程(183-8890-9465薇-STS5099)
一步步教你开通华纳圣淘沙公司账户(183-8890-9465薇-STS5099)
华纳圣淘沙公司开户分步图解
首次开户必看:(183-8890-9465薇-STS5099)
华纳圣淘沙全攻略
华纳圣淘沙公司开户实操手册(183-8890-9465薇-STS5099)
华纳圣淘沙开户流程视频教程
手把手教学:(183-8890-9465薇-STS5099)
华纳圣淘沙公司开户
华纳圣淘沙公司开户完全指南(183-8890-9465薇-STS5099)
2025年10月新盘 做第一批吃螃蟹的人coinsrore.com
新车新盘 嘎嘎稳 嘎嘎靠谱coinsrore.com
新车首发,新的一年,只带想赚米的人coinsrore.com
新盘 上车集合 留下 我要发发 立马进裙coinsrore.com
做了几十年的项目 我总结了最好的一个盘(纯干货)coinsrore.com
新车上路,只带前10个人coinsrore.com
新盘首开 新盘首开 征召客户!!!coinsrore.com
新项目准备上线,寻找志同道合 的合作伙伴coinsrore.com
新车即将上线 真正的项目,期待你的参与coinsrore.com
新盘新项目,不再等待,现在就是最佳上车机会!coinsrore.com
新盘新盘 这个月刚上新盘 新车第一个吃螃蟹!coinsrore.com
新车上路,只带前10个人
文章紧扣主题,观点鲜明,展现出深刻的思考维度。
建议补充国内外研究对比,以拓展视野。
文章结构紧凑,层次分明,逻辑严密,让人一读即懂。
《祖国2020》欧美剧高清在线免费观看:https://www.jgz518.com/xingkong/118534.html
哈哈哈,写的太好了https://www.cscnn.com/
看的我热血沸腾啊https://www.237fa.com/