2005年07月03日 星期日 15:42
我去了command prompt, 在c:\>之后 输入python calc.py 怎么还是错的: 'python' is not recognized as an internal or external command, operable program or batch file. 还有在IDLE里是不是只要输入import calc?
2005年07月03日 星期日 16:48
python你要按照完整路径输入 比如说 c:\python2.3.4\bin\python,或者将python的目录添加进系统路径 -----Original Message----- From: python-chinese-bounces at lists.python.cn [mailto:python-chinese-bounces at lists.python.cn]On Behalf Of yipusi Sent: 2005年7月3日 15:42 To: python-chinese at lists.python.cn Subject: [python-chinese] a question 我去了command prompt, 在c:\>之后 输入python calc.py 怎么还是错的: 'python' is not recognized as an internal or external command, operable program or batch file. 还有在IDLE里是不是只要输入import calc?
2005年07月03日 星期日 16:51
yipusi wrote: > 我去了command prompt, > 在c:\>之后 > 输入python calc.py > 怎么还是错的: > 'python' is not recognized as an internal or external command, > operable program or batch file. 你在用英文windows?这就是告诉你它找不到python程序,你要把C:\Python24加入 PATH路径才能直接在命令行调用python。 建议你还是找一本教在windows上使用python的教程。 > 还有在IDLE里是不是只要输入import calc? -- Qiangning Hong ____________________________________________________________ / The human race never solves any of its problems. It merely \ | outlives them. | | | \ -- David Gerrold / ------------------------------------------------------------ \ \ ("`-' '-/") .___..--' ' "`-._ ` *_ * ) `-. ( ) .`-.__. `) (_Y_.) ' ._ ) `._` ; `` -. .-' _.. `--'_..-_/ /--' _ .' ,4 ( i l ),-'' ( l i),' ( ( ! .-'
2005年07月03日 星期日 16:58
请问command prompt 和IDLE有什么不同? On 7/3/05, Qiangning Hong <hongqn at gmail.com> wrote: > yipusi wrote: > > 我去了command prompt, > > 在c:\>之后 > > 输入python calc.py > > 怎么还是错的: > > 'python' is not recognized as an internal or external command, > > operable program or batch file. > > 你在用英文windows?这就是告诉你它找不到python程序,你要把C:\Python24加入 > PATH路径才能直接在命令行调用python。 > > 建议你还是找一本教在windows上使用python的教程。 > > > 还有在IDLE里是不是只要输入import calc? > > -- > Qiangning Hong > > ____________________________________________________________ > / The human race never solves any of its problems. It merely \ > | outlives them. | > | | > \ -- David Gerrold / > ------------------------------------------------------------ > \ > \ > ("`-' '-/") .___..--' ' "`-._ > ` *_ * ) `-. ( ) .`-.__. `) > (_Y_.) ' ._ ) `._` ; `` -. .-' > _.. `--'_..-_/ /--' _ .' ,4 > ( i l ),-'' ( l i),' ( ( ! .-' > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
2005年07月03日 星期日 17:50
IDLE是用tck/tk包开发的,是一个图形环境。而command line是终端环境,在windows下为dos环境。 在 05-7-3,yipusi<ypaami at gmail.com> 写道: > 请问command prompt 和IDLE有什么不同? > > On 7/3/05, Qiangning Hong <hongqn at gmail.com> wrote: > > yipusi wrote: > > > 我去了command prompt, > > > 在c:\>之后 > > > 输入python calc.py > > > 怎么还是错的: > > > 'python' is not recognized as an internal or external command, > > > operable program or batch file. > > > > 你在用英文windows?这就是告诉你它找不到python程序,你要把C:\Python24加入 > > PATH路径才能直接在命令行调用python。 > > > > 建议你还是找一本教在windows上使用python的教程。 > > > > > 还有在IDLE里是不是只要输入import calc? > > > > -- > > Qiangning Hong > > > > ____________________________________________________________ > > / The human race never solves any of its problems. It merely \ > > | outlives them. | > > | | > > \ -- David Gerrold / > > ------------------------------------------------------------ > > \ > > \ > > ("`-' '-/") .___..--' ' "`-._ > > ` *_ * ) `-. ( ) .`-.__. `) > > (_Y_.) ' ._ ) `._` ; `` -. .-' > > _.. `--'_..-_/ /--' _ .' ,4 > > ( i l ),-'' ( l i),' ( ( ! .-' > > _______________________________________________ > > python-chinese list > > python-chinese at lists.python.cn > > http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > > -- I like python! My Donews Blog: http://www.donews.net/limodou New Google Maillist: http://groups-beta.google.com/group/python-cn
Zeuux © 2025
京ICP备05028076号