-
纯小白请教下wxPython程序运行的问题,谢谢!需要用一个在python下编写的软件,但作者当时是用unicode的wxPython编写的,现在在中文windows下运行总出现“TypeError:StringorUnicodetyperequired”的问题。请问有什么办法让系统在unicode下运行这个软件吗?现在没有安装wxPython软件。安装个unicode的wxPython有帮助吗?谢谢各位了!wswj8888 时间:07-13 + 阅读全文
-
use of uninitialized value in scalar chomp错误脚本如下:Perlcode#!/usr/bin/perl-w#usestrict;$command="\"".$ARGV[0]."\"";print$command."\n";open(FH1,"./openfile.pl$command|")ordie"openfileerror";while(my$line=<FH1>){heartgoon2010 时间:07-13 + 阅读全文
-
Lua Function用法I=Function(Paramater);FunctionI(Paramater)....区别..另外解释下self用法lile1234_show 时间:07-13 + 阅读全文
-
perl的shared问题我定义了一个变量,my$dbh:shared;在主线程中,$dbh=connect_db();其中,connect_db是一个连接数据库的操作,定义如下subconnect_db{ my$dbh_temp=DBI->connect($con_str,$db_user,$db_password,{RaiseError=>0,Printlilywinter 时间:07-13 + 阅读全文
-
python的split('\n')问题本帖最后由ubuntu_mark于2011-07-1314:36编辑des1与des2都是从数据库读出来的,为什么做了split('\n')处理,结果确不一样,处理后des2的结尾有'\r',des1确没,但我需要‘\r’以方便后面的处理,这是为什么呢des1='''name:CountryNewsurl:http://www.countrynews.com.au/tyubuntu_mark 时间:07-13 + 阅读全文
-
关于py2exe的使用我的python是python2.7版的py2exe是直接用机器上的python编译的,但是在打包exe时说找不到python24.dll,我明明是python2.7为什么它还要找python24啊!!!huangyong198706 时间:07-13 + 阅读全文
-
django 查询条件总是搞不定,求高手看看想实现这个样的查询条件:SQLcode(role='A'andstate='A_state')or(role='B'orrole='C'orrole='D')or(role='E'andstate!='E_state')应该怎么写对应的django实现呢不胜感激!crafet 时间:07-12 + 阅读全文
-
求教,Python基础教程(第2版),Python学习手册,哪本比较适合入门者学习新手,想学习Python,想问下各位筒子们,这两本书:Python基础教程(第2版),Python学习手册,哪本比较适合入门者学习?,ddd_t 时间:07-13 + 阅读全文
-
inno setup 如何制作后台服务的安装程序1、innosetup如何制作服务的安装程序,安装完成后成为后台服务,设置为启动,在控制面板-管理工具-服务里可以启动和关闭?2、如何制作可以修改目录权限的安装程序。也就是对安装文件夹的用户权限进行设置?ttkjsyq 时间:07-11 + 阅读全文