不太懂Py的人说: 会不会用的不是英文空格??? 在 2011年1月20日 下午4:12,Qi Wang <[email protected]>写道: > > >>> b=12 > >>> print ("%c" % b) > □ > >>> b=1 > >>> print ("%c" % b) > □ > > 为什么会出现方框呢? > > print ("Welcome \a to \r Python!") > 得到 > Welcome □ to Python! > 中的“\a”为什么得到的也是方框 而\r 没有任何效果。 > > Py新手…… > 真诚求教…… > > ------------------------------------------------------------ > Biological science '11, Zhejiang University > College of Life Sciences > > Room 205,Qingxi 1st, Zijingang Campus, Zhejiang University, Hangzhou, > 310058, PR China > Tel:+86-13732288062 > -------------- 下一部分 -------------- > 一个HTML附件被移除... > URL: > <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110120/f153f895/attachment.html> > -- > ubuntu-zh mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
-- 牛晨光 Chris Niu ----------------------------------------------------- 失败是强者的垫脚石,是弱者的深渊 -- ubuntu-zh mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
