V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  vcent  ›  全部回复第 1 页 / 共 1 页
回复总数  13
2021-02-05 12:15:53 +08:00
回复了 cway 创建的主题 程序员 自己写个 typora 图床上传工具 支持配置文件图床拓展
有的哦
2020-10-16 10:22:39 +08:00
回复了 vcent 创建的主题 macOS macos 10.15.6 更改的 hidpi 文件 RDM 切换分辨率无法生效呢?大佬帮忙
@Lattez 这个软件也需要改配置文件吧,
2020-10-16 10:19:57 +08:00
回复了 vcent 创建的主题 macOS macos 10.15.6 更改的 hidpi 文件 RDM 切换分辨率无法生效呢?大佬帮忙
@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\Administrator\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   ·   我们的愿景   ·   实用小工具   ·   2878 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 00:35 · PVG 08:35 · LAX 17:35 · JFK 20:35
Developed with CodeLauncher
♥ Do have faith in what you're doing.