Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 229, in OnFindNext
if self.DoFindNext() != FOUND_NOTHING:
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 223, in DoFindNext
return _FindIt(None, params)
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 89, in _FindIt
posFind, foundSel = control.FindText(flags, sel, searchParams.findText)
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\control.py", line 279, in FindText
txt_buff = (findText+'\0').encode(default_scintilla_encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbb in position 0: ordinal not in range(128)
win32ui.error: Error in Command Message handler for command ID 109, Code 0
2012年7月04日 00:53
@iceman: 那个是在 Linux 下编写和调试的,不是跑在 Windows 上面的。
2012年7月03日 23:28
知道了,windows下应该怎么调整呢:
__font_properties__= font_manager.FontProperties(fname='/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc')
2012年7月03日 23:22
对了,我用的是xp,还有如下错:
could not open facefile /usr/share/.../wqy/wqy-zenhei.ttc cannot_open_resource
2012年7月03日 23:15
Hi,Jacky
学习了你的Blog,很佩服。
目前我正开始学习使用python,准备编写股票分析软件,望多多指教:)
运行你的股票程序,到最后myfig.savefig(figpath=figpath)老是有异常错误
Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 229, in OnFindNext
if self.DoFindNext() != FOUND_NOTHING:
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 223, in DoFindNext
return _FindIt(None, params)
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\find.py", line 89, in _FindIt
posFind, foundSel = control.FindText(flags, sel, searchParams.findText)
File "C:\Python27\Lib\site-packages\pythonwin\pywin\scintilla\control.py", line 279, in FindText
txt_buff = (findText+'\0').encode(default_scintilla_encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbb in position 0: ordinal not in range(128)
win32ui.error: Error in Command Message handler for command ID 109, Code 0
望指教,感谢
2012年5月11日 09:55
@Jacky Liu: 「点击小图看大图」没见过?
2012年5月11日 09:54
没有新文章,算了!
2012年4月29日 00:44
@ST: 用 DB-API 吧,比如 oursql。我写的那些是当时没得可用时的土办法,不推荐。
2012年4月28日 15:10
您好,我也是用python3 连接数据库做一个游戏服务端程序,你那个代码我现在有点问题。请问怎么请教呢
谢谢
2012年4月19日 12:45
@自由建客: 嗯,但是没有高清大图谁还来? PS. 我登录时速度还能接受。
2012年4月19日 06:42
这博客太慢了!很耗流量!
2012年4月18日 05:19
@Coneagoe: 期待神马内容? :-)
2012年4月17日 18:50
怎么没下文了。期待。
2011年11月24日 20:44
@luke: 原文已更新
2011年11月23日 20:55
jacky ,这东东很酷
http://bluegene8210.is-programmer.com/posts/25954.html ,但数据格式什么样子呢?
2011年8月02日 12:44
@lala: 或许可以,但我没研究到这里。我现在的重点在于交易模式的建立,不在图形上。我也不准备复制一个世面常见的股票软件的客户端,那是做不到的。
2011年8月02日 11:46
可否加上鼠标事件?
2011年4月26日 10:14
@碰碰: 我邮箱是 bluegene8210@gmail.com 你给我发邮件吧。
2011年4月26日 09:06
我想招聘人,写一个股票软件,请问,楼主在哪里?