lemonEX / zhpy

Automatically exported from code.google.com/p/zhpy
0 stars 0 forks source link

failed with 'import sys' #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I found some problems in recent.If you try to run, you will get.

周蟒 1.7.1 在 linux2 基於 Python 2.5.2
>>> 匯入 系統
  File "<console>", line 1
    p_532f_5165_v sys
                    ^
SyntaxError: invalid syntax

-
周蟒 1.7.1 在 linux2 基於 Python 2.5.2
>>> 印出 'Hello'
Hello

---
zhpy 1.4 - 1.7.1 in Debian Testing

Debian Package List:
python2.5                            2.5.2-11
python-nose                          0.10.3-1
python-chardet                       1.0.1-1.1
python-pyparsing                     1.5.0-1
python-setuptools                    0.6c8-4
python-support                       0.8.4
(python-pygments                      0.10-1)

Original issue reported on code.google.com by dreamerwolf.tw@gmail.com on 6 Oct 2008 at 11:23

GoogleCodeExporter commented 8 years ago
import 關鍵字是 「導入 」而不是「匯入」

可以在 console 輸入

imp(ort) 後按下 tab 鍵, 即可查看自動完成的中文關鍵字。

Original comment by gasolin on 7 Oct 2008 at 2:09