Python论坛  - 讨论区

标题:[python-chinese] 我有个建议,希望大家讨论一下!!!

2004年01月16日 星期五 18:10

steersman steersman at 126.com
Fri Jan 16 18:10:39 HKT 2004

我建议让高手们出个项目用Python做的,然后大家一起来做,把源代码公开大家一块研究学习!!!不知道可行不??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040116/d811c8d0/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月16日 星期五 20:43

wide 288 wide288 at yahoo.com.cn
Fri Jan 16 20:43:51 HKT 2004

是个好提意。我提一个:可以在windows 和 Linux
上运行的办公学习系统。(包括职工管理,学生管理,学分,工资,)学校,公司
的管理。大家可以讨论一下实现方案,我想会有好多种的。

 --- steersman <steersman at 126.com> 的正文:>
我建议让高手们出个项目用Python做的,然后大家一起来做,把源代码公开大家一块研究学习!!!不知道可行不??>



_________________________________________________________
Do You Yahoo!? 
繁华世界里,让我看清你
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_dec2003


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月17日 星期六 09:57

Jacob Fan jacob at exoweb.net
Sat Jan 17 09:57:21 HKT 2004

Happy New Year,
    I haven't seen a Python version compiled with LCC-win32.
    Maybe LCC-win32 is more restrictive than many other C compilers, so it doesn't permit dangerous things such as "no return value" or "If((xxx = k))"?Or maybe you have used an restrictive option of LCC-win32? 

	-----Original Message-----
	From: Way Hu [mailto:WayHu at astec-asia.com] 
	Sent: 2004?1?16? 14:19
	To: Jacob Fan
	Cc: python-chinese at lists.python.cn
	Subject: Where can l find a python version compiled with LCC-win32?
	
	

	   Thanks a lot.I got it. 
	   Where can l find a python version compiled with LCC-win32? i have tried using LCC-win32, 
	found python's some modules with warning problem,e.g "no return value". I review the corresponded sources, it does have this problem.others like "if((xxx = k))" problem, a couple 
	parentheses should be removed and "=" should be replaced by "==". 
	   Could you please to help me understand this? Thanks again. 
	   Because of the Spring Festival vacation, please mail to "waytoeden at sina.com". 
	
	   Happy New Year to you! 
	
	Regards & thanks,
	Way Hu
	***************************************
	* ASTEC-CDE/QAE                       *
	* Tel:(86)(755)27802677 Ext:5166      *
	*************************************** 
	
	
	
"Jacob Fan" <jacob at exoweb.net> 

01/12/04 10:22 AM 

