{"id":3690,"date":"2018-03-17T21:27:30","date_gmt":"2018-03-17T12:27:30","guid":{"rendered":"https:\/\/www.ws-meguro.com\/\/?p=3690"},"modified":"2018-03-17T21:48:37","modified_gmt":"2018-03-17T12:48:37","slug":"python%e3%81%a7rpa%e3%81%ab%e3%83%88%e3%83%a9%e3%82%a4%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.wsmeguro.jp\/wp\/?p=3690","title":{"rendered":"Python\u3067RPA\u306b\u30c8\u30e9\u30a4\uff01\uff08\u74b0\u5883\u3065\u304f\u308a\uff09"},"content":{"rendered":"<p>\u6700\u8fd1\u306f\u3084\u308a\u306eRPA\u3002\u6d41\u884c\u306b\u4e57\u3063\u3066\u3053\u3093\u306a\u672c\u3092\u8cb7\u3063\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n<a href=\"https:\/\/www.amazon.co.jp\/%E9%80%80%E5%B1%88%E3%81%AA%E3%81%93%E3%81%A8%E3%81%AFPython%E3%81%AB%E3%82%84%E3%82%89%E3%81%9B%E3%82%88%E3%81%86-%E2%80%95%E3%83%8E%E3%83%B3%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9E%E3%83%BC%E3%81%AB%E3%82%82%E3%81%A7%E3%81%8D%E3%82%8B%E8%87%AA%E5%8B%95%E5%8C%96%E5%87%A6%E7%90%86%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0-Al-Sweigart\/dp\/487311778X\/ref=as_li_ss_il?s=books&amp;ie=UTF8&amp;qid=1521285795&amp;sr=1-1&amp;keywords=%E9%80%80%E5%B1%88%E3%81%AA%E3%81%93%E3%81%A8%E3%81%AFpython%E3%81%AB%E3%82%84%E3%82%89%E3%81%9B%E3%82%88%E3%81%86&amp;linkCode=li2&amp;tag=masuday55cm-22&amp;linkId=22d9a2904131480fbcc75b0c48ed9f72\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=487311778X&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=masuday55cm-22\" border=\"0\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=masuday55cm-22&amp;l=li2&amp;o=9&amp;a=487311778X\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/><br \/>\n\u305d\u308c\u3067\u3001\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305fxrea plus\u3067\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3057\u305f\u3082\u306e\u306e\u3001\u3053\u306e\u672c\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u307e\u308a\u5165\u3063\u3066\u3044\u306a\u3044\u3002\u306e\u3067\u3001Cloud Service\u3092\u3044\u304f\u3064\u304b\u8a66\u3057\u3066\u307f\u305f\u3002<br \/>\n\uff11\uff0eAWS<br \/>\n\u666e\u901a\u306eLINUX\u30b5\u30fc\u30d0\u306a\u306e\u3067\u3001\u666e\u901a\u306b\u306a\u3093\u3067\u3082\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u304c\u3001\u306a\u3093\u3060\u304b\u4f55\u306b\u3069\u308c\u3060\u3051\u304a\u91d1\u304c\u304b\u304b\u308b\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3002\u8abf\u3079\u3066\u307f\u308b\u3068\u3001<a href=\"https:\/\/www.skyarch.net\/blog\/?p=8798\" target=\"_blank\" rel=\"noopener\">\u6016\u3044\u8a71<\/a>\u3082\u5165\u3063\u3066\u304d\u3066\u6c17\u6301\u3061\u7684\u306b\u5f15\u3044\u3066\u304d\u305f\u3002<br \/>\n\uff12\uff0eGCP<br \/>\n\u6599\u91d1\u8a2d\u5b9a\u306f\u308f\u304b\u308a\u3084\u3059\u305d\u3046\u3060\u3063\u305f\u3002\u3067\u3082\u3001url\u304c\u3069\u3053\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3002<br \/>\n\uff13\uff0eIBM Cloud<br \/>\n\u524d\u306b\u3061\u3087\u3063\u3068\u8a66\u3057\u3066\u307f\u305fIBM Cloud\u3002\u3088\u304f\u898b\u308b\u3068\u3001<a href=\"https:\/\/console.bluemix.net\/catalog\/starters\/python\" target=\"_blank\" rel=\"noopener\">Python\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b<\/a>\u3002\u305f\u3076\u3093\u3001\u8ffd\u52a0\u3067\u8acb\u6c42\u3055\u308c\u308b\u5fc3\u914d\u3082\u306a\u3055\u305d\u3046\u3002\u30e1\u30e2\u30ea\u304c256MB\u3068\u304b\u3042\u308a\u307e\u3059\u304c\u3001\u305f\u3076\u3093\u3001\u500b\u4eba\u304c\u8a66\u3059\u7bc4\u56f2\u3067\u3042\u308c\u3070\u5927\u4e08\u592b\u3002<br \/>\nweb\u4e0a\u3067\u52d5\u304f\u306e\u3067\u3001FLASK\u3067\u52d5\u304b\u3055\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u3053\u308c\u306f\u3001\u672a\u7d4c\u9a13\u306a\u306e\u3067\u3001\u8abf\u3079\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<br \/>\n\uff14\uff0exrea plus<br \/>\n\u3057\u304b\u3057\u306a\u304c\u3089\u3001FLASK\u3092\u899a\u3048\u308b\u524d\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u52d5\u304b\u3057\u305f\u3044\u308f\u3051\u3067\u3001\u6163\u308c\u89aa\u3057\u3093\u3060xrea plus\u3067\u52d5\u3044\u3066\u304f\u308c\u308c\u3070\u5e78\u305b\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u81ea\u5206\u306epython\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002<!--more--><br \/>\n\u53c2\u8003\u306b\u3055\u305b\u3066\u3082\u3089\u3063\u305f\u306e\u306f\u3001<a href=\"http:\/\/kumanabe.com\/pyenv%E3%81%AB%E3%82%88%E3%82%8B%E3%83%AC%E3%83%B3%E3%82%BF%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BCxrea%E4%B8%8A%E3%81%AEpython%E7%92%B0%E5%A2%83%E6%A7%8B%E7%AF%89\/\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u300c\u304f\u307e\u304f\u307e\u8cc7\u7523\u904b\u7528\u300d<\/a>\u3067\u3059\u3002<\/p>\n<ul>.pyenv\u3092\u6301\u3063\u3066\u304f\u308b\u3002<\/ul>\n<pre class=\"lang:python decode:true \">git clone https:\/\/github.com\/yyuu\/pyenv.git ~\/.pyenv<\/pre>\n<ul>tmp\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b<\/ul>\n<ul>$HOME\uff08\/virtual\/username\uff09\u306b\u300c.bashrc\u300d\u3092\u4f5c\u6210<\/ul>\n<pre class=\"lang:python decode:true\">export PYENV_ROOT=\"$HOME\/.pyenv\"\r\nexport PATH=\"$PYENV_ROOT\/bin:$PATH\"\r\nexport TMPDIR=\"$HOME\/tmp\"\r\nexport PYTHON_PATH=.\/\r\neval \"$(pyenv init -)\"<\/pre>\n<ul>.bashrc\u3092\u6709\u52b9\u306b\u3059\u308b<\/ul>\n<pre class=\"lang:python decode:true \">$ source .bashrc<\/pre>\n<ul>anaconda\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b<\/ul>\n<pre class=\"lang:python decode:true \">$ pyenv install anaconda<\/pre>\n<ul>anaconda3-5.1.0\u304c\u6700\u65b0\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/ul>\n<pre class=\"lang:python decode:true \">$ pyenv install anaconda3-5.1.0<\/pre>\n<ul>.bashrc\u306balias\u3092\u8ffd\u52a0\u3057\u3066\u3001\u4eca\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fpython\u3092\u547c\u3073\u3084\u3059\u304f\u3059\u308b\u3002<\/ul>\n<pre class=\"lang:python decode:true\">alias python36=\"$HOME\/.pyenv\/versions\/anaconda3-5.1.0\/bin\/python3.6\"<\/pre>\n<ul>\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306epip\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\/etc\u306b\u89e6\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b<\/ul>\n<pre class=\"lang:python decode:true\">$ wget https:\/\/pypi.python.org\/packages\/e7\/a8\/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13\/pip-8.1.2.tar.gz\r\n$ tar zvxf pip-8.1.2.tar.gz\r\n$ cd pip-8.1.2\r\n$ python36 setup.py install<\/pre>\n<ul>\u8db3\u308a\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/ul>\n<pre class=\"lang:python decode:true \" >$ python36 -m pip install \u30d1\u30c3\u30b1\u30fc\u30b8\u540d --user<\/pre>\n<p>\u3068\u3044\u3046\u611f\u3058\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u3084\u3063\u3066\u3001\u3075\u3068\u601d\u3063\u305f\u306e\u306f\u3001coreserver\u306epip\u3063\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304b\u3063\u305f\u6c17\u304c\u3057\u305f\u306e\u3067\u3001\u8a66\u3057\u306b\u3084\u3063\u3066\u307f\u305f\u306e\u304c\u3001\u3053\u3061\u3089\u3002<\/p>\n<pre class=\"lang:python decode:true \" >$ python3 -m pip install pyperclip --user\r\nCollecting pyperclip\r\n  Using cached pyperclip-1.6.0.tar.gz\r\nInstalling collected packages: pyperclip\r\n  Running setup.py install for pyperclip\r\nSuccessfully installed pyperclip\r\nYou are using pip version 7.1.2, however version 9.0.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\n$ python3\r\nPython 3.5.1 (default, Feb 13 2017, 18:04:48) \r\n[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import pyperclip\r\n>>>\r\n<\/pre>\n<p>\u3067\u304d\u305f\u3002\/.local\/lib\/python3.5\/site-packages\u306e\u4e2d\u306bpyperclip\u304c\u306f\u3044\u3063\u3066\u3044\u305f\u3002anaconda\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4e0d\u8981\u3060\u3063\u305f\u306e\u304b\uff01\u305d\u308c\u306b\u3057\u3066\u3082\u30017.1.2\u306f\u53e4\u3044\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u306f\u3084\u308a\u306eRPA\u3002\u6d41\u884c\u306b\u4e57\u3063\u3066\u3053\u3093\u306a\u672c\u3092\u8cb7\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u305d\u308c\u3067\u3001\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305fxrea plus\u3067\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3057\u305f\u3082\u306e\u306e\u3001\u3053\u306e\u672c\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u307e\u308a\u5165\u3063\u3066\u3044\u306a\u3044\u3002\u306e\u3067\u3001Cloud Service\u3092\u3044&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[526,485],"tags":[548,527,520,549],"class_list":["post-3690","post","type-post","status-publish","format-standard","hentry","category-python","category-485","tag-anaconda","tag-python","tag-xrea","tag-549"],"_links":{"self":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3690"}],"version-history":[{"count":7,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3690\/revisions"}],"predecessor-version":[{"id":3697,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3690\/revisions\/3697"}],"wp:attachment":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}