{"id":37049,"date":"2022-09-20T19:55:29","date_gmt":"2022-09-20T10:55:29","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=37049&#038;preview=true&#038;preview_id=37049"},"modified":"2024-03-01T18:29:45","modified_gmt":"2024-03-01T09:29:45","slug":"python-commands","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/","title":{"rendered":"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078"},"content":{"rendered":"<p>Python\u306f\u73fe\u5728\u3001<a href=\"https:\/\/kinsta.com\/blog\/best-programming-language-to-learn\/\">\u6700\u3082\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e<\/a>\u306e1\u3064\u3067\u3059\u3002\u30d1\u30ef\u30d5\u30eb\u3067\u3042\u308a\u306a\u304c\u3089\u3082\u30b7\u30f3\u30d7\u30eb\u3067\u3001\u307b\u307c\u3059\u3079\u3066\u306e\u958b\u767a\u74b0\u5883\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/insights.stackoverflow.com\/survey\/2021#most-loved-dreaded-and-wanted-language-want\">2021\u5e74\u306eStack Overflow\u306e\u8abf\u67fb<\/a>\u306b\u3088\u308b\u3068\u3001Python\u306f\u3001\u958b\u767a\u8005\u304c\u6700\u3082\u4f7f\u3044\u305f\u3044\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u9078\u3070\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_128331\" aria-describedby=\"caption-attachment-128331\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-128331 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/07\/stack-overflow-survey-1024x681.png\" alt=\"Stack Overflow\u306e\u8abf\u67fb\u7d50\u679c\" width=\"1024\" height=\"681\"><figcaption id=\"caption-attachment-128331\" class=\"wp-caption-text\">Stack Overflow\u306e\u8abf\u67fb\u7d50\u679c<\/figcaption><\/figure>\n\n<p>Python\u306f\u3001Jupyter Notebook\u3001Google Colaboratory\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b3\u30f3\u30d1\u30a4\u30e9\u306a\u3069\u306e\u30c4\u30fc\u30eb\u306e\u304a\u304b\u3052\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u305b\u305a\u306b\u3059\u3050\u306b\u4f7f\u3044\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u521d\u5fc3\u8005\u30ec\u30d9\u30eb\u3092\u8d85\u3048\u3001\u6c4e\u7528\u8a00\u8a9e\u306e\u771f\u306e\u529b\u3092\u4eab\u53d7\u3057\u305f\u3044\uff08\u7279\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/node-js-apps\/\">\u8907\u96d1\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a>\u3092\u4f5c\u6210\u3057\u305f\u3044\uff09\u3068\u601d\u3046\u306e\u3067\u3042\u308c\u3070\u3001\u9045\u304b\u308c\u65e9\u304b\u308cCLI\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b66\u3076\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u591a\u304f\u306e\u958b\u767a\u8005\u304c\u8a8d\u3081\u3066\u3044\u308b\u3088\u3046\u306b\u3001<a href=\"https:\/\/kinsta.com\/blog\/python-tutorials\/\">Python\u3092\u5b66\u7fd2<\/a>\u3059\u308b\u4e0a\u3067\u6700\u3082\u8e8a\u8e87\u3059\u308b\u9805\u76ee\u306e1\u3064\u304cCLI\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3059\u308c\u3070\u3059\u3050\u306b\u4f7f\u3044\u3053\u306a\u305b\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Python\u3067\u958b\u767a\u3059\u308b\u4e0a\u3067\u6700\u3082\u6709\u7528\u306a\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u6982\u8981<\/h2>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08CLI\uff09\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u3084\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\uff08OS\uff09\u306b\u95a2\u9023\u3059\u308b\u4f5c\u696d\u3001\u4f8b\u3048\u3070\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3084\u7ba1\u7406\u306a\u3069\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>CLI\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089<a href=\"https:\/\/kinsta.com\/blog\/linux-commands\/\">\u30b3\u30de\u30f3\u30c9\u306e\u5f62\u5f0f<\/a>\u3067\u5165\u529b\u3092\u53d7\u3051\u4ed8\u3051\u3001\u30b7\u30a7\u30eb\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306b\u6e21\u3057\u307e\u3059\u3002\u30b7\u30a7\u30eb\u306f\u3001\u5165\u529b\u3055\u308c\u305f\u30b3\u30de\u30f3\u30c9\u3092\u89e3\u91c8\u3001\u5b9f\u884c\u3057\u3001\u7d50\u679c\u3092\u51fa\u529b\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>CLI\u306f\u7570\u306a\u308b\u30b7\u30a7\u30eb\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306f\u30012\u7a2e\u985e\u306e\u30b7\u30a7\u30eb\u3001Python\u30b7\u30a7\u30eb\u3068Bash\u30b7\u30a7\u30eb\u3067\u306eCLI\u306e\u69d8\u5b50\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_128333\" aria-describedby=\"caption-attachment-128333\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-128333 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/07\/Command-line-Python-Bash-1-1024x576.png\" alt=\"Python\u30b7\u30a7\u30eb\u3068Bash\u30b7\u30a7\u30eb\" width=\"1024\" height=\"576\"><figcaption id=\"caption-attachment-128333\" class=\"wp-caption-text\">Python\u30b7\u30a7\u30eb\u3068Bash\u30b7\u30a7\u30eb<\/figcaption><\/figure>\n<p>CLI\u3068\u30b7\u30a7\u30eb\u306f\u3057\u3070\u3057\u3070\u6df7\u540c\u3055\u308c\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"font-weight: 400\">CLI\u2500\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3002\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3001\u51fa\u529b\u3092\u53d6\u5f97\u3059\u308b\u3002\u7570\u306a\u308b\u30b7\u30a7\u30eb\u3092\u5b9f\u884c\u53ef\u80fd\u3002<\/li>\n<li style=\"font-weight: 400\">\u30b7\u30a7\u30eb\u2500\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3068\u5bfe\u8a71\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u3002<\/li>\n<\/ul>\n<p>\u30b7\u30b9\u30c6\u30e0\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3001\u30b3\u30de\u30f3\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u6bce\u65e5\u63a5\u3057\u3066\u3044\u308b\u30a6\u30a3\u30f3\u30c9\u30a6\u30b7\u30b9\u30c6\u30e0\uff08<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%82%B0%E3%83%A9%E3%83%95%E3%82%A3%E3%82%AB%E3%83%AB%E3%83%A6%E3%83%BC%E3%82%B6%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%95%E3%82%A7%E3%83%BC%E3%82%B9\">GUI<\/a>\uff09\u3082\u3001\u30b3\u30de\u30f3\u30c9\u3092\u8d77\u52d5\u3057\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3068\u5bfe\u8a71\u3059\u308b\u4ef2\u4ecb\u5f79\u3068\u3057\u3066\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u30b3\u30de\u30f3\u30c9\u3068\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306eOS\u306b\u4e0e\u3048\u3089\u308c\u308b\u5177\u4f53\u7684\u306a\u547d\u4ee4\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<\/aside>\n\n<h3>Python\u958b\u767a\u306b\u304a\u3051\u308bCLI\u306e\u5fc5\u8981\u6027<\/h3>\n<p>\u4e00\u4eba\u524d\u306e<a href=\"https:\/\/kinsta.com\/blog\/what-is-a-full-stack-developer\/\">\u30d5\u30eb\u30b9\u30bf\u30c3\u30af\u958b\u767a\u8005<\/a>\u306b\u306a\u308b\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u95a2\u3059\u308b\u78ba\u304b\u306a\u77e5\u8b58\u304c\u5fc5\u8981\u3067\u3059\u3002\u307b\u3068\u3093\u3069\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u4f55\u3089\u304b\u306e\u5f62\u3067CLI\u3068\u306e\u76f4\u63a5\u306e\u3084\u308a\u3068\u308a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u81ea\u5206\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u306a\u3089\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u5b58\u5728\u306f\u7121\u8996\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u73fe\u5728\u3067\u306f\u3001\u6570\u3005\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30b5\u30fc\u30d3\u30b9\u3067Python\u3092\u5b9f\u884c\u3067\u304d\u3001IDE\u304c\u3042\u308c\u3070\u3055\u3089\u306b\u7c21\u5358\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002\u3057\u304b\u3057\u3001<a href=\"https:\/\/kinsta.com\/blog\/git-for-web-development\/\">\u30a6\u30a7\u30d6\u958b\u767a<\/a>\uff08\u7279\u306b<a href=\"https:\/\/kinsta.com\/blog\/backend-vs-frontend\/\">\u30d0\u30c3\u30af\u30a8\u30f3\u30c9<\/a>\uff09\u3001\u30bf\u30b9\u30af\u306e\u81ea\u52d5\u5316\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/generate-ssh-key\/\">SSH<\/a>\u306b\u3088\u308b\u30ea\u30e2\u30fc\u30c8\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u4f7f\u7528\u3001Docker\u306a\u3069\u306ePython\u3068\u9023\u643a\u3059\u308b\u30c4\u30fc\u30eb\u306e\u7ba1\u7406\u306a\u3069\u3067\u306f\u3001CLI\u306e\u64cd\u4f5c\u306f\u907f\u3051\u3066\u901a\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u5b9f\u969b\u3001Python\u306b\u306fTyper\u3001Argsparse\u3001Click\u306a\u3069\u3001CLI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u7bc9\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u591a\u6570\u3042\u308b\u305f\u3081\u3001\u305f\u3060\u306eCLI\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u3001CLI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210\u8005\u306b\u306a\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u3069\u3053\u308d\u304b\u3001\u3053\u306e\u4e8b\u5b9f\u304b\u3089\u306f\u3001CLI\u74b0\u5883\u3068Python\u306e\u5bc6\u63a5\u306a\u95a2\u4fc2\u6027\u304c\u4f3a\u3048\u307e\u3059\u3002<\/p>\n<p>CLI\u3092\u7fd2\u5f97\u3059\u308c\u3070\u3001<a href=\"https:\/\/kinsta.com\/blog\/python-tutorials\/\">Python\u30d7\u30ed\u30b0\u30e9\u30de\u30fc<\/a>\u3068\u3057\u3066\u3088\u308a\u52b9\u7387\u7684\u306b\u958b\u767a\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001<a href=\"https:\/\/kinsta.com\/blog\/php-vs-python\/\">PHP<\/a>\u3001C\u3001C++\u3001<a href=\"https:\/\/kinsta.com\/blog\/java-developer\/\">Java<\/a>\u306a\u3069\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u3082\u5fdc\u7528\u53ef\u80fd\u307e\u3059\u3002<\/p>\n<h2>CLI\u5165\u9580<\/h2>\n<p>\u3069\u306eOS\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304b\u306b\u3088\u3063\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u4f7f\u3044\u65b9\u306b\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002OS\u3054\u3068\u306b\u30d5\u30a1\u30a4\u30eb\u69cb\u6210\u3084\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30de\u30f3\u30c9\u30b7\u30a7\u30eb\u306f\u7570\u306a\u308a\u3001CLI\u3092\u958b\u3044\u3066\u5bfe\u8a71\u3059\u308b\u65b9\u6cd5\u3082\u7570\u306a\u308a\u307e\u3059\u306e\u3067\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u6700\u3082\u4e00\u822c\u7684\u306a3\u3064\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3001Windows\u3001Mac\u3001Linux\u306b\u3064\u3044\u3066\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3>Windows<\/h3>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-screenshot-on-windows\/\">Windows<\/a>\u306f\u3001\u305d\u306e\u4fa1\u683c\u3068\u4f7f\u3044\u3084\u3059\u3055\u304b\u3089\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7OS\u3067\u3059\u3002Windows\u3067CLI\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u300c\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u300d\u307e\u305f\u306f\u300cWindows PowerShell\u300d\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001Windows\u3067\u306e\u30d1\u30b9\u306f\u300c<code>\/<\/code>\u300d\u3067\u306f\u306a\u304f\u3001\u300c<code>\\<\/code>\u300d\uff08\u65e5\u672c\u8a9e\u74b0\u5883\u3067\u306f\u300c\u00a5\u300d\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305fWindows\u3067\u306f\u4ee3\u66ff\u6848\u3068\u3057\u3066\u3001Bash\u30b7\u30a7\u30eb\u306e\u52d5\u4f5c\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u300c<a href=\"https:\/\/git-scm.com\/download\/win\">Git Bash<\/a>\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002Git Bash\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5f8c\u307b\u3069\u3054\u7d39\u4ecb\u3059\u308b\u307b\u307c\u3059\u3079\u3066\u306eUnix\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Mac<\/h3>\n<p>Mac\u3067\u306f\u3001\u5185\u8535\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300c\u30bf\u30fc\u30df\u30ca\u30eb\u300d\u304b\u3089\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u306fLaunchpad\u3067\u691c\u7d22\u3059\u308b\u304b\u3001\u300c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u306e\u4e2d\u306e\u300c\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u300d\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>Linux<\/h3>\n<p>Linux\u3067\u306f\u3001\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u69d8\u3005\u306a\u9078\u629e\u80a2\u304c\u3042\u308a\u307e\u3059\u3002\u901a\u5e38\u306f\u300cCtrl\uff0bAlt\uff0bT\u300d\u3092\u62bc\u3059\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_128334\" aria-describedby=\"caption-attachment-128334\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-128334 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/07\/terminal-1024x519.png\" alt=\"CLI\" width=\"1024\" height=\"519\"><figcaption id=\"caption-attachment-128334\" class=\"wp-caption-text\">CLI<\/figcaption><\/figure>\n<h2>Phtyon\u958b\u767a\u3067\u5f79\u7acb\u3064CLI\u30b3\u30de\u30f3\u30c923\u9078<\/h2>\n<p>CLI\u3092\u958b\u3044\u305f\u3089\u3001Python\u958b\u767a\u306e\u4f5c\u696d\u3092\u697d\u306b\u3057\u3066\u304f\u308c\u308b\u4fbf\u5229\u306a\u30b7\u30a7\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7cfb\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>Python\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u3001\u6050\u3089\u304f100\u4e07\u901a\u308a\u8fd1\u304f\u3042\u308a\u307e\u3059\u304c\u3001\u72b6\u6cc1\u306b\u3088\u3063\u3066\u306f\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u307b\u3046\u304c\u4fbf\u5229\u306a\u5834\u9762\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001\u5404OS\u4e0a\u306bPython\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u69d8\u3005\u306a\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h4>1. Chocolatey<\/h4>\n<p>Windows\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u4ee3\u308f\u308a\u306b<a href=\"https:\/\/chocolatey.org\/\">Chocolatey<\/a>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<a href=\"https:\/\/community.chocolatey.org\/packages\/python\">Python<\/a>\u3092\u542b\u3080\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u76f4\u63a5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/chocolatey.org\/install\">Chocolatey\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u5f8c\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">choco install python --pre <\/code><\/pre>\n<h4>2. Homebrew \u3068 Pyenv<\/h4>\n<p>macOS\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067Python 2.7\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u73fe\u5728\u3067\u306f\u975e\u63a8\u5968\u3067\u3059\uff08macOS 12.3\u4ee5\u964d\u524a\u9664\u3055\u308c\u3066\u3044\u307e\u3059\uff09\u3002\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u5168\u4f53\u3082Python 3\u306b\u79fb\u884c\u3057\u3066\u3044\u307e\u3059\u3002Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u52b9\u7387\u7684\u306b\u7ba1\u7406\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/github.com\/pyenv\/pyenv\">pyenv<\/a>\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u6700\u65b0\u7248\u306e<a href=\"https:\/\/brew.sh\/\">Homebrew<\/a>\uff08Chocolatey\u540c\u69d8\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">\/bin\/bash -c \"$(curl -fsSL\nhttps:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067pyenv\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">brew install pyenv<\/code><\/pre>\n<p>Python 2\u4ee5\u5916\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u306aPython\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pyenv install 3.10 # Version you want\npyenv global 3.10.4 # Sets that version as default<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001Python\u3092\u547c\u3073\u51fa\u3059\u3068\u3001pyenv\u3067\u8a2d\u5b9a\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">python\n# Python 3.10.4 ....\n# &gt;&gt;&gt;<\/code><\/pre>\n<h4>3. apt\u3001pacman\u3001dnf<\/h4>\n<p><a href=\"https:\/\/kinsta.com\/blog\/php-vs-python\/\">Python<\/a>\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/open-source-database\/\">\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/a>\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u591a\u304f\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u30d7\u30ea\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u306bPython\u304c\u306a\u3051\u308c\u3070\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Debian\u30d9\u30fc\u30b9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\uff08Ubuntu\u3001Linux Mint\u3001Kali Linux\uff09\u3067\u306f\u3001\u300capt\u300d\uff08advanced package tool\u306e\u7565\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">sudo apt update\nsudo apt install python3<\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306ePython\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u3068\u3057\u3066Python 3\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">sudo apt install python-is-python3<\/code><\/pre>\n<p>Arch\u30d9\u30fc\u30b9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u516c\u5f0f\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u300cpacman\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">sudo pacman -S python<\/code><\/pre>\n<p>Fedora\u3084RPM\u30d9\u30fc\u30b9\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\uff08Red Hat\u3001CentOS\uff09\u3067\u306f\u3001\u300cdnf\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">sudo dnf install python3<\/code><\/pre>\n<h3>\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u7cfb\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>Python\u30b3\u30de\u30f3\u30c9\u3068\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300cpip\u300d\u306e\u4e3b\u8981\u306a\u30d5\u30e9\u30b0\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u6a5f\u80fd\uff09\u3092\u7c21\u5358\u306b\u898b\u3066\u3044\u304d\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>4. python<\/h4>\n<p><code>python<\/code>\u30b3\u30de\u30f3\u30c9\u306b\u306f\u300c\u30d5\u30e9\u30b0\u300d\u3068\u547c\u3070\u308c\u308b\u3001\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u306e\u632f\u308b\u821e\u3044\u3092\u5909\u66f4\u3059\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Python\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u5358\u7d14\u306b\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u62e1\u5f35\u5b50\u300c<code>.py<\/code>\u300d\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">python helloworld.py<\/code><\/pre>\n<p>\u3082\u3057\u30d5\u30e9\u30b0\u306e\u610f\u5473\u304c\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u305f\u3089\u3001\u4ee5\u4e0b\u306e3\u3064\u306e\u5f62\u614b\u306e\u300c<code>help<\/code>\u300d\u30d5\u30e9\u30b0\u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">python -?\npython -h\npython --help<\/code><\/pre>\n<p>\u5b9f\u884c\u4e2d\u306ePython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">python -V\npython --version<\/code><\/pre>\n<p><code>.py<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u308a\u7de8\u96c6\u3057\u305f\u308a\u305b\u305a\u306bPython\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5834\u5408\u306f\u3001command\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3057\u3066\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># Hello, World!\npython -c \"print('Hello, World!')\"<\/code><\/pre>\n<p>\u300c<code>m<\/code>\u300d\u30d5\u30e9\u30b0\u306f\u3001Python\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u7d44\u307f\u8fbc\u307f\u306e<b>venv<\/b>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u308b\u5834\u5408\u306b\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">python -m venv .venv<\/code><\/pre>\n<h4>5. pip<\/h4>\n<p><a href=\"https:\/\/pip.pypa.io\/en\/stable\/\">pip<\/a>\u30b3\u30de\u30f3\u30c9\u306f\u3001Python Package Index\uff08PyPI\uff09\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u63a2\u3057\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u3001\u6307\u793a\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>Python\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u300c<code>pip<\/code>\u300d\u306b\u7d9a\u3051\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u540d\u524d\u3092\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pip install django<\/code><\/pre>\n<p>\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3042\u308c\u3070\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\"># pip install package==version\npip install django==4.0.4<\/code><\/pre>\n<p>1\u3064\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u643a\u308f\u308b\u5834\u5408\u306b\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u8ffd\u8de1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u901a\u5e38\u306f\u300cRequirements\u30d5\u30a1\u30a4\u30eb\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u300c<code>r<\/code>\u300d\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pip install -r requirements.txt<\/code><\/pre>\n<p>\u3082\u3046\u4e00\u3064\u306e\u3088\u304f\u4f7f\u308f\u308c\u308b\u6a5f\u80fd\u304c\u300c<code>freeze<\/code>\u300d\u3002\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u4e00\u89a7\u3092\u51fa\u529b\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u3001\u3053\u308c\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092Requirements\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pip freeze &gt;&gt; requirements.txt<\/code><\/pre>\n<h3>\u6a29\u9650\u7cfb\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>Python\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u5f97\u610f\u3068\u3059\u308b\u8a00\u8a9e\u3067\u3059\u304c\u3001\u3053\u3046\u3057\u305f\u4f5c\u696d\u3092\u884c\u3046\u306b\u306f\u3001OS\u306e\u6a29\u9650\u304c\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3057\u3066\u3044\u308b\u304b\u3001\u7406\u89e3\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4>6. sudo\u3001runas<\/h4>\n<p>Unix\u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\uff08macOS\u3001Linux\u3001BSD\uff09\u3067\u306f\u3001\u524d\u8ff0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u3088\u3046\u306a\u3001\u7279\u5b9a\u306e\u4f5c\u696d\u3092\u884c\u3046\u305f\u3081\u306e\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>sudo\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u3046\u3057\u305f\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u306e\u305f\u3081\u3001\u4e00\u6642\u7684\u306b\u7ba1\u7406\u8005\u6a29\u9650\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001ueberzug\uff08\u753b\u50cf\u30d7\u30ec\u30d3\u30e5\u30fc\u7528Python\u30d1\u30c3\u30b1\u30fc\u30b8\uff09\u3092\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">sudo pip install ueberzug<\/code><\/pre>\n<p>Windows\u3067\u306f\u3001\u5225\u306e\u30e6\u30fc\u30b6\u30fc\u307e\u305f\u306f\u7ba1\u7406\u8005\u3068\u3057\u3066\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b<a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb490994.aspx\">Runas<\/a>\u304c\u3053\u308c\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">runas \/noprofile \/user:Administrator cmd<\/code><\/pre>\n<p>\u307e\u305f\u3001<a href=\"https:\/\/gerardog.github.io\/gsudo\/\">Gsudo<\/a>\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3082\u3042\u308a\u307e\u3059\u3002\u4ed6\u306eWindows\u5185\u8535\u30b3\u30de\u30f3\u30c9\u306b\u6bd4\u3079\u3066\u3001\u306f\u308b\u304b\u306b\u7c21\u5358\u306b\u6a29\u9650\u3092\u6607\u683c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">:: Installs gsudo\nchoco install gsudo\n\n:: Reads a file named MySecretFile.txt\ngsudo type MySecretFile.txt<\/code><\/pre>\n<h4>7. chmod<\/h4>\n<p><code><a href=\"https:\/\/linux.die.net\/man\/1\/chmod\">chmod<\/a><\/code>\u306f\u3001Unix\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u6a29\u9650\u306e\u5909\u66f4\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u53ef\u80fd\u306b\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u306a\u4f7f\u7528\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># Makes mypythonscript.py executablechmod +x\nmypythonscript.py<\/code><\/pre>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u53ef\u80fd\u306b\u3057\u305f\u3089\u3001\u300c<code>.\/<\/code>\u300d\u3092\u4f7f\u7528\u3057\u3066\u76f4\u63a5\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># Runs the script\n.\/mypythonscript.py<\/code><\/pre>\n<h3>\u79fb\u52d5\u7cfb\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>Python\u958b\u767a\u8005\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u5185\u3092\u983b\u7e41\u306b\u79fb\u52d5\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u7d9a\u3044\u3066\u306f\u3001Python\u3067\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u969b\u306b\u30b7\u30b9\u30c6\u30e0\u5185\u306e\u79fb\u52d5\u3067\u4f7f\u7528\u3059\u308b\u3001\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h4>8. ls\u3001dir<\/h4>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30d5\u30a9\u30eb\u30c0\uff09\u306e\u4e2d\u8eab\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b\u306b\u306f\u3001<code>ls<\/code>\uff08Unix\uff09\u307e\u305f\u306f<code>dir<\/code>\uff08Windows\uff09\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002CLI\u3067\u6700\u521d\u306b\u899a\u3048\u308b\u306e\u306f\u3001\u6050\u3089\u304f\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001\u69cb\u6587\u306e\u4f7f\u7528\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">ls # Shows the contents of the working directory\nls mydirectory<\/code><\/pre>\n<p>\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u8eab\u3092\u8868\u793a\u3059\u308b\u4f8b\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<pre><code class=\"language-bash\">ls test_python\/\n# classes_error.py radius.py test-Django<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f\u3001\u6570\u591a\u304f\u306e\u4fbf\u5229\u306a\u30d5\u30e9\u30b0\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u300c<code>ls -al<\/code>\u300d\u3092\u30a8\u30a4\u30ea\u30a2\u30b9\u306b\u3057\u3066\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/show-hidden-files\/\">\u96a0\u3057\u30d5\u30a1\u30a4\u30eb<\/a>\uff08\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u30c9\u30c3\u30c8\u3067\u59cb\u307e\u308b\u30d5\u30a1\u30a4\u30eb\uff09\u3084\u3001\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u30e2\u30fc\u30c9\u3001\u30b5\u30a4\u30ba\u3001\u65e5\u4ed8\u3092\u8868\u793a\u3059\u308b\u306e\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">alias ls=\"ls -al\"\n\n# Results\ntotal 20\ndrwx------ 3 daniel daniel 4096 ene 16 19:13 .\ndrwxr-xr-x 36 daniel daniel 4096 may 17 22:18 ..\n-rw------- 1 daniel daniel  32 nov 17 2020 classes_error.py\n-rw------- 1 daniel daniel 327 nov 10 2020 radius.py\ndrwx------ 4 daniel daniel 4096 ene 16 01:07 test-Django<\/code><\/pre>\n<p>Windows\u3067\u306fGit Bash\u3067<code>ls<\/code>\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u5185\u8535\u306e<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/dir\">dir<\/a>\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">dir<\/code><\/pre>\n<h4>9. pwd<\/h4>\n<p><code>pwd<\/code>\u306f\u3001print working directory\uff08\u30ef\u30fc\u30af\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u8868\u793a\uff09\u306e\u7565\u3067\u3001\u305d\u306e\u540d\u524d\u306e\u901a\u308a\u3001\u73fe\u5728\u4f4d\u7f6e\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pwd\n# \/home\/daniel\/github\/HTML-site\/images<\/code><\/pre>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u81ea\u5206\u306e\u4f4d\u7f6e\u304c\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306e\u51fa\u756a\u3067\u3059\u3002<\/p>\n<p>Windows\u3067\u306f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u306a\u3057\u3067<code>cd<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u540c\u3058\u51fa\u529b\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u6ce8\u610f\uff1aUnix\u3067\u540c\u3058\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\uff09\u3002<\/p>\n<pre><code class=\"language-bash\"># Only on Windows\ncd\n# D:\\Folder\\subFolder<\/code><\/pre>\n<h4>10. cp<\/h4>\n<p>\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306a\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4f7f\u7528\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc\u306f\u3001\u76f4\u611f\u7684\u3067\u3059\u304c\u975e\u52b9\u7387\u7684\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u3042\u3089\u3086\u308b\u7a2e\u985e\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">cp old_file.txt copy_old_file.txt<\/code><\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u3059\u3079\u3066\u30b3\u30d4\u30fc\u3059\u308b\u306b\u306f\u3001<code>cp -r<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">cp -r originaldirectory\/ newdir<\/code><\/pre>\n<p>Windows\u3067<code>cp<\/code>\u306b\u76f8\u5f53\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306f<code>copy<\/code>\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">copy old_file.txt copy_old_file.txt \/a<\/code><\/pre>\n<h4>11. cat\u3001type<\/h4>\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u958b\u304b\u305a\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001Unix\u306e\u5834\u5408<code>cat<\/code>\u3001<code>more<\/code>\u3001<code>less<\/code>\u3001Windows\u306e\u5834\u5408\u306f<code>type<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">cat old_file.txt # Unix\ntype old_file.txt # Windows\n\n# Content\nHi there I hope you're enjoying the article ...\nas much as I've enjoyed writing it!\nEnd of the sample.<\/code><\/pre>\n<h4>12. mv\u3001move<\/h4>\n<p><code>mv<\/code>\u30b3\u30de\u30f3\u30c9\u306f\u3001\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u5225\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3059\u308b\uff08\u57fa\u672c\u7684\u306b\u306f\u30ab\u30c3\u30c8\uff06\u30da\u30fc\u30b9\u30c8\uff09\u3001\u307e\u305f\u306f\u79fb\u52d5\u5148\u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u66f4\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># Rename files\nmv source_file.txt renamed_file.txt<\/code><\/pre>\n<pre><code class=\"language-bash\"># File to another directory\nmv renamed_file.txt newdir\/<\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u79fb\u52d5\u306b\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u3059\u3079\u3066\u306e<code>.py<\/code>\u30d5\u30a1\u30a4\u30eb\u304c\u5225\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">mv *.py mypythondir\/<\/code><\/pre>\n<p>Windows\u3067\u306e\u540c\u7b49\u306e\u30b3\u30de\u30f3\u30c9\u306f<code><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/move\">move<\/a><\/code>\u3067\u3001\u307b\u307c\u540c\u3058\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># Windows\nmove source_file.txt renamed_file.txt<\/code><\/pre>\n<h4>13. rm, del<\/h4>\n<p>\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001<code>rm<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">rm file_to_remove.txt<\/code><\/pre>\n<p>\u7a7a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001recursive\uff08<code>-r<\/code>\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">rm -r dir_to_remove\/<\/code><\/pre>\n<p>\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u542b\u3080\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001force\uff08<code>-f<\/code>\uff09\u3068recursive\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">rm -rf dir_with_content\/<\/code><\/pre>\n<p>Windows\u3067\u306e\u540c\u7b49\u306e\u30b3\u30de\u30f3\u30c9\u304c<code>del<\/code>\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f\u3001\u524d\u8ff0\u3057\u305f\u8aa4\u64cd\u4f5c\u9632\u6b62\u306e\u30d5\u30e9\u30b0\u304c\u306a\u3044\u305f\u3081\u3001\u614e\u91cd\u306b\u6271\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">del \\mywindowsdir<\/code><\/pre>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u4e00\u5ea6\u524a\u9664\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5fa9\u5143\u306f\u975e\u5e38\u306b\u56f0\u96e3\u306b\u306a\u308b\u305f\u3081\u3001\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3002<\/p>\n<\/aside>\n\n<h4>14. exit<\/h4>\n<p>Python\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u304c\u7d42\u4e86\u3057\u305f\u3089\u3001\u30b7\u30a7\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u7d42\u4e86\u3057\u3066OK\u3067\u3059\u3002\u901a\u5e38\u3001exit\u30b3\u30de\u30f3\u30c9\u3067\u4f7f\u7528\u4e2d\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u7d42\u4e86\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">exit<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306fWindows\u3001Unix\u306e\u4e21\u65b9\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a8\u30c7\u30a3\u30bf\u30fc<\/h3>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u6163\u308c\u3066\u304f\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306e\u7de8\u96c6\u306e\u305f\u3081\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u5207\u308a\u66ff\u3048\u305f\u308a\u3001\u30de\u30a6\u30b9\u3092\u4f7f\u3063\u305f\u308a\u3059\u308b\u306e\u306f\u3001\u7169\u96d1\u306b\u611f\u3058\u3089\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u7559\u307e\u308a\u306a\u304c\u3089\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u624b\u9593\u3092\u524a\u6e1b\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u304b\u3089\u4e00\u76ee\u7f6e\u304b\u308c\u308b\u5b58\u5728\u306b\u3002<\/p>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u6700\u3082\u4f7f\u308f\u308c\u3066\u3044\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h4>15. Vim\/Neovim<\/h4>\n<p>Vim\u3068\u305d\u3053\u304b\u3089\u6d3e\u751f\u3057\u305fNeovim\u306f\u3001\u4e3b\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u4f7f\u7528\u3055\u308c\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u30d9\u30fc\u30b9\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3059\u3002<a href=\"https:\/\/insights.stackoverflow.com\/survey\/2021#section-most-loved-dreaded-and-wanted-collaboration-tools\">2021\u5e74\u306eStack Overflow\u306e\u8abf\u67fb<\/a>\u306b\u3088\u308b\u3068\u3001\u958b\u767a\u8005\u306b\u611b\u7528\u3055\u308c\u3066\u3044\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u4e2d\u3067\u30014\u4f4d\u30681\u4f4d\u306b\u305d\u308c\u305e\u308c\u30e9\u30f3\u30af\u30a4\u30f3\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_128335\" aria-describedby=\"caption-attachment-128335\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-128335 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/07\/most-loved-editors-1024x561.png\" alt=\"\u958b\u767a\u8005\u304c\u611b\u7528\u3059\u308b\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u5185\u8a33\" width=\"1024\" height=\"561\"><figcaption id=\"caption-attachment-128335\" class=\"wp-caption-text\">\u958b\u767a\u8005\u304c\u611b\u7528\u3059\u308b\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u5185\u8a33<\/figcaption><\/figure>\n<p>Vim\u306f\u3001Linux\u3068macOS\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/kinsta.com\/blog\/wordpress-server-requirements\/\">\u30b5\u30fc\u30d0\u30fc\u3068\u3084\u308a\u3068\u308a\u3059\u308b<\/a>\u969b\u306b\u6700\u3082\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3059\u3002Windows\u3067\u306f\u3001Vim\u306e\u30da\u30fc\u30b8\u304b\u3089<a href=\"https:\/\/www.vim.org\/download.php#pc\">\u5b9f\u884c\u53ef\u80fd\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9<\/a>\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u300cvim\u300d\u3068\u5165\u529b\u3057\u3066\u8d77\u52d5\u3059\u308c\u3070\u3001\u6e96\u5099\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">vim<\/code><\/pre>\n<p>\u8d77\u52d5\u3059\u308b\u3068\u3001\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u8907\u6570\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u64cd\u4f5c\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001Python\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Vim\u306e\u64cd\u4f5c\u306e\u7fd2\u5f97\u306f\u3084\u3084\u8907\u96d1\u3067\u3059\u304c\u3001\u4e00\u5ea6\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308c\u3070\u3001\u3057\u3070\u3089\u304f\u306f\u4ed6\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u306f\u623b\u308c\u306a\u3044\u306f\u305a\u3002<\/p>\n<figure id=\"attachment_128336\" aria-describedby=\"caption-attachment-128336\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-128336 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/07\/Vim-1024x559.png\" alt=\"Vim\" width=\"1024\" height=\"559\"><figcaption id=\"caption-attachment-128336\" class=\"wp-caption-text\">Vim<\/figcaption><\/figure>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>Vim\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001\u300cEscape\u300d\u3092\u62bc\u3057\u3066\u3001\u300c<code>:q<\/code>\u300d\u3068\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/aside>\n\n<h4>16. Nano<\/h4>\n<p><a href=\"https:\/\/www.nano-editor.org\/\">Nano<\/a>\u306f\u3001\u4e3b\u306b\u7c21\u5358\u306a\u7de8\u96c6\u306b\u4f7f\u308f\u308c\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30b3\u30fc\u30c9\u306b\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u3044\u3061\u3044\u3061\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u958b\u3044\u3066\u4fee\u6b63\u3059\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u304c\u3001Nano\u3092\u4f7f\u3048\u3070\u3001CLI\u304b\u3089\u3059\u3050\u306b\u4fee\u6b63\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">nano<\/code><\/pre>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u300cUnknown command\u300d\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001<a href=\"https:\/\/www.nano-editor.org\/download.php\">\u516c\u5f0f\u30b5\u30a4\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/a>\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/aside>\n\n<h4>17. Emacs<\/h4>\n<p>Emacs\u306f\u3001\u62e1\u5f35\u6027\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6027\u306b\u512a\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3059\u3002<a href=\"https:\/\/www.emacswiki.org\/emacs\/PythonProgrammingInEmacs\">Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/a>\u306b\u7279\u5316\u3057\u305f\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u3042\u308a\u3001\u958b\u767a\u4f53\u9a13\u3092\u5411\u4e0a\u3059\u308b\u8c4a\u5bcc\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Emacs\u306f\u3001\u307b\u307c\u3059\u3079\u3066\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/www.gnu.org\/software\/emacs\/download.html\">\u516c\u5f0f\u30b5\u30a4\u30c8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u624b\u9806<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089Emacs\u3092\u958b\u304f\u306b\u306f\u300cno window system\u300d\uff08<code>-nw<\/code>\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">emacs -nw<\/code><\/pre>\n<h3>\u958b\u767a\u30c4\u30fc\u30eb<\/h3>\n<p>Python\u306e\u958b\u767a\u3067\u306f\u3001\u30b3\u30fc\u30c9\u306e\u8a18\u8ff0\u3060\u3051\u3067\u306a\u304f\u3001\u4eee\u60f3\u74b0\u5883\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3001\u30c7\u30d7\u30ed\u30a4\u30c4\u30fc\u30eb\u306a\u3069\u306e\u64cd\u4f5c\u3082\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3059\u308b\u3068\u3001<a href=\"https:\/\/kinsta.com\/blog\/python-object-oriented-programming\/\">Python\u3067\u306e\u3042\u3089\u3086\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a<\/a>\u306b\u5fdc\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>18. virtualenv\/venv<\/h4>\n<p>\u4eee\u60f3\u74b0\u5883\u306f\u3001Python\u306e\u958b\u767a\u3067\u4f7f\u7528\u3055\u308c\u308b\u91cd\u8981\u306a\u6280\u8853\u3067\u3059\u3002\u5404\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u7528\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8efd\u91cf\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u5206\u96e2\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d5\u30a9\u30eb\u30c0\u540d\u306f\u300c<code>.venv<\/code>\u300d\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n<p>Python 3.3\u4ee5\u964d\u3067\u306f\u3001\u5185\u8535\u306evenv\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># .venv being the name of the virtual environment\npython -m venv .venv<\/code><\/pre>\n<p><a href=\"https:\/\/virtualenv.pypa.io\/en\/latest\/installation.html\">virtualenv<\/a>\u306f\u5916\u90e8\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001\u5185\u81d3\u306e\u30b3\u30de\u30f3\u30c9\u306b\u6bd4\u3079\u3066\u9ad8\u901f\u3067\u62e1\u5f35\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001\u307e\u305avirtualenv\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\"># Installs virtualenv\npip install --user virtualenv\n\n# Creates a .venv virtual environment\nvirtualenv .venv<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u4eee\u60f3\u74b0\u5883\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002Windows\u3067\u306fcmd\u3068PowerShell\u306e\u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u304b\u306b\u3088\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u3044\u305a\u308c\u304b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\uff08PowerShell\u63a8\u5968\uff09\u3002<\/p>\n<pre><code class=\"language-bash\">:: PowerShell\n.venv\\Scripts\\Activate.ps1<\/code><\/pre>\n<pre><code class=\"language-bash\">:: Cmd\n.venv\\Scripts\\activate.bat<\/code><\/pre>\n<p>Linux\u3084macOS\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">source .venv\/bin\/activate<\/code><\/pre>\n<h4>19. Git<\/h4>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-version-control\/\">\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406<\/a>\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3044\u3066\u6700\u3082\u91cd\u8981\u306a\u4f5c\u696d\u306e1\u3064\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u3059\u3079\u3066\u628a\u63e1\u3057\u3001\u4ed6\u306e\u958b\u767a\u8005\u3068\u5354\u529b\u3057\u3066\u3001\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306e\u5168\u4f53\u50cf\u3092\u660e\u78ba\u306b\u6349\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Git\u306f\u3001\u73fe\u5728<a href=\"https:\/\/kinsta.com\/jp\/blog\/git-vs-github\/\">\u6700\u3082\u4f7f\u308f\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0<\/a>\u3067\u3059\u3002<a href=\"https:\/\/git-scm.com\/downloads\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a>\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5229\u7528\u53ef\u80fd\u306a\u6a5f\u80fd\u3092\u3059\u3079\u3066\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">git help<\/code><\/pre>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001<code>git init<\/code>\u3092\u4f7f\u7528\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">git init name_repository\nInitialized empty Git repository in \/home\/daniel\/name_repository\/.git\/<\/code><\/pre>\n<p>\u306a\u304a\u3001\u3053\u308c\u306f\u3042\u304f\u307e\u3067\u30ed\u30fc\u30ab\u30eb\u306eGit\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3059\u3002\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u4fdd\u5b58\u3059\u308b\u3001\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/what-is-github\/\">GitHub<\/a>\u3084<a href=\"https:\/\/kinsta.com\/blog\/bitbucket-vs-github\/\">BitBucket<\/a>\u306e\u3088\u3046\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8907\u88fd\u3059\u308b\u306b\u306f\u3001\u300c<code>git clone<\/code>\u300d\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30bd\u30fc\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001GitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092<a href=\"https:\/\/kinsta.com\/blog\/ssh-commands\/\">SSH\u7d4c\u7531<\/a>\u3067\u8907\u88fd\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">git clone <a href=\"mailto:git@github.com\">git@github.com<\/a>:DaniDiazTech\/HTML-site.git\n...\nCloning into 'HTML-site'...\nremote: Enumerating objects: 24, done.\nremote: Counting objects: 100% (24\/24), done.\nremote: Compressing objects: 100% (18\/18), done.\nremote: Total 24 (delta 6), reused 21 (delta 4), pack-reused 0\nReceiving objects: 100% (24\/24), 4.98 MiB | 438.00 KiB\/s, done.\nResolving deltas: 100% (6\/6), done.<\/code><\/pre>\n<h4>20. Docker<\/h4>\n<p>Docker\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Python\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8efd\u91cf\u3067\u30dd\u30fc\u30bf\u30d6\u30eb\u3001\u304b\u3064\u5b8c\u5168\u306b\u9694\u96e2\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u3001\u7c21\u5358\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u3057\u3001\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u958b\u767a\u3068\u30c7\u30d7\u30ed\u30a4\u306e\u4e21\u65b9\u304c\u8003\u616e\u3055\u308c\u3066\u304a\u308a\u3001\u3059\u3079\u3066\u306e\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u304c\u540c\u3058\u8a2d\u5b9a\u3067\u4f5c\u696d\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Docker\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u4f7f\u7528\u3059\u308b\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u5fdc\u3058\u3066\u3001<a href=\"https:\/\/docs.docker.com\/desktop\/linux\/install\/\">\u516c\u5f0f\u30b5\u30a4\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/a>\u306b\u5f93\u3063\u3066\u5165\u624b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u5229\u7528\u53ef\u80fd\u306aDocker\u30b3\u30de\u30f3\u30c9\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">docker help <\/code><\/pre>\n<p>Docker Compose\u306e\u8a73\u3057\u3044\u5b9f\u884c\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/docs.docker.com\/compose\/gettingstarted\/\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4>21. Grep<\/h4>\n<p>Grep\u306f\u3001\u30d7\u30ec\u30fc\u30f3\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u306b\u4f7f\u7528\u3055\u308c\u308b\u91cd\u8981\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002<\/p>\n<p>\u5178\u578b\u7684\u306a\u4f7f\u7528\u6cd5\u3068\u3057\u3066\u3001\u3042\u308b\u5358\u8a9e\u304c\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u4f55\u56de\u7e70\u308a\u8fd4\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">grep -ic python pythondocument.txt\n2<\/code><\/pre>\n<p>\u4e0a\u306e\u4f8b\u306f\u3001<code>pythondocument.txt<\/code>\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u300cPython\u300d\uff08\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u533a\u5225\u306a\u3057\uff09\u304c\u898b\u3064\u304b\u3063\u305f\u56de\u6570\u3067\u3059\u3002<\/p>\n<p>Windows\u3067\u306f\u3001<a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/findstr\">findstr<\/a>\u304c\u3053\u308c\u306b\u76f8\u5f53\u3057\u307e\u3059\u304c\u3001\u5b8c\u5168\u306b\u540c\u3058\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Windows\u3067grep\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git Bash\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">findstr \/i \/C python pythondocument.txt\n2<\/code><\/pre>\n<h4>22. HTTPie<\/h4>\n<p>HTTPie\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3HTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3001\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\uff08Python API\u306e\u30c6\u30b9\u30c8\u3084\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30b5\u30a4\u30c8\u306a\u3069\uff09\u3068\u7c21\u5358\u306b\u901a\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/httpie.io\/docs\/cli\/installation\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u3042\u308b\u3088\u3046\u306b\u3001HTTPie\u306f\u307b\u3068\u3093\u3069\u3059\u3079\u3066\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001Python\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u3042\u308b\u305f\u3081\u3001pip\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">pip install httpie<\/code><\/pre>\n<p>\u30ea\u30e2\u30fc\u30c8API\uff08\u3053\u3053\u3067\u306f<a href=\"https:\/\/api.github.com\/\">GitHub API<\/a>\uff09\u306b\u554f\u3044\u5408\u308f\u305b\u308b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">http GET <a href=\"https:\/\/api.github.com\/users\/danidiaztech\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/api.github.com\/users\/danidiaztech<\/a>\nHTTP\/1.1 200 OK\nAccept-Ranges: bytes\nAccess-Control-Allow-Origin: *\n...<\/code><\/pre>\n<h4>23. ping<\/h4>\n<p><code>ping<\/code>\u306f\u3001\u4e8b\u5b9f\u4e0a\u3001\u3059\u3079\u3066\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5229\u7528\u53ef\u80fd\u306aCLI\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<a href=\"https:\/\/kinsta.com\/blog\/server-ip-address-could-not-be-found\/\">IP\u30a2\u30c9\u30ec\u30b9<\/a>\u306b\u30c7\u30fc\u30bf\u30d1\u30b1\u30c3\u30c8\u3092\u9001\u4fe1\u3057\u3001\u30c7\u30fc\u30bf\u306e\u9001\u4fe1\u3068\u5fdc\u7b54\u306e\u53d7\u4fe1\u306b\u8981\u3059\u308b\u6642\u9593\u3092\u30c6\u30b9\u30c8\u3057\u3001\u7d50\u679c\u3092\u30df\u30ea\u79d2\u5358\u4f4d\u3067\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u4e3b\u306b2\u3064\u306e\u30de\u30b7\u30f3\u3001\u305f\u3068\u3048\u3070\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u3068\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u4e0a\u306ePython\u30a2\u30d7\u30ea\u3068\u306e\u63a5\u7d9a\u306e\u78ba\u8a8d\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">ping kinsta.com\nPING kinsta.com(2606:4700:4400::ac40:917d (2606:4700:4400::ac40:917d)) 56 data bytes\n64 bytes from 2606:4700:4400::ac40:917d (2606:4700:4400::ac40:917d): icmp_seq=1 ttl=50 time=686 ms<\/code><\/pre>\n<h2>\u30b3\u30de\u30f3\u30c9\u4e00\u89a7<\/h2>\n<p>\u6700\u5f8c\u306b\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u3054\u7d39\u4ecb\u3057\u305f\u30b3\u30de\u30f3\u30c9\u3092\u4ee5\u4e0b\u306e\u8868\u306b\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>\u30b3\u30de\u30f3\u30c9<\/strong><\/th>\n<th><strong>\u8aac\u660e<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>choco<\/code><\/td>\n<td>Windows\u4e0a\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/td>\n<\/tr>\n<tr>\n<td><code>brew<\/code><\/td>\n<td>macOS\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>apt, pacman, dnf<\/code><\/td>\n<td>\u5404Linux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>python<\/code><\/td>\n<td>Python\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306e\u5b9f\u884c<\/td>\n<\/tr>\n<tr>\n<td><code>pip<\/code><\/td>\n<td>Python\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>sudo, runas<\/code><\/td>\n<td>\u6a29\u9650\u306e\u8a2d\u5b9a\u306b\u4f7f\u7528\u3055\u308c\u308bUnix\u3068Windows\u306e\u30d7\u30ed\u30b0\u30e9\u30e0<\/td>\n<\/tr>\n<tr>\n<td><code>chmod<\/code><\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u306e\u6a29\u9650\u3092\u5909\u66f4<\/td>\n<\/tr>\n<tr>\n<td><code>ls<\/code><\/td>\n<td>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u4e00\u89a7\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td><code>pwd<\/code><\/td>\n<td>\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td><code>cp<\/code><\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b3\u30d4\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>cat<\/code><\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u306e\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td><code>mv, move<\/code><\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u79fb\u52d5\uff08\u540d\u524d\u306e\u5909\u66f4<\/td>\n<\/tr>\n<tr>\n<td><code>rm, del<\/code><\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u524a\u9664<\/td>\n<\/tr>\n<tr>\n<td><code>exit<\/code><\/td>\n<td>\u73fe\u5728\u306e\u30b7\u30a7\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u7d42\u4e86<\/td>\n<\/tr>\n<tr>\n<td><code>vim, neovim<\/code><\/td>\n<td>\u52b9\u7387\u7684\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>nano<\/code><\/td>\n<td>\u7c21\u5358\u306a\u7de8\u96c6\u7528\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>emacs<\/code><\/td>\n<td>\u6700\u3082\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6027\u306b\u512a\u308c\u308b\u30a8\u30c7\u30a3\u30bf\u30fc<\/td>\n<\/tr>\n<tr>\n<td><code>virtualenv, venv<\/code><\/td>\n<td>\u4eee\u60f3\u74b0\u5883\u306e\u751f\u6210<\/td>\n<\/tr>\n<tr>\n<td><code>git<\/code><\/td>\n<td>\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0<\/td>\n<\/tr>\n<tr>\n<td><code>docker<\/code><\/td>\n<td>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30b3\u30f3\u30c6\u30ca\u5316<\/td>\n<\/tr>\n<tr>\n<td><code>grep<\/code><\/td>\n<td>\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3<\/td>\n<\/tr>\n<tr>\n<td><code>http<\/code><\/td>\n<td>\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u30c6\u30b9\u30c8\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3<\/td>\n<\/tr>\n<tr>\n<td><code>ping<\/code><\/td>\n<td>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u306e\u30c6\u30b9\u30c8<\/td>\n<\/tr>\n<tr>\n<td><code>kill<\/code><\/td>\n<td>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u7d42\u4e86<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u307e\u3068\u3081<\/h2>\n<p><a href=\"https:\/\/kinsta.com\/blog\/python-object-oriented-programming\/\">Python<\/a>\u306f\u3001\u6700\u3082\u7fd2\u5f97\u304c\u5bb9\u6613\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e1\u3064\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u5b9f\u884c\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u3001\u5fc5\u8981\u306a\u30b3\u30de\u30f3\u30c9\u306e\u77e5\u8b58\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u3001\u3064\u307e\u305a\u304f\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3068\u3001Python\u306e\u958b\u767a\u3067\u4f7f\u7528\u3055\u308c\u308b\u6700\u3082\u4e00\u822c\u7684\u306a\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Python\u306e\u958b\u767a\u3067\u3001\u4ed6\u306b\u3082\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u3092\u3054\u5b58\u77e5\u3067\u3059\u304b\uff1f\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u305c\u3072\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306f\u73fe\u5728\u3001\u6700\u3082\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3 &#8230;<\/p>\n","protected":false},"author":181,"featured_media":37050,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[630,628,184,45],"topic":[801],"class_list":["post-37049","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-command-line","tag-python","tag-web-development","tag-webdev","topic-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078<\/title>\n<meta name=\"description\" content=\"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078\" \/>\n<meta property=\"og:description\" content=\"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-20T10:55:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-01T09:29:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Daniel Diaz\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@DaniDiazTech\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daniel Diaz\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\"},\"author\":{\"name\":\"Daniel Diaz\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/38f3b6be2225ef58d7914f1b6a70fcb2\"},\"headline\":\"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078\",\"datePublished\":\"2022-09-20T10:55:29+00:00\",\"dateModified\":\"2024-03-01T09:29:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\"},\"wordCount\":378,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg\",\"keywords\":[\"command line\",\"Python\",\"web development\",\"webdev\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\",\"name\":\"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg\",\"datePublished\":\"2022-09-20T10:55:29+00:00\",\"dateModified\":\"2024-03-01T09:29:45+00:00\",\"description\":\"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/38f3b6be2225ef58d7914f1b6a70fcb2\",\"name\":\"Daniel Diaz\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4541784060a3b28ffb67a5da67b1f7e7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4541784060a3b28ffb67a5da67b1f7e7?s=96&d=mm&r=g\",\"caption\":\"Daniel Diaz\"},\"description\":\"Daniel is a self-taught Python Developer, Technical Writer, and long-life learner. He enjoys creating software from scratch and explaining this process through stunning articles. Follow him on Twitter: @DaniDiazTech\",\"sameAs\":[\"https:\/\/developerroad.herokuapp.com\/\",\"https:\/\/www.linkedin.com\/in\/danidiaztech\",\"https:\/\/x.com\/DaniDiazTech\"],\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/danidiaztech\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078","description":"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/","og_locale":"ja_JP","og_type":"article","og_title":"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078","og_description":"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2022-09-20T10:55:29+00:00","article_modified_time":"2024-03-01T09:29:45+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg","type":"image\/jpeg"}],"author":"Daniel Diaz","twitter_card":"summary_large_image","twitter_description":"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg","twitter_creator":"@DaniDiazTech","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Daniel Diaz","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/"},"author":{"name":"Daniel Diaz","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/38f3b6be2225ef58d7914f1b6a70fcb2"},"headline":"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078","datePublished":"2022-09-20T10:55:29+00:00","dateModified":"2024-03-01T09:29:45+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/"},"wordCount":378,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg","keywords":["command line","Python","web development","webdev"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/python-commands\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/","url":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/","name":"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg","datePublished":"2022-09-20T10:55:29+00:00","dateModified":"2024-03-01T09:29:45+00:00","description":"Python\u958b\u767a\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u309223\u7a2e\u985e\u3054\u7d39\u4ecb\u3002Windows\u3001Mac\u3001Linux\u306e3\u3064\u306e\u4e3b\u8981OS\u3067Python\u3092\u7528\u3044\u305f\u958b\u767a\u3092\u884c\u3046\u969b\u306f\u3001\u3053\u308c\u3089\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3092\u7fd2\u5f97\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u52b9\u7387\u5316\u3057\u307e\u3057\u3087\u3046\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/python-commands\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/09\/python-commands.jpg","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/python-commands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/kinsta.com\/jp\/topics\/python\/"},{"@type":"ListItem","position":3,"name":"Python\u958b\u767a\u306e\u5fc5\u9808\u30b3\u30de\u30f3\u30c923\u9078"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/38f3b6be2225ef58d7914f1b6a70fcb2","name":"Daniel Diaz","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4541784060a3b28ffb67a5da67b1f7e7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4541784060a3b28ffb67a5da67b1f7e7?s=96&d=mm&r=g","caption":"Daniel Diaz"},"description":"Daniel is a self-taught Python Developer, Technical Writer, and long-life learner. He enjoys creating software from scratch and explaining this process through stunning articles. Follow him on Twitter: @DaniDiazTech","sameAs":["https:\/\/developerroad.herokuapp.com\/","https:\/\/www.linkedin.com\/in\/danidiaztech","https:\/\/x.com\/DaniDiazTech"],"url":"https:\/\/kinsta.com\/jp\/blog\/author\/danidiaztech\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/37049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/181"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=37049"}],"version-history":[{"count":13,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/37049\/revisions"}],"predecessor-version":[{"id":55471,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/37049\/revisions\/55471"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/de"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/es"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/nl"},{"embeddable":true,"hreflang":"sv","title":"Swedish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/se"},{"embeddable":true,"hreflang":"da","title":"Danish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/translations\/dk"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37049\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/37050"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=37049"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=37049"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=37049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}