一、安裝pippython
yum install python-pip
沒有python-pip包就執行命令 centos
yum -y install epel-release
對安裝好的pip進行升級 api
pip install --upgrade pip
二、安裝百度雲/百度網盤Python客戶端 瀏覽器
pip2.7 install bypy
bypy info
Please visit: https://openapi.baidu.com/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn And authorize this app Paste the Authorization Code here within 10 minutes. Press [Enter] when you are done
用瀏覽器打開連接,將驗證碼輸入後回車,便可完成受權,對應網盤目錄
百度網盤-->個人應用數據-->bypy
更詳細的瞭解某一個命令:
#bypy help <command> 顯示在雲盤(程序的)根目錄下文件列表: #bypy list 把當前目錄同步到雲盤: #bypy syncup 或者 #bypy upload 把雲盤內容同步到本地來: #bypy syncdown 或者 #bypy downdir / 比較本地當前目錄和雲盤(程序的)根目錄(我的認爲很是有用): #bypy compare
三、guibash
命令:app
bypygui
可能會有:ImportError: No module named '_tkinter'
ide
導入ui
yum install -y tkinter yum install -y tk-devel
tar -xzvf centos.sougou.fcitx.tar.gz cd x86_64 yum localinstall *.rpm
#安裝播放器主程序this
yum -y install mplayer yum -y install mplayer-gui yum -y install ffmpeg*