摘要:
安装的是autocompletehttp://cx4a.org/software/auto-complete/是bz2格式压缩的 下载后 在终端输入命令tar -xjvf auto-complete-1.3.1.rar.bz2mvauto-complete-1.3.1 ~/.emacs.d//.emacs.d是emacs默认安装插件的目录进入 ~/.emacs.d/auto-complete-1.3.1makemake install 提示你安装位置 为/home/sun/.emacs.d/接着就会提示安装成功 提示你添加 命令到.emacs 文件 //.eamcs是emacs默认的配置文.. 阅读全文
posted @ 2013-09-17 18:03
yufenghou
阅读(308)
评论(0)
推荐(0)
摘要:
首先安装emacs然后下载yasnippet-bundle-0.6.1c.el.tgz解压在~/.emacs.d/文件夹下新建一个文件plug,一般是新建一个plugins但是我到下面有这个文件夹了,就不再创建了将上一步解压得到到文件mv到plug下面进入~。如果这个文件夹下面有.emacs文件那么就打开,如果没有就创建一个在这个文件当中添加下面两句话(add-to-list 'load-path "~/.emacs.d/plug")(require 'yasnippet-bundle)保存,启动emacs原来安装到时候我把路劲前面多了一个空格。没有配上 阅读全文
posted @ 2013-09-17 17:31
yufenghou
阅读(323)
评论(0)
推荐(0)
摘要:
1 ab={ 2 'Swaroop' :'swaroopch@bytoofpython.info', 3 'Larry' :'larry@wall.org', 4 'Matsumoto' :'matz@ruby-lang.org', 5 'Spammer' :'spammer@hotmail.com' 6 } 7 print("Swaroop's address is %s"%ab['Swaroop']) 8 ab[' 阅读全文
posted @ 2013-09-17 10:42
yufenghou
阅读(112)
评论(0)
推荐(0)
摘要:
shoplist=['apple','mango','carrot','banana']print('i have',len(shoplist),'items to purchase.')print('These items are:')for item in shoplist: print(item)print('\nI also have to buy rice.')shoplist.append('rice')print('My shop 阅读全文
posted @ 2013-09-17 09:55
yufenghou
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号