V2EX vcent 的所有回复 第 1 页 / 共 1 页
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX    vcent    全部回复第 1 页 / 共 1 页
回复总数  13
2021-02-05 12:15:53 +08:00
回复了 cway 创建的主题 程序员 自己写个 typora 图床上传工具 支持配置文件图床拓展
有的哦
@Lattez 这个软件也需要改配置文件吧,
@jfdnet 我是按照这个一步一步来的 ,不行咧
2020-03-14 20:55:45 +08:00
回复了 vcent 创建的主题 Python pymysql 如何避免高并发处理同一条数据问题 谢大佬
@neoblackcap 多谢
2020-03-14 20:54:42 +08:00
回复了 vcent 创建的主题 Python pymysql 如何避免高并发处理同一条数据问题 谢大佬
@CStarter 多谢
2020-03-14 13:18:10 +08:00
回复了 vcent 创建的主题 Python pymysql 如何避免高并发处理同一条数据问题 谢大佬
@ClericPy 我以为我说清了,就是根据 where 条件用 limit 先取第一条数据 然后在更新这条数据,并发了就会发生后者覆盖前者的数据,就是这么个问题 。。。
2020-03-14 13:14:22 +08:00
回复了 vcent 创建的主题 Python pymysql 如何避免高并发处理同一条数据问题 谢大佬
@littlewing 还有其他方法么 在代码层面解决的
2019-04-19 08:30:30 +08:00
回复了 vcent 创建的主题 Python Python re.findall 匹配的到 re.sub 却替换不掉呢?
@GTim 多谢 已解决
2019-04-19 08:30:20 +08:00
回复了 vcent 创建的主题 Python Python re.findall 匹配的到 re.sub 却替换不掉呢?
@kcnscrew 多谢 已解决
2019-04-19 08:29:47 +08:00
回复了 vcent 创建的主题 2019 Python re.findall 可以匹配到为啥 re.sub 替换不掉呢?
多谢 已解决
2018-09-19 10:02:10 +08:00
回复了 greyli 创建的主题 Flask 送出几本《Flask Web 开发实战》
请认准:我是分母,谢谢!
2018-03-19 13:28:38 +08:00
回复了 vcent 创建的主题 Python 请问用 Pyinstaller 打包怎么添加图片音频等资源呢???
@Hopetree 添加-i 选项后就是这个错误:
38771 INFO: Updating icons from ['bb.ico'] to C:\Users\ADMINI~1\AppData\Local\Temp\tmpijoxn4qa
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\Scripts\pyinstaller-script.py", line 9, in <module>
load_entry_point('PyInstaller==3.4.dev0+31785ca87', 'console_scripts', 'pyinstaller')()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\__main__.py", line 94, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\__main__.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\building\build_main.py", line 791, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\building\build_main.py", line 737, in build
exec(text, spec_namespace)
File "<string>", line 26, in <module>
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\building\api.py", line 420, in __init__
self.__postinit__()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\building\datastruct.py", line 161, in __postinit__
self.assemble()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\building\api.py", line 509, in assemble
icon.CopyIcons(tmpnm, self.icon)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\utils\win32\icon.py", line 177, in CopyIcons
return CopyIcons_FromIco(dstpath, [srcpath])
File "C:\Users\Adminitrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\utils\win32\icon.py", line 134, in CopyIcons_FromIco
for i, f in enumerate(icons):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.4.dev0+31785ca87-py3.5.egg\PyInstaller\utils\win32\icon.py", line 107, in __init__
file.seek(e.dwImageOffset, 0)
OSError: [Errno 22] Invalid argument


不添加 -i 可以成功打包 尽管有很多警告信息
2018-03-19 10:10:25 +08:00
回复了 vcent 创建的主题 Python 请问用 Pyinstaller 打包怎么添加图片音频等资源呢???
@Hopetree 打包之前是可以的 pyinstaller --add-data=b.jpg;. --add-data=Dossier_Luffy_128px_1108222_easyicon.net.ico;. --ico=bb.jpg -w --clean Newstool.py
这是我执行的命令 然后错误不断,你打包的售后没有报错?
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3597 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 24ms UTC 04:18 PVG 12:18 LAX 20:18 JFK 23:18
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86