To
"waytoeden" <waytoeden at sina.com>, <python-chinese at lists.python.cn> 
cc
<wayhu at astec-asia.com> 
Subject
RE: [python-chinese] how do i use win DLL in python23win?

	




	You may use ctypes http://starship.python.net/crew/theller/ctypes/
	
	-----Original Message-----
	From: waytoeden [mailto:waytoeden at sina.com] 
	Sent: Saturday, January 10, 2004 7:31 PM
	To: python-chinese at lists.python.cn
	Subject: [python-chinese] how do i use win DLL in python23win?
	
	
	I want directly invoke a function in a windows DLL instead of writing a c extention for python,I have known win32api extention with LoadLibrary and GetProcadress, but how do i invoke/run the function in python? thanks, please e-mail to :wayhu at astec-asia.com ______________________________________
	
	ÄúµÄÅóÓÑwaytoeden£¬¸øÄú·¢À´ÁËÒ»Õźؿ¨£¡¹Û¿´>>( http://ecards.sina.com.cn/2000/2003-12-23/14394277464.swf ) ¼ÄÒ»Õźؿ¨¸øwaytoeden( http://ecards.sina.com.cn ) ͨ¹ýÁËÁË°ÉÓëwaytoeden½»Ì¸( http://668.sina.com.cn )
	
	===================================================================
	
	½²Êö²ÊÉ«ÉÌÎñ¹ÊÊ£¬HPÃâ·ÑËÍÄãÈ¥Ñŵä (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)
	_______________________________________________
	python-chinese mailing list
	python-chinese at lists.python.cn http://lists.exoweb.net/cgi-bin/mailman/listinfo/python-chinese
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040117/558650ad/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月17日 星期六 10:28

Jacob Fan jacob at exoweb.net
Sat Jan 17 10:28:31 HKT 2004

关闭上面写的那个文件( f.close() ),然后用"r"模式重新打开。
 
如果你要写二进制文件,请用"wb"写,"rb"读。

	-----Original Message-----
	From: steersman [mailto:steersman at 126.com] 
	Sent: 2004年1月14日 22:20
	To: python-chinese at lists.python.cn
	Subject: [python-chinese] 您好!问个挺菜的问题!
	
	
	>>> f=open("test.dat","w")
	>>> print f
	
	>>> f.write("ok")
	>>> print f.read()
	这段程序执行后为什么会是乱码而不是"ok"呢?是在IDLE下运行的!请赐教!我是新手!
	这里先谢了!
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040117/887e8037/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月26日 星期一 09:02

Way Hu WayHu at astec-asia.com
Mon Jan 26 09:02:34 HKT 2004

Jacob,
   Thank you very much.
   Yes, you are right. I want to get a none warning version, so I selected 
the "all warning level" option, I think it will make codes safe. Actually, 
Lcc-win32 could do that,I have tried it, at least, the python core can be 
compiled completely by Lcc-win32.  but it seems to me that LLC-win32 IDE 
has some bugs.
 

Regards & thanks,
Way Hu
***************************************
* ASTEC-CDE/QAE                       *
* Tel:(86)(755)27802677 Ext:5166      *
***************************************




"Jacob Fan" <jacob at exoweb.net> 
01/17/04 09:57 AM

To
"Way Hu" <WayHu at astec-asia.com>
cc
<waytoeden at sina.com>, <python-chinese at lists.python.cn>
Subject
RE: Where can l find a python version compiled with LCC-win32?






Happy New Year,
    I haven't seen a Python version compiled with LCC-win32.
    Maybe LCC-win32 is more restrictive than many other C compilers, so it 
doesn't permit dangerous things such as "no return value" or "If((xxx = 
k))"?Or maybe you have used an restrictive option of LCC-win32? 
-----Original Message-----
From: Way Hu [mailto:WayHu at astec-asia.com] 
Sent: 2004年1月16日 14:19
To: Jacob Fan
Cc: python-chinese at lists.python.cn
Subject: Where can l find a python version compiled with LCC-win32?


   Thanks a lot.I got it. 
   Where can l find a python version compiled with LCC-win32? i have tried 
using LCC-win32, 
found python's some modules with warning problem,e.g "no return value". I 
review the corresponded sources, it does have this problem.others like 
"if((xxx = k))" problem, a couple 
parentheses should be removed and "=" should be replaced by "==". 
   Could you please to help me understand this? Thanks again. 
   Because of the Spring Festival vacation, please mail to 
"waytoeden at sina.com". 

   Happy New Year to you! 

Regards & thanks,
Way Hu
***************************************
* ASTEC-CDE/QAE                       *
* Tel:(86)(755)27802677 Ext:5166      *
*************************************** 


"Jacob Fan" <jacob at exoweb.net> 
01/12/04 10:22 AM 


To
"waytoeden" <waytoeden at sina.com>, <python-chinese at lists.python.cn> 
cc
<wayhu at astec-asia.com> 
Subject
RE: [python-chinese] how do i use win DLL in python23win?








You may use ctypes http://starship.python.net/crew/theller/ctypes/

-----Original Message-----
From: waytoeden [mailto:waytoeden at sina.com] 
Sent: Saturday, January 10, 2004 7:31 PM
To: python-chinese at lists.python.cn
Subject: [python-chinese] how do i use win DLL in python23win?


I want directly invoke a function in a windows DLL instead of writing a c 
extention for python,I have known win32api extention with LoadLibrary and 
GetProcadress, but how do i invoke/run the function in python? thanks, 
please e-mail to :wayhu at astec-asia.com 
______________________________________

ÄúµÄÅóÓÑwaytoeden£¬¸øÄú·¢À´ÁËÒ»Õźؿ¨£¡¹Û¿´>>( 
http://ecards.sina.com.cn/2000/2003-12-23/14394277464.swf ) 
¼ÄÒ»Õźؿ¨¸øwaytoeden( http://ecards.sina.com.cn ) 
ͨ¹ýÁËÁË°ÉÓëwaytoeden½»Ì¸( http://668.sina.com.cn )

===================================================================

½²Êö²ÊÉ«ÉÌÎñ¹ÊÊ£¬HPÃâ·ÑËÍÄãÈ¥Ñŵä (
http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)
_______________________________________________
python-chinese mailing list
python-chinese at lists.python.cn 
http://lists.exoweb.net/cgi-bin/mailman/listinfo/python-chinese


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040126/538c164d/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号