インストール
pipでインストールできる。
pip install bottle
サンプルコード api.py
以下の様な短いコードでWeb APIが動作する。
起動
python api.pyめちゃくちゃ楽できる・・・。今まで使わなかったことを後悔するくらいだ。
pip install bottle
python api.pyめちゃくちゃ楽できる・・・。今まで使わなかったことを後悔するくらいだ。
sudo pip install flake8 pyflakes pep8 pylint
"#####表示設定##### set number "行番号を表示する set title "編集中のファイル名を表示 set showmatch "括弧入力時の対応する括弧を表示 syntax on "コードの色分け set tabstop=4 "インデントをスペース4つ分に設定 set smartindent "オートインデント "#####検索設定##### set ignorecase "大文字/小文字の区別なく検索する set smartcase "検索文字列に大文字が含まれている場合は区別して検索する set wrapscan "検索時に最後まで行ったら最初に戻る
autocmd BufNewFile,BufRead *.rb nnoremap <C-e> :!ruby % autocmd BufNewFile,BufRead *.py nnoremap <C-e> :!python % autocmd BufNewFile,BufRead *.pl nnoremap <C-e> :!perl %
[Pythonインストールフォルダ]/python.exe