{"id":25166,"date":"2022-02-16T13:40:57","date_gmt":"2022-02-16T13:40:57","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/?p=25166"},"modified":"2023-03-15T09:44:25","modified_gmt":"2023-03-15T09:44:25","slug":"cpanel-running-python-scrips","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/","title":{"rendered":"cPanel: Running Python Scrips"},"content":{"rendered":"<article id=\"article-body\" class=\"article-body\">\n<blockquote><p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">This guide provides you with steps to setup and run Python scripts in cPanel.<\/span><\/p><\/blockquote>\n<\/article>\n<article id=\"article-body\" class=\"article-body\">\n<p style=\"box-sizing: border-box; margin: 0px; font-size: 16px; line-height: 20.8px; word-break: normal; overflow-wrap: break-word; font-family: Tahoma, Verdana, Segoe, sans-serif; color: #333333; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: #fefefe;\"><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><strong style=\"box-sizing: border-box; font-weight: bold;\">Step 1-\u00a0<\/strong>Login to cPanel<\/span><\/span><\/p>\n<ul style=\"box-sizing: border-box; margin: 8px 0px 4px; padding: 0px 0px 0px 40px; list-style: outside disc; line-height: 17px; color: #333333; font-family: Tahoma, Verdana, Segoe, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: #fefefe;\">\n<li style=\"box-sizing: border-box; line-height: 20.8px; font-size: 16px !important; margin: 0px; word-break: normal; overflow-wrap: break-word; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\"><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><span style=\"color: #000000;\">Please see our article on logging into cPanel<\/span><a style=\"box-sizing: border-box; background-color: transparent; color: #2753d7; text-decoration: none; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\" href=\"https:\/\/1-grid.freshdesk.com\/a\/solutions\/articles\/33000240363\" target=\"_blank\" rel=\"noopener noreferrer\">here.<\/a><\/span><\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;\">Step 2\u00a0<\/strong><span style=\"color: #000000; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\">&#8211; Click on\u00a0<\/span><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;\">File Manager\u00a0<\/strong><span style=\"color: #000000; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\">under your\u00a0<\/span><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;\">Files\u00a0<\/strong><span style=\"color: #000000; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\">section.<\/span><\/span><\/span><\/p>\n<div class=\"image-container \"><img loading=\"lazy\" decoding=\"async\" class=\"fr-fic fr-fil fr-dib aligncenter\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33093040337\/original\/BiK72UrZVGD_2rfLmSl64JiHLiT_8rKh6g.png?1678862573\" width=\"512\" height=\"224\" data-id=\"33093040337\" \/><\/div>\n<p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><strong>INFO:<\/strong><\/span><span style=\"font-size: 14px;\">Python scripts can be run inside \u2018public_html\u2018 or in \u2018cgi-bin\u2018 folder.The cgi-bin folder contains executable CGI scripts. If you are placing the file outside of the cgi-bin folder, \u2018.htaccess\u2018 file should be created additionally to make the script work. For this example we will create the file inside \u2018cgi-bin\u2019 folder.<\/span><\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; text-align: start; text-indent: 0px;\">Step 3\u00a0<\/strong><span style=\"color: #000000; font-size: 18px; font-weight: 400; text-align: start; text-indent: 0px;\">&#8211; Create a test Python file in\u00a0<\/span><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; text-align: start; text-indent: 0px;\">\/public_html\/cgi-bin<\/strong><\/span><\/span><\/span><\/p>\n<div class=\"image-container \"><a class=\"image-enlarge-link\" href=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039575387\/original\/tYl3FiXeuw3rvBTd3i6UmxpjLEuJmbsoMA.png?1587063298\" target=\"_blank\" rel=\"noopener\" aria-describedby=\"\"><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered lightbox-image aligncenter\" style=\"width: 501px; height: 217px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039575387\/original\/tYl3FiXeuw3rvBTd3i6UmxpjLEuJmbsoMA.png?1587063298\" data-id=\"33039575320\" data-index=\"1\" \/><\/a><\/div>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; text-align: start; text-indent: 0px;\">Step 4\u00a0<\/strong><span style=\"color: #000000; font-size: 18px; font-weight: 400; text-align: start; text-indent: 0px;\">&#8211; Edit the file to add test script<\/span><\/span><\/span><\/span><\/p>\n<div class=\"image-container \"><a class=\"image-enlarge-link\" href=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039575525\/original\/aMUMKRFGnF6G2C0h-GJAFpIOzAGuxmMB5w.png?1587063457\" target=\"_blank\" rel=\"noopener\" aria-describedby=\"\"><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered lightbox-image aligncenter\" style=\"width: 509px; height: 219px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039575525\/original\/aMUMKRFGnF6G2C0h-GJAFpIOzAGuxmMB5w.png?1587063457\" data-attachment=\"[object Object]\" data-id=\"33039575525\" data-index=\"2\" \/><\/a><\/div>\n<pre><span style=\"font-family: Helvetica,sans-serif;\">#!\/usr\/bin\/python\nprint \"Content-type: text\/html\\n\\n\"\nprint \"Python is working fine on your server.\"\n\n<\/span><\/pre>\n<p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><strong style=\"box-sizing: border-box; font-weight: bold; font-family: Helvetica, sans-serif; font-size: 18px; text-align: start; text-indent: 0px;\">Step 5\u00a0<\/strong><span style=\"font-size: 18px; font-weight: 400; text-align: start; text-indent: 0px;\">&#8211; Edit file permissions<\/span><\/span><\/span><\/span><\/p>\n<ul>\n<li><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 14px;\"><span style=\"color: #000000; font-weight: 400; text-align: start; text-indent: 0px;\">Right click on the test file and select change Permissions<\/span><\/span><\/span><\/span><\/li>\n<li><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 14px;\"><span style=\"color: #000000; font-weight: 400; text-align: start; text-indent: 0px;\">The permissions must be updated to 755 for the test script to work.<\/span><\/span><\/span><\/span><\/li>\n<li><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 14px;\"><span style=\"color: #000000; font-weight: 400; text-align: start; text-indent: 0px;\">Click change permissions<\/span><\/span><\/span><\/span><\/li>\n<\/ul>\n<div class=\"image-container \"><a class=\"image-enlarge-link\" href=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039575750\/original\/DMNu2VTQEJpWVVNQR0tpCykHnr8wF3_ujQ.png?1587063806\" target=\"_blank\" rel=\"noopener\" aria-describedby=\"\"><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered lightbox-image aligncenter\" style=\"width: 401px; height: 289px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039575750\/original\/DMNu2VTQEJpWVVNQR0tpCykHnr8wF3_ujQ.png?1587063806\" data-id=\"33039575662\" data-index=\"3\" \/><\/a><\/div>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"font-size: 14px;\"><span style=\"box-sizing: border-box; font-size: 16px;\"><strong style=\"box-sizing: border-box; font-weight: bold; color: #000000; font-family: Helvetica, sans-serif; font-size: 18px; text-align: start; text-indent: 0px;\">Step 5\u00a0<\/strong><span style=\"color: #000000; font-size: 18px; font-weight: 400; text-align: start; text-indent: 0px;\">&#8211; Test the file via your browser<\/span><\/span><\/span><\/span><\/p>\n<div class=\"image-container \"><a class=\"image-enlarge-link\" href=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039576010\/original\/sAV4DGwbGsJc7KMjCUGFp41ZJ2NF5cGBZA.png?1587064198\" target=\"_blank\" rel=\"noopener\" aria-describedby=\"\"><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered lightbox-image aligncenter\" style=\"width: 419px; height: 170px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33039576010\/original\/sAV4DGwbGsJc7KMjCUGFp41ZJ2NF5cGBZA.png?1587064198\" data-attachment=\"[object Object]\" data-id=\"33039576010\" data-index=\"4\" \/><\/a><\/div>\n<\/article>\n<div><\/div>\n<article id=\"article-body\" class=\"article-body\"><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><strong><span style=\"font-size: 14px;\">INFO: \u00a0<\/span><\/strong><span style=\"font-size: 14px;\">If you would like to run the Python file not in the cgi-bin folder (in public_html or any other directory), it is necessary to add the following code to the .htaccess file in the same directory where the Python script is uploaded:<\/span><\/span><\/p>\n<pre><span style=\"font-family: Helvetica,sans-serif;\">Options +ExecCGI<br style=\"box-sizing: border-box; color: #b9bdb6; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.6px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\" \/>AddHandler cgi-script .py \n\n<\/span><\/pre>\n<hr \/>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\"><strong style=\"box-sizing: border-box; font-weight: bold; color: #333333; font-family: Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: #fefefe;\"><span style=\"box-sizing: border-box; font-size: 14px;\">TIP:<\/span><\/strong><span style=\"box-sizing: border-box; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; background-color: #fefefe; font-size: 14px;\">\u00a0For more articles on cPanel please see our <a style=\"box-sizing: border-box; background-color: transparent; color: #2753d7; text-decoration: none; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\" href=\"https:\/\/1-grid.com\/knowledge?post_type=post&amp;s=cPanel\" target=\"_blank\" rel=\"noopener noreferrer\">cPanel category<\/a>. Alternatively, should you wish to c<a style=\"box-sizing: border-box; background-color: transparent; color: #2753d7; text-decoration: none; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\" href=\"https:\/\/1-grid.com\/web-hosting\/#livechat\" target=\"_blank\" rel=\"noopener noreferrer\">ontact our Support Center please click here.<\/a><\/span><\/span><\/span><\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>This guide provides you with steps to setup and run Python scripts in cPanel. Step 1-\u00a0Login to cPanel Please see our article on logging into cPanelhere. Step 2\u00a0&#8211; Click on\u00a0File Manager\u00a0under your\u00a0Files\u00a0section. INFO:Python scripts can be run inside \u2018public_html\u2018 or in \u2018cgi-bin\u2018 folder.The cgi-bin folder contains executable CGI scripts. If&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1198],"ht-kb-tag":[233,238,793,1240,883],"class_list":["post-25166","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel","ht_kb_tag-control-panel","ht_kb_tag-cpanel","ht_kb_tag-python","ht_kb_tag-running","ht_kb_tag-scrip"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>cPanel: Running Python Scrips - 1-grid Knowledge Base<\/title>\n<meta name=\"description\" content=\"This guide provides you with steps to setup and run Python scripts in cPanel. 1-grid Knowledge Base cPanel: Running Python Scrips\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"cPanel: Running Python Scrips - 1-grid Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This guide provides you with steps to setup and run Python scripts in cPanel. 1-grid Knowledge Base cPanel: Running Python Scrips\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-15T09:44:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33093040337\/original\/BiK72UrZVGD_2rfLmSl64JiHLiT_8rKh6g.png?1678862573\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/\",\"name\":\"cPanel: Running Python Scrips - 1-grid Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-16T13:40:57+00:00\",\"dateModified\":\"2023-03-15T09:44:25+00:00\",\"description\":\"This guide provides you with steps to setup and run Python scripts in cPanel. 1-grid Knowledge Base cPanel: Running Python Scrips\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"cPanel: Running Python Scrips\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"cPanel: Running Python Scrips - 1-grid Knowledge Base","description":"This guide provides you with steps to setup and run Python scripts in cPanel. 1-grid Knowledge Base cPanel: Running Python Scrips","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:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/","og_locale":"en_US","og_type":"article","og_title":"cPanel: Running Python Scrips - 1-grid Knowledge Base","og_description":"This guide provides you with steps to setup and run Python scripts in cPanel. 1-grid Knowledge Base cPanel: Running Python Scrips","og_url":"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-03-15T09:44:25+00:00","og_image":[{"url":"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33093040337\/original\/BiK72UrZVGD_2rfLmSl64JiHLiT_8rKh6g.png?1678862573"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/","url":"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/","name":"cPanel: Running Python Scrips - 1-grid Knowledge Base","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-16T13:40:57+00:00","dateModified":"2023-03-15T09:44:25+00:00","description":"This guide provides you with steps to setup and run Python scripts in cPanel. 1-grid Knowledge Base cPanel: Running Python Scrips","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-running-python-scrips\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"cPanel: Running Python Scrips"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/25166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=25166"}],"version-history":[{"count":4,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/25166\/revisions"}],"predecessor-version":[{"id":32147,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/25166\/revisions\/32147"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=25166"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=25166"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=25166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}