D:\python24\Lib\idlelib>pyshell.py
Traceback (most recent call last):
File "D:\python24\Lib\idlelib\PyShell.py", line 1388, in ?
main()
File "D:\python24\Lib\idlelib\PyShell.py", line 1361, in main
if not flist.open_shell():
File "D:\python24\Lib\idlelib\PyShell.py", line 277, in open
I can't open IDEL or any .pyw file.
When I click on IDEL.pyw, nothing happens!
But python itself is ok.
Has anybody met this problem?
--
http://mail.python.org/mailman/listinfo/python-list
Question 1 : How to set and get the content of my system clip-board?
2 : How to print the current line no in a python program? --
每一种结局都有可能感触动观众心底的某一颗眼泪。以死亡为结尾的故事和大团圆故事一样多,是因为人们最不能承受的反
倒是漫长而不可知的人生,让传奇湮灭,让真情淡去,让英雄苍老,让美人迟暮。他爱他,他死了,另一个人终身铭记。再没有了世俗压力,他与他的往昔相依相伴
在断臂山下,他与他的未来活在永恒的回忆里。
I want to catch the output of a program but I can not use redirect
because it's interactive and thus I need to see the output on the
screen.
So I use popen2() to execute it and then both print the output on the screen and in a log file.
But when I want to write something command to it, it seems th
If it's a executable file, a ".exe" file, you can launch it in this
way, "xxx.exe < input.txt". The text file "input.txt" will be
considered as the standard input.
But when I use this trick on python, it doesn't work. The only way to
do so is like this "python xxx.py < input.txt". But this method