{"id":2508,"date":"2020-12-21T17:20:25","date_gmt":"2020-12-21T22:20:25","guid":{"rendered":"https:\/\/kb.n0c.com\/?post_type=ht_kb&#038;p=2508"},"modified":"2026-02-06T14:31:25","modified_gmt":"2026-02-06T19:31:25","slug":"python-application-management","status":"publish","type":"ht_kb","link":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/","title":{"rendered":"How to Manage Python Applications"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p>Python is essentially code executed on our servers to  host, create and control web applications using this type of language.<\/p>\n\n\n\n<p>In this article, we will focus on information for beginners. We will start by explaining how to access Python in N0C and provide a detailed example of how to launch and modify an application using this interface. <\/p>\n\n\n\n<p>Then, for more advanced users, we will explain how to do the same operations in command line.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Note :<\/strong> <meta charset=\"utf-8\"><meta charset=\"utf-8\">The&nbsp;<a href=\"https:\/\/kb.n0c.com\/en\/glossary\/\" data-type=\"URL\" data-id=\"https:\/\/kb.n0c.com\/en\/glossary\/\">Glossary of N0C<\/a>&nbsp;contains explanations on multiple topics and can be consulted to clarify certain terms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Documentation<\/strong><\/h2>\n\n\n\n<p>Documentation on Python can be found on the Web, in particular at: <a href=\"https:\/\/docs.python.org\/3\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.python.org\/3\/<\/a>.<\/p>\n\n\n\n<p><meta charset=\"utf-8\">You can refer to this site to get more information about the commands of the <strong>Python Selector<\/strong>:&nbsp;<a href=\"https:\/\/docs.cloudlinux.com\/command-line_tools\/#new-python-selector\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.cloudlinux.com\/command-line_tools\/#new-python-selector<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Debugging an Application<\/h3>\n\n\n\n<p>When an error occurs, a page like the one below is displayed:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png\"><img loading=\"lazy\" decoding=\"async\" width=\"586\" height=\"187\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png\" alt=\"\" class=\"wp-image-6231\" style=\"width:419px;height:134px\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png 586w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage-300x96.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage-50x16.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage-60x19.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage-100x32.png 100w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/a><\/figure><\/div>\n\n\n<p><meta charset=\"utf-8\">This page is not very explanatory. Activating the development mode allows you to investigate (please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/debugging-a-nodejs-ruby-or-python-application-with-n0c\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Debug a Node.js, Ruby or Python Application<\/a>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisite<\/strong><\/h2>\n\n\n\n<p>Go to <a href=\"https:\/\/mg.n0c.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/mg.n0c.com\/en\/<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Access to Python<\/strong> in N0C<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the Sidebar menu, select <strong>Languages<\/strong> &gt; <strong>Python<\/strong>.<\/li>\n\n\n\n<li>Applications already set up are displayed in the interface:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"188\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2.png\" alt=\"\" class=\"wp-image-18378\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2-300x55.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2-768x141.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2-50x9.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2-60x11.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_gestion_applications_EN-1024x188-2-100x18.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Implementation of a New Python Application with N0C<\/strong><\/strong><\/h2>\n\n\n\n<p>To explain the approach more easily, we will proceed with an example.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Let\u2019s say you want to create the&nbsp;<strong>run.py<\/strong>&nbsp;application that displays the words &#8220;Hello  World!&#8221;. The following steps are necessary:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First of all, you have to&nbsp;<strong>create an application<\/strong>&nbsp;in the directory intended to contain it (we will call this directory \u201c<strong>codepython<\/strong>\u201d as an example, but the user can give it the name they desire). When it is executed, the application displays the words \u201cIt works!\u201d.<\/li>\n\n\n\n<li>You then need to <strong>program<\/strong> it (in our example, to display &#8220;Hello  World!&#8221;).<\/li>\n\n\n\n<li>Then,&nbsp;<strong>call<\/strong>&nbsp;the application environment. <\/li>\n\n\n\n<li>Finally, you have to&nbsp;<strong>activate<\/strong>&nbsp;the Python environment.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step #1 &#8211; Create the Python Application<\/strong><\/h3>\n\n\n\n<p>Make sure the <strong>codepython<\/strong> directory is created (please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/n0c-filemanager\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use the File Manager<\/a>).<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the <strong>Create<\/strong> button:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN.png\"><img loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"183\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN.png\" alt=\"\" class=\"wp-image-5153\" style=\"width:224px;height:auto\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN.png 316w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN-300x174.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN-50x29.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN-60x35.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/11\/Python_2_EN-100x58.png 100w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Choose the desired <strong>VERSION<\/strong> of Python:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN.png\"><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"601\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN.png\" alt=\"\" class=\"wp-image-18389\" style=\"width:295px;height:321px\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN.png 594w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN-297x300.png 297w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN-50x50.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN-60x60.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Creation_application_Python_EN-100x100.png 100w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Indicate in which <strong>APP DIRECTORY<\/strong> you want the application to be created (in our example, we would write <strong>codepython<\/strong>).<\/li>\n\n\n\n<li>Indicate from which <strong>APPLICATION DOMAIN\/URL<\/strong> the application should be accessible (in our example, we would write <strong>codepython<\/strong>).<\/li>\n\n\n\n<li>Enter the name of the <strong>BOOT FILE<\/strong> (optional).<\/li>\n\n\n\n<li>Click on the <strong>CREATE<\/strong> button.<\/li>\n\n\n\n<li>Confirm the creation of <strong>run.py<\/strong> and <strong>passenger_wsgi.py<\/strong><sup>1<\/sup> by opening the <strong>codepython<\/strong> directory in the <strong>File Manager<\/strong> (please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/n0c-filemanager\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use the File Manager<\/a>).<\/li>\n\n\n\n<li>Test the Python application by typing <strong>https:\/\/DOMAIN\/codepython<\/strong> in your browser, <strong>DOMAIN<\/strong> having to be replaced by your real domain name.<\/li>\n\n\n\n<li>The result is (as expected): &#8220;It works!&#8221;.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><meta charset=\"utf-8\"><strong>Step #2 &#8211; <\/strong>Program the Application<\/h3>\n\n\n\n<p>Now that the Python application is installed and functional in the directory to be used, you can program it as we wish.&nbsp;The application must be started again to see the modifications in the browser when it is exectued.&nbsp;<\/p>\n\n\n\n<p>Here are the steps to program:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>File Manager<\/strong>, open the directory (in our example, <strong>codepython<\/strong>) and edit the code <strong>run.py<\/strong> (please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/n0c-filemanager\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use the File Manager<\/a>).<\/li>\n\n\n\n<li>Program <strong>run.py<\/strong>. In our example, copy the following code in the programming window of the&nbsp;<strong>File Manager<\/strong>&nbsp;(please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/n0c-filemanager\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use the File Manager<\/a>), so that the words &#8220;<strong>Hello  World!<\/strong>&#8221; are displayed when you run <strong>codepython<\/strong> on your domain:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">import os\nimport sys\n\nsys.path.insert(0, os.path.dirname(__file__))\n\ndef app(environ, start_response):\n &nbsp; &nbsp; start_response('200 OK', [('Content-Type', \u2018text\/plain')])\n &nbsp; &nbsp; message = 'Hello World!n\u2019\n &nbsp; &nbsp; version = 'Python %sn' % sys.version.split()[0]\n &nbsp; &nbsp; response = 'n'.join([message, version])\n &nbsp; &nbsp; return [response.encode()] <\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>After having saved the code, close and open N0C again to apply the changes.<\/li>\n\n\n\n<li>Test the Python application by typing <strong>https:\/\/DOMAIN\/codepython<\/strong> in your browser, <strong>DOMAIN<\/strong> having to be replaced by your real domain name.<\/li>\n\n\n\n<li>The result shall now be &#8220;Hello  World!&#8221;.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-call-the-environment-of-the-application\">Step #3 \u2013 Call the Environment of the Application<\/h3>\n\n\n\n<p>Before performing any other command, you must call the application environment by running the following command at the root of your application, which will set the environment variables and allow you to configure your application:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"380\" height=\"456\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1.png\" alt=\"\" class=\"wp-image-18395\" style=\"width:383px;height:452px\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1.png 380w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1-250x300.png 250w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1-42x50.png 42w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1-50x60.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_13_EN-1-1-83x100.png 83w\" sizes=\"auto, (max-width: 380px) 100vw, 380px\" \/><\/a><\/figure><\/div>\n\n\n<p>The command must be copied into the shell of the account in question. It is possible to connect via SSH.<\/p>\n\n\n\n<p>To see the command, you must edit the application (please refer to the paragraph&nbsp;<strong>Python Application Settings Modification<\/strong>).<\/p>\n\n\n\n<p>Therefore, in our example, the command to be copied is :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source \/home\/fbkfdayw\/virtualenv\/codepython\/3.8\/bin\/activate<\/pre>\n\n\n\n<p>Where :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u00ab&nbsp;<strong>fbkfdayw<\/strong>&nbsp;\u00bb must be replaced by your&nbsp;<strong>username<\/strong>;<\/li>\n\n\n\n<li>\u00ab&nbsp;<strong>codepython<\/strong>&nbsp;\u00bb must be replaced by the name of your application; and<\/li>\n\n\n\n<li>\u00ab&nbsp;<strong>3.8<\/strong>&nbsp;\u00bb must be replaced by the Python version number.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step #4 &#8211; Activate the Python Environment &nbsp;<\/strong><\/h3>\n\n\n\n<p>It is important to make sure that your application has the right versions of plugins.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the <strong>Restart<\/strong> icon next to the application to activate (in our example, <strong>codepython<\/strong>): &nbsp;<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_redemarrer.png\"><img loading=\"lazy\" decoding=\"async\" width=\"38\" height=\"39\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_redemarrer.png\" alt=\"\" class=\"wp-image-15251\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"211\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1.png\" alt=\"\" class=\"wp-image-18402\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-768x158.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>The message&nbsp;<strong>Successfully executed command<\/strong>&nbsp;must be displayed to confirm the activation is successful.<\/li>\n<\/ol>\n\n\n\n<p>You can consult the documentation available at <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.python.org\/3\/\" target=\"_blank\">https:\/\/docs.python.org\/3\/<\/a> <meta charset=\"utf-8\">to help you debug your code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Actions on Application<\/strong> with N0C<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"restart-a-ruby-application\">Restart a Python Application<\/h3>\n\n\n\n<p>Sometimes it is necessary to restart an application as, for example, when you modify the code.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the&nbsp;<strong>Restart<\/strong>&nbsp;icon next to the application:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_redemarrer.png\"><img loading=\"lazy\" decoding=\"async\" width=\"38\" height=\"39\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_redemarrer.png\" alt=\"\" class=\"wp-image-15251\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"211\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1.png\" alt=\"\" class=\"wp-image-18402\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-768x158.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_redemarrer_EN-1024x212-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>A message shall be displayed to confirm the successful execution of the command.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Python Application Version Modification<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the&nbsp;<strong>Change version<\/strong>&nbsp;icon next to the application to modify:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_modifier_version.png\"><img loading=\"lazy\" decoding=\"async\" width=\"36\" height=\"40\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_modifier_version.png\" alt=\"\" class=\"wp-image-15255\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"211\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1.png\" alt=\"\" class=\"wp-image-18407\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1-768x158.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_version_EN-1024x211-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Select the desired&nbsp;<strong>VERSION PYTHON<\/strong>:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN.png\"><img loading=\"lazy\" decoding=\"async\" width=\"595\" height=\"357\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN.png\" alt=\"\" class=\"wp-image-15227\" style=\"width:479px;height:auto\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN.png 595w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN-300x180.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN-50x30.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN-60x36.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Python_modifier_version_fenetre_EN-100x60.png 100w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Click on the&nbsp;<strong>EDIT<\/strong>&nbsp;button.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Python Application Settings Modification<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the&nbsp;<strong>Edit<\/strong>&nbsp;icon next to the application to modify:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_modifier.png\"><img loading=\"lazy\" decoding=\"async\" width=\"37\" height=\"44\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_modifier.png\" alt=\"\" class=\"wp-image-15257\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"213\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1.png\" alt=\"\" class=\"wp-image-18411\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1-768x160.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_EN-1024x213-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Change the desired settings:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"879\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1.png\" alt=\"\" class=\"wp-image-18415\" style=\"width:454px;height:auto\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1.png 594w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1-203x300.png 203w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1-34x50.png 34w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1-41x60.png 41w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_modifier_fenetre_EN-1-68x100.png 68w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Click on the <strong>EDIT<\/strong> button to save your changes.<\/li>\n\n\n\n<li>Execute the command to save the application environment.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Stopping and Starting an Application<\/h3>\n\n\n\n<p>It is possible to stop an application by clicking on the <strong>Stop<\/strong> icon:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_arreter.png\"><img loading=\"lazy\" decoding=\"async\" width=\"38\" height=\"38\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_arreter.png\" alt=\"\" class=\"wp-image-15269\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1.png\" alt=\"\" class=\"wp-image-18422\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1-768x159.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_arreter_EN-1024x212-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<p>It is possible to start an application by clicking on the <strong>Start<\/strong> icon:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_demarrer.png\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"42\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_demarrer.png\" alt=\"\" class=\"wp-image-15271\"\/><\/a><\/figure><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"210\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1.png\" alt=\"\" class=\"wp-image-18429\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1-768x158.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_demarrer_EN-1024x210-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Delete a <strong>Python Application<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Identify the application and click on the&nbsp;<strong>Delete&nbsp;<\/strong>icon:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_supprimer.png\"><img loading=\"lazy\" decoding=\"async\" width=\"37\" height=\"41\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/02\/Icone_supprimer.png\" alt=\"\" class=\"wp-image-15259\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1.png\" alt=\"\" class=\"wp-image-18435\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1-300x62.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1-768x159.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1-50x10.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1-60x12.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2025\/03\/Python_supprimer_EN-1024x212-1-100x21.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>At the command prompt, confirm the deletion.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Implementation of a New Python Application in Command Line<\/strong><\/h2>\n\n\n\n<p>For more advanced users, the command line approach can be used.&nbsp;<\/p>\n\n\n\n<p>The following steps must be followed in order:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect in SSH.<\/li>\n\n\n\n<li>Find the availble Python versions.<\/li>\n\n\n\n<li>Create the functional base application at the CloudLinux level.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><meta charset=\"utf-8\"><strong>Step #1 &#8211; <\/strong>Connect in <strong>SSH<\/strong><\/h3>\n\n\n\n<p>Connect in SSH&nbsp;(veuillez vous r\u00e9f\u00e9rer \u00e0 l&#8217;article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-create-an-ssh-key-and-connect-to-an-account\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create an SSH Key and Connect to an Account Remotely<\/a>).<\/p>\n\n\n\n<p>For example, if you are using the Apple MacOSX environment, you can enter:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh &lt; <strong>USER &gt;<\/strong>@ &lt; <strong>DOMAIN &gt;<\/strong> -p <strong>PORT<\/strong><\/pre>\n\n\n\n<p>Where :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>USER<\/strong>: Your username.<\/li>\n\n\n\n<li><strong>DOMAIN<\/strong>: The domain name (make sure it points to the hosting account).<\/li>\n\n\n\n<li><strong><strong>PORT<\/strong>&nbsp;<\/strong>: Port to use for hosting (unless otherwise specified, use&nbsp;5022).<\/li>\n<\/ul>\n\n\n\n<p>At the command prompt, enter your <strong>password<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><meta charset=\"utf-8\"><strong>Step #2 &#8211;<\/strong> Find the Available <strong>Python<\/strong> Versions<\/h3>\n\n\n\n<p>This command will return the Python versions available on the server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cloudlinux-selector get --json --interpreter python | python -m json.tool<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step #3 \u2013<strong>&nbsp;Creation of the Basic Functional Node.js Application at CloudLinux Level<\/strong><\/strong><\/h3>\n\n\n\n<p>The following command creates a functional base:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cloudlinux-selector create --json --interpreter python --app-root &lt; <strong>DIRECTORY <\/strong>&gt; --domain &lt; <strong>DOMAIN <\/strong>&gt; --app-uri &lt; <strong>APP_URI <\/strong>&gt; --version &lt; <strong>VERSION <\/strong>&gt; --startup-file &lt; <strong>STARTUP_FILE <\/strong>&gt; --entry-point app<\/pre>\n\n\n\n<p>Where :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>DIRECTORY<\/strong>: The directory in which you want to install your application. Example: <strong>codepython<\/strong>.<\/li>\n\n\n\n<li><strong>DOMAIN<\/strong>: The domain on which you want to run your application. Example: <strong>domain.com<\/strong>.<\/li>\n\n\n\n<li><strong>APP_URI<\/strong> : The path of your application after your domain. For example,&nbsp;<strong>\/codepython <\/strong>which would become the following URL: <strong>domain.com\/codepython<\/strong>.<\/li>\n\n\n\n<li><strong>VERSION<\/strong>: An available version (according to the return of the command we saw before). Example: <strong>3.3<\/strong>.<\/li>\n\n\n\n<li><strong>STARTUP_FILE<\/strong>: The name of the &#8220;input&#8221; file of your application. Default: <strong>run.py<\/strong>.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>In our example:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cloudlinux-selector create --json --interpreter python --app-root codepython --domain domain.com --app-uri domain.com\/codepython --version 3.3 --startup-file run.py --entry-point app<\/pre>\n\n\n\n<p>If the return is <strong>{&#8220;result&#8221;: &#8220;success&#8221;, &#8220;timestamp&#8221;: 1614167732.675758}<\/strong>, you now have a working basic Python application.&nbsp;<\/p>\n\n\n\n<p>Otherwise, an error message would be displayed and you would have to correct the command accordingly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Actions on Application in Command Line<\/strong><\/strong><\/h2>\n\n\n\n<p>It is possible to start, stop or restart an application, to name just a few possible actions. Simply enter the appropriate command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cloudlinux-selector (start | stop | restart | destroy) --json --interpreter python --app-root &lt;APP_ROOT&gt;<\/pre>\n\n\n\n<p>Where:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>start<\/strong>: Allows you to start.<\/li>\n\n\n\n<li><strong>stop<\/strong>: Allows you to stop.<\/li>\n\n\n\n<li><strong>restart<\/strong>: Allows you to restart.<\/li>\n\n\n\n<li><strong>destroy<\/strong>: Allows you to delete.<\/li>\n<\/ul>\n\n\n\n<p>In our example, if you want to start, you shall write:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cloudlinux-selector start --json --interpreter python --app-root codepython<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Command Line Log Out<\/strong><\/h2>\n\n\n\n<p>To log out, enter the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">exit<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p style=\"font-size:12px\"><sup>1<\/sup>Note: <strong>passenger_wsgi.py<\/strong> is the entry point of the application. It is a file and not an application. In other words, <strong>passenger_wsgi.py<\/strong> &#8220;redirects&#8221; to the file you have chosen (the file <strong>run.py<\/strong> in our example).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Python interface allows you to manage your Python applications, as well as create applications and control them.<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[163],"ht-kb-tag":[262,176,263],"class_list":["post-2508","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-languages","ht_kb_tag-languages","ht_kb_tag-n0c-2","ht_kb_tag-python-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Manage Python Applications - N0C KB<\/title>\n<meta name=\"description\" content=\"Python is essentially code executed on the servers of PlanetHoster to host, create and control web applications using this type of language.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Manage Python Applications - N0C KB\" \/>\n<meta property=\"og:description\" content=\"Python is essentially code executed on the servers of PlanetHoster to host, create and control web applications using this type of language.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/\" \/>\n<meta property=\"og:site_name\" content=\"N0C KB\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-06T19:31:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png\" \/>\n\t<meta property=\"og:image:width\" content=\"586\" \/>\n\t<meta property=\"og:image:height\" content=\"187\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/\",\"name\":\"How to Manage Python Applications - N0C KB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kb.n0c.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Langages_debogage.png\",\"datePublished\":\"2020-12-21T22:20:25+00:00\",\"dateModified\":\"2026-02-06T19:31:25+00:00\",\"description\":\"Python is essentially code executed on the servers of PlanetHoster to host, create and control web applications using this type of language.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Langages_debogage.png\",\"contentUrl\":\"https:\\\/\\\/kb.n0c.com\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Langages_debogage.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/python-application-management\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Manage Python Applications\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/\",\"name\":\"N0C KB\",\"description\":\"Official documentation of the N0C hosting platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kb.n0c.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Manage Python Applications - N0C KB","description":"Python is essentially code executed on the servers of PlanetHoster to host, create and control web applications using this type of language.","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:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/","og_locale":"en_US","og_type":"article","og_title":"How to Manage Python Applications - N0C KB","og_description":"Python is essentially code executed on the servers of PlanetHoster to host, create and control web applications using this type of language.","og_url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/","og_site_name":"N0C KB","article_modified_time":"2026-02-06T19:31:25+00:00","og_image":[{"width":586,"height":187,"url":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/","url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/","name":"How to Manage Python Applications - N0C KB","isPartOf":{"@id":"https:\/\/kb.n0c.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/#primaryimage"},"image":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png","datePublished":"2020-12-21T22:20:25+00:00","dateModified":"2026-02-06T19:31:25+00:00","description":"Python is essentially code executed on the servers of PlanetHoster to host, create and control web applications using this type of language.","breadcrumb":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/#primaryimage","url":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png","contentUrl":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2021\/12\/Langages_debogage.png"},{"@type":"BreadcrumbList","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/python-application-management\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/kb.n0c.com\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/kb.n0c.com\/en\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"How to Manage Python Applications"}]},{"@type":"WebSite","@id":"https:\/\/kb.n0c.com\/#website","url":"https:\/\/kb.n0c.com\/","name":"N0C KB","description":"Official documentation of the N0C hosting platform","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.n0c.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/2508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/comments?post=2508"}],"version-history":[{"count":37,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/2508\/revisions"}],"predecessor-version":[{"id":22099,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/2508\/revisions\/22099"}],"wp:attachment":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/media?parent=2508"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=2508"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=2508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}