mac 下 python shell 怎么输入中文?

10 views
Skip to first unread message

thepeppe...@gmail.com

unread,
Sep 9, 2009, 3:47:00 AM9/9/09
to python-cn`CPyUG`华蟒用户组(中文Py用户组)
刚刚升级完snow leopard, 以前怎么搞得给忘了.

meaglith

unread,
Sep 9, 2009, 3:49:27 AM9/9/09
to pyth...@googlegroups.com
10.5还是10.6?

-------------------------------------------------------
Blog: http://blog.douhua.im
Twitter: http://twitter.com/genedna
Website: http://douhua.im
-------------------------------------------------------
关注RIA,关注OpenSource。


2009/9/9 ThePeppe...@gmail.com <thepeppe...@gmail.com>
刚刚升级完snow leopard, 以前怎么搞得给忘了.


Syd

unread,
Sep 9, 2009, 3:56:10 AM9/9/09
to pyth...@googlegroups.com
用darwin port 装了readline +universal还是不行

sudo port install readline +universal

Syd

unread,
Sep 9, 2009, 3:55:15 AM9/9/09
to pyth...@googlegroups.com
10.6 snow leopard


在 2009-9-9,下午3:49, meaglith 写道:

thepeppe...@gmail.com

unread,
Sep 9, 2009, 4:26:25 AM9/9/09
to python-cn`CPyUG`华蟒用户组(中文Py用户组)
不可能没人知道吧~~在线等...

姚志灏

unread,
Sep 9, 2009, 4:44:26 AM9/9/09
to pyth...@googlegroups.com
同问

2009/9/9 ThePeppe...@gmail.com <thepeppe...@gmail.com>
不可能没人知道吧~~在线等...


mactanxin

unread,
Sep 9, 2009, 5:28:19 AM9/9/09
to python-cn`CPyUG`华蟒用户组(中文Py用户组)
在Snow Leopard 下重新编译 python 用的 readline.so

On 9月9日, 下午3时47分, "ThePeppersStu...@gmail.com"
<thepeppersstu...@gmail.com> wrote:
> 刚刚升级完snow leopard, 以前怎么搞得给忘了.

小多

unread,
Sep 9, 2009, 5:41:31 AM9/9/09
to pyth...@googlegroups.com

2009/9/9 ThePeppe...@gmail.com <thepeppe...@gmail.com>
刚刚升级完snow leopard, 以前怎么搞得给忘了.




试试 export LC_ALL="en_US.UTF-8" ?



Best regards,
Duo

--

Syd

unread,
Sep 9, 2009, 6:14:39 AM9/9/09
to pyth...@googlegroups.com
export LC_ALL="en_US.UTF-8" 肯定是不行,
看来只能先下个readline源码编译看看再说吧

在 2009-9-9,下午5:41, 小多 写道:

> export LC_ALL="en_US.UTF-8"

linluxiang

unread,
Sep 9, 2009, 9:59:21 AM9/9/09
to pyth...@googlegroups.com

在 2009-9-9,下午3:47, ThePeppe...@gmail.com 写道:

> 刚刚升级完snow leopard, 以前怎么搞得给忘了.

去官网下载一个python重装一下就行了....

> >

-----------------------------------
Where Python Happens!

Syd

unread,
Sep 9, 2009, 10:11:49 AM9/9/09
to pyth...@googlegroups.com
重装一下python不会影响系统吗?leopard 下只要port 装一下readline
+universal就可以了,snow leopard怎么就不成了?

J

unread,
Sep 11, 2009, 10:37:54 AM9/11/09
to python-cn`CPyUG`华蟒用户组(中文Py用户组)
确定是readline的问题?

linluxiang

unread,
Sep 12, 2009, 5:17:24 AM9/12/09
to pyth...@googlegroups.com

在 2009-9-9,下午10:11, Syd 写道:

>
> 重装一下python不会影响系统吗?leopard 下只要port 装一下readline
> +universal就可以了,snow leopard怎么就不成了?
>

不会啊..我的leopard升级到snow..完全没有影响....不过我改了/usr/bin/下面的
软链接...

>
> 在 2009-9-9,下午9:59, linluxiang 写道:
>
>>
>>
>> 在 2009-9-9,下午3:47, ThePeppe...@gmail.com 写道:
>>
>>> 刚刚升级完snow leopard, 以前怎么搞得给忘了.
>>
>> 去官网下载一个python重装一下就行了....
>>
>>>>
>>
>> -----------------------------------
>> Where Python Happens!
>>
>>
>>>
>
>
> >

-----------------------------------
Where Python Happens!

Reply all
Reply to author
Forward
0 new messages