Google Text to Speech(Windows)
åé¡
- Google Text to Speechã§éã³ãã
- Quick Startã ã¨GoogleCloudSDKã¤ã³ã¹ãã¼ã«ãå¿ è¦ã§ãProxyè¶ ããå¿ è¦ãããã
å®éã®ã³ã¼ãã¯ãã¡ã
ãã®è¨äºãèªãã§ã§ãããã¨
- Proxyç°å¢ã§ã®GoogleTextToSpeech
- Pythonã§ããã¹ããé³å£°ã«ãã
- ä»é²
è¨å®
-
ãµã¼ãã¹ã¢ã«ã¦ã³ããã¼ãæã«å ¥ãã¦ãã
-
Pythonã§pip
# Python3.6ç°å¢ pip install --upgrade google-cloud-texttospeech # googleapiclient使ããã pip install --upgrade google-api-python-client conda upgrade pip pip install --upgrade oauth2client
-
Windowså´
- APIãPythonããå©ãããã®ã§ãç°å¢å¤æ°ã使ã£ã¦ããã¾ã
- set GOOGLE_APPLICATION_CREDENTIALS=[PATH]
- âããã°ã©ãã³ã°å´ããå®è¡ããå¦çãå ¥ãã¦ããã®ã§ãç¡è¦ãã¦ããã
ã½ã¼ã¹ã®åèè³æ
basy64ã§ã¨ã©ã¼ãèµ·ããå ´å
TypeError: a bytes-like object is required, not 'str'
- base64encodeã«ãããæååã¯utf-8ã«ã¨ã³ã³ã¼ãããªãã¨ã¨ã©ã¼ã«ãªã
- python/socks.pyã®Versionã«ãã£ã¦ãä¸æããããªããã¨ãããã
- username/passwdãencodeããã«strã®ã¾ã¾base64 Encodeãå¦çãããã¨ããã
- socks.pyã®version = 1.6.7ã§ãªããã°è¦æ³¨æ
conda install pysocks
audioåçé¨å
VIMããããã¯
- ãããªæãã®ã¹ã¯ãªãããæ¸ãã¦ããã¾ã
"google text to speech"{{{ function! s:get_google_zihou()" let s:py_script = "c:/pg/google_text2speech/post_text.py" silent execute '!D:/Anaconda3/envs/dev/python.exe ' . ' ' . s:py_script . ' -c time' unlet! s:py_script endfunction augroup END" command! -nargs=0 GetZihou call s:get_google_zihou() function! s:get_google_text()" let s:file = tempname() silent execute ":write " . s:file let s:py_script = "c:/pg/google_text2speech/post_text.py" execute '!D:/Anaconda3/envs/dev/python.exe ' . ' ' . s:py_script . ' -f ' . s:file call delete(s:file) unlet! s:file unlet! s:py_script endfunction augroup END" command! -nargs=0 ChangeTex call s:get_google_text() "}}}
SpaceVimã試ã(Windows)
SpaceVIM
åé¡
- $HOME/vimfilesãä½æããã®ã§ãã試ãã§ãããã®ã«å ¨ã¦ã®ç°å¢ãSpaceVimã«ãªã
- æ å ±ãæ®ã©ãªã
åæ
- ä»åã¯Windowsã ãã対象ã«ãã¾ãã
- MACã§ã¯ãNVIMã¨VIM8/mac vimãããã§ãNVIMã ãSpaceVIMã«ãã¦ãã¾ãã
対å¦
- åæ
- kaoriyaãªã©è¤æ°VIMããã©ã«ãã§ç®¡çãã¦ãã
- $HOME/vimfilesãåé¤ãã
- $HOMEã¯C:\Users[user name]\
kaoriyaãããå¥ãã©ã«ãã«ä½æ(d:\vim_spaceã¨ãã)
- cmdã管çè
権éã§èµ·å
d:
cd d:\vimspace
mklink vimfiles $HOME\.SpaceVim
cp $HOME\.SpaceVim\vimrc d:\vim_space\_vimrc
- cmdã管çè
権éã§èµ·å
ã³ãã¼ãã¦ãã_vimrcnÂ¥ã®å é ã«è¿½å
"execute 'source' fnamemodify(expand('<sfile>'), ':h').'/config/main.vim'
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/vimfiles/config/main.vim'
_vimrcã®ç·¨é
- SpaceVIMã¨_vimrcã®è¨å®ãããªããã¶ãã®ã§ãã»ã¨ãã©åé¤
- ã¯ãªãããã¼ã渡ãã¯æã£ã¦ãã¦ãããã»ããè¯ãã
- æè§spacevim使ã£ã¦ããã®ã§ããã©ã°ã¤ã³ã¯å¾ã§ç§»æ¤
- Qfixhowmã®è¨å®ã ãã¯ãå ¨é¨åå©ç¨
- Uniteãªã©spacevimã§å©ç¨ãã¦ãããã®ã®è¨å®ã¯Keyã«æ°ãã¤ãã
gvimrcãæ½°ãã¦ãã
- spacevimã®è¨å®ãæ½°ãããã®ã§ãgvimrcããªãã¼ã ãã¦ãã
- colorschemã¨fontãæ¶ãã®ããã¾ããã
- æ§åãè¦ãªããæ»ãã¦ããäºå®
Deinã®PATHæå®
- [SPC ?]ãå¼ã³åºãã¨ãPython3ã®ãã¹ãæ±ããããã®ã§_vimrcã«è¿½å ï¼Denite or Unite)
è¨å®ãã¡ã¤ã«
- SpaceVIMã®è¨å®ã¯ã以ä¸ã«ãã
- C:\Users[User Name].SpaceVim.d\init.toml
SpaceVimã®è¨å®ã¾ãã
- neomakeã®ã¨ã©ã¼ã解決ã§ããªãã£ãã®ã§ã
- enable_neomake= 0
- è¡çªå·ãæ°æã¡æªã
- relativenumber= 0
- Leaderãsãªã®ãæ°æã¡æªã
- vimfilerãªã®ã§ãNerdTreeã«åãæ¿ãã
- optionsã«è¨è¼ããã¨ãåæã«ã¤ã³ã¹ãã¼ã«ããã¾ãã
[options]
filemanager = "nerdtree" - F3ã§NerdTreeãèµ·åããã°OK
- optionsã«è¨è¼ããã¨ãåæã«ã¤ã³ã¹ãã¼ã«ããã¾ãã
- fontè¨å®
- guifont = 'Myrica M:h12'
ColorScheme
- colorschemeã¯ãlayersã«æå®ããã¨ãåæã«è²ã æã£ã¦ãã¦ããã
- SpaceVimä¸ã§colorschemeãå¤æ´ããå ´å
- [SPC T n]:switch to next random colorscheme listed in colorscheme layer.
gitæä½ããªãã®ã§å ¥ãã
- fugitiveã¯æä½ã»ããã®ã§ãinit.tomlã«custom_pluginsãè¨è¼
[[custom_plugins]]
name = "tpope/vim-fugitive"
merged = 0
grepç³»
- rg/ag/pt/ack/grepããããããã©ã«ãã§ä½¿ãã
- SPC s [r/a/t/k/g]ã¨ãã§åãæ¿ãã
- rgã®å ´å
- SPC s r b:Bufferæ¤ç´¢
- SPC s r p:Directoryé ä¸æ¤ç´¢
Spaceããªã¬ã¼ãè¦ã¦ãé¢ç½ãããªãã®
- SPC ?:cmd help
- F2:Tagbar toggle
- F3:Filer toggle
- buffer
[1-9]:buffer移å - SPC b N [hjkln]:new buffer:q
- SPC b n:next
- SPC b d:kill
- SPC b p:previous
- SPC b C-d:kill Other Buffer
- SPC b h:Homeç»é¢
- SPC b R:åæç»
- ã«ã¼ã½ã«é
ä¸ãã¤ã©ã¤ãæ¤ç´¢
- SPC s h:ãã¤ã©ã¤ã
- n:next
- SPC s h:ãã¤ã©ã¤ã
- è¡æ«Spaceåé¤
- ,SPC
SpaceVimãåèã«èªåã®vimrcãæ¡å¼µãã
- SpaceVim使ã£ã¦ããã¨ãéå°ããããé ããªãï¼ã¨ã»ã»ã»æãã¦ãã
- SpaceVimãæç§æ¸ã«ãã¦ãèªåã®vimrcãæ¡å¼µããå ´å
- $HOME/.SpaceVim/autoload/SpaceVim/layersé ä¸
- ãããã
- edit.vim or operator.vim
- textobjæä½ç³»ãæã£ã¦ãã¾ãã
- fzf.vim
- FZFã®è¨å®å¨ããåèã«
- incsearch.vim
- haya14busaããã®ãã©ã°ã¤ã³å¨ããåã¯anzuã¨åããã¦ä½¿ã£ã¦ãã¾ãã
- ui.vim
- tagbarå¨ãã®ãã©ã°ã¤ã³
- SpaceVimã®ãªã¼ããã³ã°Bufferã¯
mhinz/vim-startify
- edit.vim or operator.vim
Log
- ä¸æããããªãã¨ãã¯:SPDebugInfo!
- è¨å®å¨ããªã©ãåºåãã¾ã
æªè§£æ±º(ç¶ç¶)
- æ¥æ¬èªå ¥åã®åè£ãã§ãã¨ãã«ãåæã«ç¢ºå®ãããã¨ããããã
å®å®ãããé ãå ´æâ â â â â
PrimeVideo
STAGE1ãéæ¥ãããã¾ããã
- çºå£²æ¥: 2018/01/10
- ã¡ãã£ã¢: Amazonãããª
- ãã®ååãå«ãããã°ãè¦ã
ä¸è¨ã§è¨ãã¨
ãåãåºããéæ¥ã
Keyword
å極ã女åé«çãä»ææé«ãå·æ³£ãéæ¥ã
ãããã
ããã¯ãå®å®ãããé ãå ´æââã ä½ããå§ãããã¨æããªãããä¸ã ä¸æ©ãè¸ã¿åºããã¨ã®ã§ããªãã¾ã¾ é«æ ¡2å¹´çã«ãªã£ã¦ãã¾ã£ãå°å¥³ã»çæ¨ããªãã¾ãã»ã¾ããã¨ãããªã¯ã ã¨ãããã¨ããã£ããã« å極ãç®æãå°å¥³ã»å°æ·µæ²¢å ±ç¬ãã¶ã¡ããã»ãããã¨åºä¼ãã é«æ ¡çãå極ã«ãªãã¦è¡ããããããªãã¨è¨ããã¦ãã 絶対ã«ããããããã¨ããªãå ±ç¬ã®å§¿ã«å¿ãåãããããããªã¯ã å ±ç¬ã¨å ±ã«å極ãç®æããã¨ãèªãã®ã ãâ¦â¦ã
ææ³
ããæ°å¹´ã§ä¸çªå¥½ããªã¢ãã¡ãï¼æä¸ã«PrimeVideoããå¤ããã¿ãããªã®ã§ãè¦ããªãä»ãããªãã§ãï¼ãã£ã¨æ©ãç´¹ä»ãããã£ããã©æãå
¥ããå¼·ããã¦ãä½åº¦ãè¦ç´ããªããæ¸ãã¦ãã¾ãã軽ãæ»ãã¾ããã
å®å®ãããé ãå ´æã¯ãå極ãç®æããã¨ããã´ã¼ã«ãããä¸æ¹
æ¬å½ã®ä¸»é¡ã¯ãè¡ãã¾ã§ã®ããã»ã¹ã
ï¼è©±ï¼è©±ããããã»ã¹éæã«åããTODOãã¨ãã¦ã®ã¹ãã¼ãªã¼ãªã®ã§
ï¼è©±ã®å®æ度ããå
¨ä½ã¹ãã¼ãªã¼ã¨ãã¦ãå®æ度ãé«ããªã£ã¦ãã¾ãã
éæ¥æ代ã£ã¦ãªãã ãããªã¼ã£ã¦æãè¿ããæ ãåçªä¼ã§é
飲ãã§çç¬ãã話ãã£ã¦ãæ¬å½ã«ãã ããªãä¸æ¥ã®åãçµµã ã£ãããã¾ãããï¼
ãã®ã¢ãã¡ã£ã¦ãã®æè¦ã«è¿ãã¦ãæ¯è©±æ¯è©±ããã®æ¥ã®åãåããã1ãã¼ã¸ãè¦è¿ãã¦ãããããªæ°åã«ãªãã¾ãã
ãéæ¥ãã£ã¦å¯¾ç«æ§é ãªã®ããªã¼ã£ã¦æãã¨ããããã£ã¦
ã大人 vs è¥è
ããç¾å® vs æªæ¥ããå¦å® vs è¡åãã®ãããªã»ã»ã»ã
ä»ã ããæãããã¨ã ãã©ããç¡ç¥ã ãããããç¡è¬ã ãããããçªã£èµ°ããæ³ãããã£ã¦
ã¬ã½ãªã³ã¨ãã¦æ³¨ãè¾¼ãææ
ã¨ãã¨ã³ã¸ã³ã«ãªãä½ã ãããã°ãã©ãã«ã¾ã§ãèµ°ããã®ãéæ¥ããªã£ã¨ã
謹æ
ä¸ã«åå½ååå
«ã¶æãå¯è¢ã¨ãã£ãªã§å·¡ããããªæè¦(å®è©±)ã
ãã®ã¨ãã®æ¥ã
ã®æ触ãæ£ãã°ããããã®ããå®å®ãããé ãå ´æãã§ãã
ã¡ãªã¿ã«ããããããã£ã¦ç¥ãã¿ããã
æªã ã«ããã®ç¥ã¯ã©ããªãï¼ãã£ã¦æã£ã¦ãã
ããããä¸ã¯ããã£ã©ã¯ã¿ã¼ã®ååãåºã¾ãã
大人ãç¾å®ãå¦å®
ãããªãå ±ç¬ãæ¥åãçµæãããããã«ãç¾å®ãããå¦å®ããã¤ãã¾ã¨ããã ãã©ãä¸çªå¼·çãªã®ã¯ãããªã®è¦ªåããã£ã¡ããã
ãããããããªããããã ã大ä¸å¤«ãï¼è¡ããã®ãï¼èª¿ã¹ã¦ã¿ããã©ãã°ããã ããã£ã¦ããããã¿ã®è¨èä¸ã¤ä¸ã¤ããæ®éã®äººéã«ã¨ã£ã¦ãåªããã«è¿ããã®ãªãã ãã©ããããæ°ã«ããªãæã«ä¸»äººå
¬ãããªã®ç«ã¡ä½ç½®ããããã
ä¸æ¹ã§ãæ°éå極観測éã®äººãã¡ããã¹ãã³ãµã¼ãã¡ãã£ã¢ã¨ãã£ããç¾å®ãã¨ãå¦å®ãã絡ãã§ããã®ãå°è±¡æ·±ãã
大人ã«ãªã£ã¦ããæ¦ãç¸æã¯å¤§äººããããåãããããå
·ç¾åãã¦ããã®ãç æ°·è¹ã
ç æ°·è¹ã¯ãå ¨åã§æ°·ã«çªã£è¾¼ãã§è¹ã®èªéã§æ°·ãå£ããå£ããªããã°ä½åº¦ãå£ããå£ããã¾ã§ä½åº¦ã
ããããããã«ãããéæ¥ã¯ãä½åº¦ãä½åº¦ãç¹°ãè¿ãã¦å£ãã¦é²ãç æ°·è¹ã¨åãã
ä¸çªå¥½ããªã·ã¼ã³
æ°å®¿ãå ¨éåã§èµ°ã£ã¦ãç¬ãã ããããªã®ã·ã¼ã³ãããã好ãã
ãã ã楽ãããªã£ã¦ããªãããåãã¦ãï¼ç§ã®éæ¥åãã¦ãæ°ããã
å®å®ãããé ãå ´æãæãè¿ãã¨ããã®ã·ã¼ã³ãèªåã®ãããããã
ãã¨ã»ã»ã»12話ã§å·æ³£ãã¾ãããã
12話ã¯å±éããé大æã®é¨åãå¤ã
æå¿ã ã¨ãçåã®å¸æã ã¨ããã£ã¦ããããæ¬å¿ãªã®ãæ¬å½ã«é¡ã£ã¦ããã®ã誰ã«ãããããªã
ãããããªãå極ã«ããã®ã§ããï¼
çµå±äººãªãã¦æãè¾¼ã¿ã§ããè¡åã§ããªãããã©ãæãè¾¼ã¿ã ããç¾å®ã®çä¸å°½ãçªç ´ããä¸å¯è½ãå¯è½ã«ããèªåãåã«é²ãããç§ã¯ããæã£ã¦ããã
ã人ã«å§ãããªã£ã¦ãã¨ã§ããï¼ã
ãããããã©ããã£ã¨ãããã¦ããããããªãã®ï¼ããªãã¯ãã
ã£ã¦åéé·ã¨ã®ä¼è©±ãã
ããã¡ããã®éããã®åã«ã¯å¿ è¦ã ããã
ã£ã¦è²´åã®è¨èãã¤ãªãã£ã¦ããã
ããã¾ã§ã¬ã½ãªã³å½¹ã ã£ãå ±ç¬ããå¦å®ãå´ã«åã£ã¦ã
ãè¦ã¤ãããªããã¨ããå¦å®ã«ãèµ°ãåºã3人ã®ã·ã¼ã³ã
å ±ç¬ä¸äººã§å極ã«æ¥ã¦ãããããã®ã¨ã³ãã£ã³ã°ã¯ãªãã£ããã¨ã
å ±ç¬ã®é¸ãã ãå
¨å¡ã§å極ãããå½¢ããªãã¦ããã®ãææ
¨ã¶ããã£ãã
好ããªå°è©
好ããªå°è©ã¡ã¢ã£ã¦ããããæ®ã©ãã¿ãã¬ã«ãªããããªãããæ¸ãè¾¼ãã§ããã®ã§
å³é¸ã«å³é¸ãéãã¾ããï¼ï¼ãã
人ã«ã¯æªæããããã ãæªæã«æªæã§åãåããª
æå°ã«ãªã£ã¦ä½ãæªããç§ã¯ãããã£ã¦çãã¦ããã
æå°ã¯ã£ã¦é¦¬é¹¿ã«ããã¦ãå«ãªæããã¦ãããã§ãæå°ã¯ã£ã¦ãããééã£ã¦ããªããã
æ°ã使ããªã£ã¦è¨ãããã¯ã£ãããã
æ°ã使ããªã£ã¦ãããã¦æ°ã«ããªããã«ã«ã¯ãªããããªã
å ã«ããã£ã¦è¨ããã¦å ã«è¡ãèæ ã«ã¯ãªããããªã
4人ã§è¡ãã£ã¦è¨ã£ãã®ã«ãã£ãã諦ããæ ¹æ§ãªãã«ã¯ãªããããªã
4人ã§è¡ãã®ãã®4人ã§ããããæåªå ã ããã
å³ããç¾å®ãã¤ã¡ã¼ã¸ä½ä¸ãæããã¹ãã³ãµã¼ ç§éã¯ä½ãå¤ãã£ã¦ããªãã£ãã
æ¯ãè¨ã£ã¦ããå極ã®å®ç®±ããã®æã§éãããã¨æã£ã¦ãã¾ãã çãããä¸ç·ã«å極ã«è¡ãã¾ããã
é¸æè¢ã¯ãã£ã¨ãã£ãããã§ãé¸ãã ãã ãããããé¸ãã ãã ãï¼èªåã§ï¼
ããã楽ããã£ã¦ãåãããªããï¼ãã®åº¦ãçµãã£ãã¨ãã«ã¯çµ¶å¯¾ã«ããæã£ã¦ããã
ããªããã¡ã¯ãã®ã¾ã¾ã¢ã¤ã¢ã¤ããæ°æã¡ãå¼ããã£ã¦çãã¦ãããªãï¼
人ãå·ã¤ãã¦è¦ããããã ãï¼ãã®ãããæ±ãã¦ãããªãï¼
ããã人ãå·ã¤ãã代åã ãï¼ ç§ã®åéãå·ã¤ãã代åã ã
ä»æ´ä½ããããããªã
ããããã®è¨äº
ä¸åº¦è¦ã人ã«ããããã®è¨äºãç´¹ä»ãã¨ãã¾ãã
2人ã¯é ãè¯ãåãå£ãåã£ãããããããã¨èªåã§èããããããã§ããã©ãã¡ã³ã¿ã«ãå¼±ãã®ã§ãã©ããã§æ±ºå£ããã¨ããã ãããª2人ãããªãã ããã ã¡ã³ã¿ã«ã鬼強ã2人ãçãã¦ããã¿ãããªé¢ä¿æ§
ãããªã¨ãå ±ç¬ããé ãå¼±ããã©ã¡ã³ã¿ã«ãå¼·ãäºäººã
æ¥åã¨ãçµæããé ãããã©ã¡ã³ã¿ã«å¼±ãæ
å½ã
ä¸»äººå ¬ã®ãããªã«ã¯ããã¸ãã£ãã«è©±ãé²ããã¨ãã«ã®ã¼ã¨ãã¦ã®å½¹å²ãæãããã®ã§ã ãã©ãã®æ ¸ã¨ãªãé¨åããã©ãã®ç¸¦è»¸ã¨ãªãéãè¨å®ã¯èè² ããããã¾ããã§ããã ããã誰ã«æãããã®ããã¨ããã¨ããããçã¾ããã®ãå ±ç¬ã ãããªã®ä»£ããã«ããã©ãã縦軸ã«åããã£ããã常ã«ä½ã£ã¦ããããã£ã©ã¯ã¿ã¼ã§ãã
1話ã®åé ã§ä»°åãã«å¯ã¦ããä¸»äººå ¬ããããããæ¬å½ã«ä¸çãåãã¦è¸ã¿åºãã£ã¦ããã¡ãã»ã¼ã¸ããªã¼ããã³ã°ã®æåã®1ã«ããã«è©°ãè¾¼ãã¨æ±ºãã¦ãã¾ããããããã§ãããªãä¸çãåãã¦ãããããããããå ã¯4人ãéã¾ã£ã¦é²ãã§ããã ãã£ã¦ããã¤ã¡ã¼ã¸ã§ããã
OPãä½åº¦è¦ã¦ã¯ã¯ã¯ã¯ããã¢ãã¡ã£ã¦è¨æ¶ã«ãã¾ããªãã
æå¾ã«
6æä¸ã«Amazon Primeããæ¶ããã¿ãããªã®ã§ãæ©ãã«è¦ã¦ãã ããã
å¤åããã¨5å¹´è¿ãã¯ããã以ä¸ã®ä½åã¯åºã¦ããªãã¨æãã¾ãã
å®å®ãããé ãå ´æ è¨å®è³æé
- åºç社/ã¡ã¼ã«ã¼: ã ã¼ããã¯
- çºå£²æ¥: 2018/07/15
- ã¡ãã£ã¢: ããã¡ãï¼ããã¼
- ãã®ååãå«ãããã°ãè¦ã
å®å®ãããé ãå ´æ ã¢ã¶ã©ã·ã½ã¼ããããããã«ã«ãã¼
- åºç社/ã¡ã¼ã«ã¼: ã°ã«ã¼ã´ã¬ã¬ã¼ã¸
- çºå£²æ¥: 2018/05/30
- ã¡ãã£ã¢: ããã¡ãï¼ããã¼
- ãã®ååãå«ãããã°ãè¦ã
æè¿ã®Pythonç°å¢æ§ç¯ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã
ãã£ãã
Pythonç°å¢æ§ç¯ãä»ã¯ä½ã主æµãªãã ããã
— ã¨ã«ã¯ (@hogeai) 2018å¹´6æ9æ¥
4å¹´ãããåã¯ãã©ã¤ãã©ãªä¾åã§å°çã¿ã¦ãé¨ç½²å ¨å¡Anacondaä¸æã ã£ããã©ãæµç³ã«å¤ãã£ã¦æ¥ã¦ããã
ä½å¨é
ãã®è¨äºãªã®ã§ãåç
§å¤ãã®ã¡ã¢è¨äºã
æåã«çµè«
çãã¯ãªããèªç±ã«ããã°ããã
- 便å©ãéè¦
- ææ°ã®Pythonãããã±ã¼ã¸ç®¡çã§å°å
¥ãã
- ç´æ£ã¤ã³ã¹ãã¼ã©ã¼ã§ãè¯ã
- ä»®æ³ç°å¢ã¯venvã使ã
- ææ°ã®Pythonãããã±ã¼ã¸ç®¡çã§å°å
¥ãã
- å¿
è¦æ§éè¦
- pyenvã§Pythonãå ¥ãã
- virtualenv or venvã使ã
- ç°å¢ã¨ãã©ãã§ããã
- Anaconda
- ä½è : Al Sweigart,ç¸å·æä¸
- åºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³
- çºå£²æ¥: 2017/06/03
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- ãã®ååãå«ãããã° (5件) ãè¦ã
åé¡
å¼·åãªã©ã¤ãã©ãªé¡ãæã¤Pythonã§ãããç°å¢æ§ç¯ã®æ··æ²ã¯ã©ã¤ãã©ãªããµãã¼ãããPython Versionãåå·®ä¸å¥ãªããã§ãã
ãã£ãä¸ã¤ã®ã©ã¤ãã©ãªã使ãããã«Python2ãé¸ã¶ãã¨ãããã¾ããæè¿ã®ã©ã¤ãã©ãªã¯3.6以ä¸ãããµãã¼ããã¦ããªããã®ãããã¾ãã
ãã®ããã使ãããã©ã¤ãã©ãªã¼ã«åããã¦è¤æ°ã®PythonVersionã管çã¨ãä»®æ³ç°å¢ããã¤å¿
è¦ããããç°å¢æ§ç¯ã«å¯¾ãã¦æ§ã
ãªææ³ãåå¨ãã¦ããã®ããç¾å¨ã®Pythonã®ç¶æ³ã ã¨èªèãã¦ãã¾ãã
ä¸æ¹ããã®ç¶æ³ã¯å»å¹´ãããããæ¹åãã¦ãã¦ãã¾ããPython2ã2020å¹´ã«ãµãã¼ããåãããã¨ãåãã¦ãPython3ã¸ã®ç§»è¡ãä¸æãé²ãã§ããã®ã§ã¯ï¼ã¨èå¯ãã¦ãã¾ãã
Python3.3ããä»®æ³ç°å¢ã³ãã³ããå®è£
ãããã®ã§ããã®ç¶æ³ã¯æ´ã«æ¹åãã¦ããã¨æãã¾ãã
åè:venv â ä»®æ³ç°å¢ã®ä½æ
è¤éåãã¦ããç°å¢æ§ç¯
5å¹´ã»ã©åã«æ©æ¢°å¦ç¿ãè¡ã£ã¦ãã人éã¯ãã©ã¤ãã©ãªä¾åã«è¦ããã 人ãå¤ãã¨æãã¾ãã
åè:Pythonã®ç°å¢æ§ç¯ãèªåãªãã«æ´çãã¦ã¿ã
ãã®ç¶æ³ãä¸å¤ããã®ããAnacondaãã§ãã
Windowsã§Python=Anacondaã¯ãç¾å¨ãå¤ãã£ã¦ããªãã¨æãã¾ãã
Anacondaã¯ãPython(æ©æ¢°å¦ç¿ãªã©)ãåºããããã±ã¼ã¸ã»ããã«ãªãã¾ããAnacondaä¸ã§ä»®æ³ç°å¢ãæ§ç¯ããPythonVersionãè¨å®ãããã¨ãå¯è½ã§ãã
ãã®ãããç°å¢ã¨ãã©ãã§ããããããPythonã§è©¦ãããã人ã«ã¨ã£ã¦ã¯å¼·åãªä¾¡å¤ãæä¾ãã¾ãã
åè:Anaconda 㯠Environment Isolation Tool (ç°å¢åé¢ãã¼ã«) ã§ã¯ãªã
ä¸æ¹ãAnacondaã«ã¯æ¯ãå¤ããLinuxãMACã§ã¯è²ã
åé¡ãèµ·ãã¾ãã
åè:Pythonã®ç°å¢ç®¡çãã¼ã«è¯ãæªã
åè:pyenvãå¿
è¦ãã©ããããã¼ãã£ã¼ã
åè:condaã¨pipï¼æ··ãããªå±éº
ä¸è¨ã®ãããªåé¡ãé¿ããããã«ã¯ãã©ã¤ãã©ãªãªã©ãç確ã«æ§ç¯ããã»ããå¹çãè¯ãã±ã¼ã¹ãããã¾ãããã®å ´åã¯ãpyenvãªã©ãå©ç¨ããå½¢å¼ã¨ãªãã¾ãã
çµå±ãã©ã®ããã«èããã®ãï¼
Pythonã®ç°å¢æ§ç¯ã«ããããã¤ã³ãã¯2ç¹ã
- pythonã®ç®¡çãã©ããããï¼
- ã©ã¤ãã©ãªã®ç®¡çãã©ããããï¼
ä¸è¨è¦³ç¹ã«ã¤ãã¦ãæ¸å·ããã®ã¾ã¨ããQiitaã®è¨äºãä¸çªè¯ãã£ãã§ãã
åè:pyenvãå¿
è¦ãã©ããããã¼ãã£ã¼ã
Pyenvã®é
åã¯Pythonã®Versionãç´°ãã管çã§ããã¨ããã«ããã¾ãã
Pyenv+env(virtualenv)ã®ã»ããããPythonéçºè
ã®ä¸»æµã«ãªãã¨æãã¾ãã
åè:ä»®æ³ç°å¢ã¨ããã±ã¼ã¸
åè:venvã使ã£ãmacOSã®Pythonéçºç°å¢2016
ç§ã¯ã家ããã°ã©ãã³ã°ã§éã¶ã¨ãã¯ãææ°ã©ã¤ãã©ãªã¨ææ°Pythonã§éã³ãã欲ãããã¾ããææ°Verã®Pythonå
¥ããã=>Pyenvã§ã¾ãç°å¢ã¤ããã®ã¯ãæ£ç´é¢åèãã»ã»ã»ã»ã
ãã®ãããPythonç°å¢æ§ç¯ã®ä¾¿å©ããæ±ãã Python2ç³»ã¨ãææ°ã®Python3ãåæ ããããç°å¢ã«ãããã¨ã«ãã¾ããã
以ä¸ã®è¨äºãåèã«ãªãã¾ãã
åè:Pythonã®ç°å¢è¨å®ã§ããã¤ãã¦ã人ã¯ã¨ãããããããã³ããã§å®è¡ãã¦ãã ãã 2017.01
åè:Pythonãæ£ããã¤ã³ã¹ãã¼ã«ãããã
ä¸æ¹ãWindowsã§Pythonã使ããã人ã¯ãAnacondaã§è¯ãã¨æãã¾ãã
å³å¯ã«ç®¡çããã人ã¯ãä¸è¨åãªã³ã¯ããã©ãã°çããããã¾ãã
åè:Anaconda 㧠Python ç°å¢ãã¤ã³ã¹ãã¼ã«ãã
以éã¯ãMACã§ç°å¢æ´ããã¨ãã®ã¡ã¢ã«ãªãã¾ãã
pyenv uninstall anaconda2
pyenv uninstall anaconda3
brew uninstall pyenv
brew uninstall --ignore-dependencies python
brew uninstall --ignore-dependencies python3
brew uninstall --ignore-dependencies python2
rm -rf anaconda
brew installã§ã¨ã©ã¼ãçºçããã®ã§ããã®è§£æ±ºæ³ãå©ç¨
sudo mkdir /usr/local/lib
sudo mkdir /usr/local/include
sudo mkdir /usr/local/Frameworks
sudo mkdir /usr/local/Frameworks/Python.framework
sudo chown -R $(whoami) $(brew --prefix)/*
brew install python3
brew install python2
virtualenv(python3.3æªæº)
Pythonã®ä»®æ³ç°å¢ãæ§ç¯ã§ããvirtualenvã使ã£ã¦ã¿ã
venv
åè:venv â ä»®æ³ç°å¢ã®ä½æ
åè:venv: Python ä»®æ³ç°å¢ç®¡ç
cd [project folder]
mkdir venv
python3 -m venv [newenvname]
source [newenvname]/bin/activate
Errorãã§ã
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. pip (9.0.3) setuptools (39.0.1) You are using pip version 9.0.3, however version 10.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
pip install -U pip
ã¨ãã¹ãã¼ãPythonããã°ã©ãã³ã° æ¹è¨2ç (ã¢ã¹ãã¼ãã¯ã³ã´)
- ä½è : Michaï½ Jaworski,ï¼´ï½ï½ï½ ï½ï¼ºï½ï½ï½ï½ ,稲ç°ç´å,èç°å°,æ¸å·ããã,æ¸ æ°´å·è²´ä¹,森æ¬å²ä¹
- åºç社/ã¡ã¼ã«ã¼: ãã¯ã³ã´
- çºå£²æ¥: 2018/02/26
- ã¡ãã£ã¢: Kindleç
- ãã®ååãå«ãããã°ãè¦ã
ç¬å¦ããã°ã©ãã¼ Pythonè¨èªã®åºæ¬ããä»äºã®ããæ¹ã¾ã§
- ä½è : ã³ã¼ãªã¼ã»ã¢ã«ã½ã,æ¸ æ°´å·è²´ä¹ç£è¨³,æ¸ æ°´å·è²´ä¹,æ°æ¨é ä¹
- åºç社/ã¡ã¼ã«ã¼: æ¥çµBP社
- çºå£²æ¥: 2018/02/24
- ã¡ãã£ã¢: åè¡æ¬
- ãã®ååãå«ãããã° (1件) ãè¦ã
12æ³ããã¯ããã ã¼ãããã® Pythonã²ã¼ã ããã°ã©ãã³ã°æ室
- ä½è : 大槻æä¸é,ãªããã¯ã¼ã¯ã¹Pythoné¨,éªå°
- åºç社/ã¡ã¼ã«ã¼: ã©ãã«ãº
- çºå£²æ¥: 2017/05/11
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- ãã®ååãå«ãããã°ãè¦ã
Pythonã¦ã¼ã¶ã®ããã®Jupyter[å®è·µ]å ¥é
- ä½è : æ± å åå,çæ³è«å,岩尾ã¨ãã¯ãã,@driller
- åºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾
- çºå£²æ¥: 2017/09/09
- ã¡ãã£ã¢: 大åæ¬
- ãã®ååãå«ãããã° (1件) ãè¦ã
ãã¼ã«ã«ã¼ã ã¸ããããâ â â â â
Primi Video
第ï¼è©±ï¼Heat.1ï¼ï¼å°ç¬ åãã³ã¹ã¹ã¿ã¸ãªã¸ãããã
- çºå£²æ¥: 2017/07/08
- ã¡ãã£ã¢: Amazonãããª
- ãã®ååãå«ãããã°ãè¦ã
ä¸è¨ã§è¨ãã¨
ãã·ã£ã«ã¦ã£ã¼ãã³ã¹âã¦ãªããªè¸è½äººç¤¾äº¤ãã³ã¹é¨âãã¼ã«ã«ã¼ã ã¸ããããã
KeyWord
社交ãã³ã¹ãåå¤ããã³ãçãã
ãããã
ä½ãããã°ãããåãããªãå¹³å¡ãªä¸å¦çã»å¯å£«ç°å¤ã è¯ã¯ãããåºæ¥äºããã£ããã«ç¤¾äº¤ãã³ã¹ã®é åã«å¼ãè¾¼ã¾ãã¦ããã
ãä½ãä¸ã¤ã§ããã好ãã ã¨è¨ãããã®ãããã°ã
ä»ã®èªåããå¤ãããããå¤ã è¯ã¯ç¤¾äº¤ãã³ã¹ã®ä¸çã¸é£ã³è¾¼ãã
ææ³
åä½ãèªãã§æ¥ãã®ã§ä¸ã
æãåºããªãã£ãä½åã
ã¢ãã¡ãè¦ãçç´ãªææ³ã¯ãç´ æ´ããããã§ãã
ãã©ã¤ã ã®ãã¼ã«ã«ã¼ã ã¸ããããè¦çµãããæé«ã ã£ãã
— ã¨ã«ã¯ (@hogeai) 2018å¹´6æ8æ¥
åå¤ãã¼ãããã®å éæã¯åä½ã¨åãç±éã§ç±ãã£ããåä½ä¼æ¢ä»¥éã®ã¢ãã¡ã¹ãã¼ãªã¼å è¡é¨åããåå¤ã¨ã®ãã³ã¹æç»ã®èºåæã«å§åããããã¢ãã¡ã ããããã®è¡¨ç¾ãåãã
ä½è ã®ä½èª¿ãå復ãã¦ããã¤ã復帰ããã¨å¬ããã
ç¹ã«ãã³ã¡ãããå¯æãã
åä½ãèªãã¨ãèºåæã¨ç±éãåããæ¬å½ã«ãã£ã©ãåãã¦ããããªé¯è¦ãè¦ããã®ã§ãã
- ããã ãã®ç±éãã¢ãã¡åã§åç¾åºæ¥ãã®ãï¼
- æ£ã
è£åããã¦ããã¢ãã¡åã®ä¸ã¤ã«ããã¼ã«ã«ã¼ã ã¸ãããããå
¥ã£ã¦ãã¾ãã®ãï¼
- åä½ãä½è
ã®ä½èª¿ä¸è¯ã§æ¢ã¾ã£ã¦ããä¸ãã¢ãã¡ã¯ã©ãããçµè«ã«å°ãã®ãï¼
ãªã©ã好ããªä½åã ããããã®ä¸å®ãããã¾ãã
ææã§ããããæé«ãã§ãã
ç¹ã«ãåä½ä»¥éã®æåãå端ãªãã
ãã¨ããã³ã¡ãããå¯æãã
åä½ã§ãããã§ãããããã©ãã¼ãã女æ§ãå¤ãããã¨ã§å
容ãå¤ããã®ã§ãç¾æç¹ã§ã¯ä¸é¨æ§æã«ãªãã¾ãã
1.ãããç·¨:ãã³ã¹æ¥½ããã¼(ï¾âï¾)
2.ã¾ãç·¨ :ãã³ã¹æ¥½ããã¼(ï¾âï¾)ãã³ã¡ããå¯æã(´Ïï½)
3.åå¤ç·¨ :ãã³ã¹ã£ã¦ä½ãªãã ãã½(ï½Ð´#)ï¾ ï¾ï½·ï½°!!
ç¹ã«åå¤ãã¼ãããã®å éæãèºåæã¯åãã
ç·æ§ãã¼ãã§ãããªã¼ãã¼åºèº«ã®åå¤ã¯ã主人å
¬ã®å¤ã
è¯ããããã³ã¹ãç¥ã£ã¦ããã®ã§
女æ§å´ã¸ã®ãã©ãã¼ã«ãç¾æèããããèªåãããä¸æãªãªã¼ãã許ãããèªååæã«åãããã«èµ·ããè¡çªã
ä½ãããæ£å対ã®äºäººãã社交ãã³ã¹ãå
±æããéç¨ã§çã¾ããã¹ãã¬ã¹ã¨å
çã
ãããããã³ã¹ã®ç¾ã«æè¯ããããã»ã¹ã®æ¦ããèºåæãä¸ä½æã
社交ãã³ã¹ãç¥ããªãã¦ãã追ä½é¨ã¨ãã¦ãã³ã¹ã®ä¸çãç¥ããã¨ãåºæ¥ã¾ãã
ã¢ãã¡ã§ç´ æ´ãããã£ãã®ã¯ããã®æè¯ã®éç¨ãæããã³ã¹ã³ã³ãã¹ãã®ä½ç»ã ãé¡ç¸ã¨è±ãã¨è¡¨ç¾ããã社交ãã³ã¹ã®ãªã¼ãã¼ã¨ãã©ãã¼ã®é¢ä¿æ§ããäºäººããã³ã¹ã«æè¯ããä½ç»ãç©åãäºã«ãªã£ã¦ãã¾ãã
ã¨ãããã¾ã§æ¸ããªãããåæã¯åã®åãã®ã©ã¹ãã·ã¼ã³ãæãåºãã¾ããã
ã©ã¡ããå
±éããã®ã¯ãä½ç»ã«ããã¦è¡¨ç¾æ´»åã«ãããææ
ã®æè¯ã«æåãã¦ãããã¨ã§ãã
ã¢ãã¡çã¯ãåä½ãããå
è¡ãã¦ãã¾ãã®ã§ãåä½ãä»å¾ãåãéã辿ãã¨ã¯éãã¾ããã
åä½ãã¡ã³ãç´å¾ã§ããã¢ãã¡ã«ãªã£ã¦ããã¨æãã¾ãã
Python3.5ç°å¢ã§Black
ãããããã¨
Python3.5éçºç°å¢ã§Blackã使ããã
Python code Formatter
Black Github
æ°çã®Python Code Formatter
ãã´ããã£ããããã
python3.6+ã®ãããPython3.5ç³»ç°å¢ã§ã¯å
¥ããã
家ã®Macã§ã¯VIMããå¼ã³åºãã¦éã³ãä¼ç¤¾ã§ä½¿ããã¨ã諦ãã¦ãã¾ããã
æã¯ãã
諦ãåããããã©ãã©ããã¥ã¡ã³ããè¦ã¦ããã¨æ°ã¥ãã
Pycharm Extensionã¨ãã¦ã®å¼ã³åºãæ¹ãæ¸ãã¦ããï¼ï¼
Pycharmã¯condaããpyenvã®envç°å¢ãProjectæ¯ã«è¨å®ãããã¨ãå¯è½ã§ãã
ãã®ãããPython3.5éçºç°å¢ã§ãExtensionã ããPython3.6ã®envæå®ããã°ãããã¯ãï¼
ãã£ã¦ã¿ã
ã¾ãã¯Blackç¨ã®ä»®æ³ç°å¢ãä½æ
C:\Windows\System32>conda create -n dev python=3.6
C:\Windows\System32>activate dev
(dev) C:\Windows\System32>pip install black
(dev) C:\Windows\System32>black --help Usage: black [OPTIONS] [SRC]...
The uncompromising code formatter.
(dev) C:\Windows\System32>where black d:\Anaconda3\envs\dev\Scripts\black.exe(â )
ExtensionãToolsã¨ãã¦ã®ç»é²
å ¬å¼ã®è¨å®ããã¨ã«Pycharmã®è¨å®
- File -> Settings -> Tools -> External Tools.
- Click the + icon to add a new external tool with the following values:
- Name: Black
- Description: Black is the uncompromising Python code formatter.
- Program: <â ã®PATH>
- Arguments: $FilePath$
ExtensionãToolsããã¼ãããè¨å®
- File -> Settings -> Keymap -> External Tools -> External Tools - Black
- ããã«ã¯ãªã㯠-> Add Keyboard Shortcut
- ã·ã§ã¼ãã«ãããå
¥å
- Pycharmã®ReformattingããCtrl+Alt+Lããªã®ã§ãAlt+Lãã«ãã¾ããã
- åè
Alt+Lããã£ã¦ã¿ãï¼
Sklearnããã½ã¼ã¹ãæåãã¦ãPycharmã®DefaultFormatterãå·¦ãå³ãBlackã«ãªãã¾ãã
é
åãè¾æ¸åãã®ã³ã¼ãæ´å½¢ã¨ãå¼æ°å¨ãã®ã³ã¼ãæ´å½¢ãèµ°ã£ã¦ããã®ããããã¾ãã
å¾ãèªåçã«è¾æ¸é
åã®ã¨ããã«[,]å
¥ãã¦ããã¦ã¾ãã
Pycharmãªãæ軽ã«å®è¡ã§ãã¦ç´ æ´ãããï¼ï¼
ãã¤ã«ãº ãªã 㸠ã¢ãã¹â ââââ
Primi Video
テイルズ オブ ジ アビス | 動画 | Amazonビデオ
ä¸è¨ã§è¨ãã¨
ãä¸»äººå ¬ãééãã¦ããã
KeyWord
BUMP OF CHICKENãç¡çç¢çãªå ç¸ãç¡é§ãªçãç©
ææ³
BUMP OF CHICKENã®ãSONG FOR TALES OF THE ABYSSãã¯æã£ã¦ããã®ã§ãé³æ¥½ã ãã¯ç¥ã£ã¦ããç¶æ
ã
å
ã«è§ã主人å
¬ããããã主人å
¬ãã¢ãã·ã¥ã«ããã»ããããã£ã¨é¢ç½ãã£ãã
ã¢ãªã¨ãã¿ã¨ã®å¯¾ç«çå ç¸ãçã¿åºããã ãã®åå¨ãã¥ã¦ã
é
åçãªã®ã«é
åãçºæ®ããã«æ»ã«ãããã¼ã¬ã©ã¤æå£ã®é¢ã
ã
èæãã£ã¨æã£ã¦ããã°ããã¹ã¦åæºã«çµãã£ãã®ã§ã¯ãªããï¼
26話ãããã¹ãã¼ãªã¼ã®ä¸ã§ãçåã¯ä½ä¸ã¤è§£æ±ºããã«ãå¿èåã ãã試ãããã