V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  EngAPI  ›  全部回复第 25 页 / 共 40 页
回复总数  787
1 ... 21  22  23  24  25  26  27  28  29  30 ... 40  
❮ ❯
2024 年 1 月 8 日
回复了 ppllss 创建的主题 › 生活 › 夏天极热,在老家一个人穿着裤衩在家,正常吗?
我夏天天天这样,直到我女儿画图把我画成上身裸体并在胸口加 2 点……
2024 年 1 月 5 日
回复了 Loxon 创建的主题 › 程序员 › 最近好多 GUI 之争,我来给 Electron 站一票,理性讨论
因为没类似软件用,我面向 chatgpt 写了个很简单的 lazarus 程序,找到了当年 delphi 的感觉,据说这货还能在 android 上用.
2024 年 1 月 4 日
回复了 lsk569937453 创建的主题 › 程序员 › 现在 flutter 的桌面端都这么成熟了吗?
咸鱼在 ios 上是真的费电
2024 年 1 月 2 日
回复了 1874w 创建的主题 › 分享发现 › 我的笔记管理法
感觉和人生很像,刚开始都是信心满满,逐渐堕落。
而有些人发现了自己喜欢和擅长的领域逐渐崭露头角,以点带面,用习惯来前进。
这过程中思考必不可少,但是太多或者杂乱的输入扰乱你产出大成果。
2024 年 1 月 2 日
回复了 zhyd1997 创建的主题 › 健康 › BMI 只有 17 还有救吗
性别是?
我看《不能结婚的男人》的时候照着主角那样吃,然后胖了
2024 年 1 月 2 日
回复了 flypei 创建的主题 › 推广 › 元旦 T 楼! 送 Google One 2T + 京东 E 卡 300 元
我要参加抽奖,谢谢
2024 年 1 月 2 日
回复了 luozhiyun 创建的主题 › 分享发现 › 2023 年总结:保持心情愉悦&积极向上
感谢分享,我也要努力了
2023 年 12 月 31 日
回复了 sungo 创建的主题 › Python › Python tkinter 如何实现自动滚动的文本框
import tkinter as tk
from tkinter import messagebox
import threading
import queue
import time

def down():
for i in range(1, 100):
output_queue.put(f"下载附件 {i}\n")
time.sleep(0.3)
return

def on_download_click():
try:
download_thread = threading.Thread(target=down, args=())
download_thread.start()
except Exception as e:
messagebox.showerror("错误", "该日期段没有附件下载")

def update_output_text():
while not output_queue.empty():
output_text.insert(tk.END, output_queue.get())

# 检查滚动条是否在底部
scroll_position = scrollbar.get()
if not fm_main.manually_scrolled or scroll_position[1] == 1.0:
output_text.see(tk.END)

fm_main.after(100, update_output_text)

def on_scroll(*args):
# 判断滚动条是否在底部
scroll_position = scrollbar.get()
if scroll_position[1] == 1.0:
fm_main.manually_scrolled = False
else:
fm_main.manually_scrolled = True

if __name__ == '__main__':
fm_main = tk.Tk()
fm_main.title("邮件附件批量下载_v1.0")
fm_main.geometry('600x300')
fm_main.resizable(0, 0)

btn1 = tk.Button(fm_main, text="下载", font=("Arial", 13), width=25, height=2, command=on_download_click)
btn1.pack()

scrollbar = tk.Scrollbar(fm_main)
scrollbar.pack(side=tk.RIGHT, fill=tk.Y)

output_text = tk.Text(fm_main, font=("Arial", 12), width=60, height=10)
output_text.pack(side=tk.LEFT, fill=tk.BOTH)

output_text.config(yscrollcommand=scrollbar.set)
scrollbar.config(command=output_text.yview)

output_queue = queue.Queue()
fm_main.after(100, update_output_text)

output_text.bind("<MouseWheel>", on_scroll)
output_text.bind("<Button-4>", on_scroll)
output_text.bind("<Button-5>", on_scroll)

fm_main.manually_scrolled = False

fm_main.mainloop()

问的 chatgpt3.5 的,你看看能运行么?
2023 年 12 月 28 日
回复了 lgapple 创建的主题 › 耳机 › 耳机(舒适且音质不渣),求推荐
我对音质好像也没啥需求,但是感觉 TWS 不如有线的音质好。
oppo enco x ,每天听小说用,觉得挺好的。
挺坏了的话准备买个 oppo enco x2
2023 年 12 月 28 日
回复了 YukiHanaNo 创建的主题 › 汽车 › 统计一下各位车主开过几年车,跑过多少万公里
试驾是免费的,还有零食吃,有时候还给礼品。
2023 年 12 月 28 日
回复了 zzlit 创建的主题 › 问与答 › 求推荐墨水屏阅读器
如果看英文的,首推 kindle ,你都能上这里了,导入很简单,calibre 转下 mobi 格式。
看中文的海信那个看起来小小的不错。
2023 年 12 月 19 日
回复了 pplive 创建的主题 › 宽带症候群 › 为了防止家里公网 IP 被乱扫,我做了个黑名单 IP 表
@fankangsong istoreos 默认开了如下端口
22 ,2049 ,53 ,32778 ,32777 ,111 ,32780
2023 年 12 月 19 日
回复了 liuhy0927 创建的主题 › 游戏 › 有没有不吃电脑配置的游戏?
星际争霸 1 ,我时不时拿出我的 x220 玩一局
2023 年 12 月 18 日
回复了 kokerkov 创建的主题 › 问与答 › 想弄一个海外服务器的 blog,询问一下主机问题
免费薅来的 oracle 近 800 天在线,我觉得他们的服务稳定性不错。
建议你买个收费的 oracle 服务器
2023 年 12 月 17 日
回复了 lifi 创建的主题 › Python › 买了本 Python 书籍入门
加油,有其他语言的基础学这个很容易,我几乎没看书,都是搜索看语法怎么用,用实际应用入门后再细细琢磨。
1 ... 21  22  23  24  25  26  27  28  29  30 ... 40  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2537 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 58ms · UTC 02:11 · PVG 10:11 · LAX 19:11 · JFK 22:11
♥ Do have faith in what you're doing.