{"id":43,"date":"2020-09-02T08:33:57","date_gmt":"2020-09-02T08:33:57","guid":{"rendered":"https:\/\/www.pythontutorial.net\/?page_id=43"},"modified":"2025-03-25T06:57:15","modified_gmt":"2025-03-25T06:57:15","slug":"what-is-python","status":"publish","type":"page","link":"https:\/\/www.pythontutorial.net\/getting-started\/what-is-python\/","title":{"rendered":"What is Python"},"content":{"rendered":"\r\n<p><strong>Summary<\/strong>: In this tutorial, you&#8217;ll learn about Python&#8217;s programming language and why you should learn it today.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id='what-is-python-programming-language'>What is Python programming language? <a href=\"#what-is-python-programming-language\" class=\"anchor\" id=\"what-is-python-programming-language\" title=\"Anchor for What is Python programming language?\">#<\/a><\/h3>\r\n\r\n\r\n\r\n<p>Python is a <strong>high-level, general-purpose, <strong>interpreted<\/strong> <\/strong>programming language.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id='1-high-level'>1) High-level <a href=\"#1-high-level\" class=\"anchor\" id=\"1-high-level\" title=\"Anchor for 1) High-level\">#<\/a><\/h3>\r\n\r\n\r\n\r\n<p>Python is a high-level programming language that is easy to learn. It doesn&#8217;t require you to understand the details of the computer to develop programs efficiently.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id='2-general-purpose'>2) General-purpose <a href=\"#2-general-purpose\" class=\"anchor\" id=\"2-general-purpose\" title=\"Anchor for 2) General-purpose\">#<\/a><\/h3>\r\n\r\n\r\n\r\n<p>Python is a general-purpose language. It means that you can use Python in various domains, including:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Web applications<\/li>\r\n<li>Big data applications<\/li>\r\n<li>Testing<\/li>\r\n<li>Automation<\/li>\r\n<li>Data science, machine learning, and AI<\/li>\r\n<li>Desktop software<\/li>\r\n<li>Mobile apps<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id='3-interpreted'>3) Interpreted <a href=\"#3-interpreted\" class=\"anchor\" id=\"3-interpreted\" title=\"Anchor for 3) Interpreted\">#<\/a><\/h3>\r\n\r\n\r\n\r\n<p>Python is an interpreted language. To develop a Python program, you write Python code into a file called source code.<\/p>\r\n\r\n\r\n\r\n<p>To execute the source code, you must convert it to a machine language the computer can understand. The Python <strong>interpreter <\/strong>turns the source code, line by line, once at a time, into the machine code when the Python program executes.<\/p>\r\n\r\n\r\n\r\n<p>Compiled languages like Java and C# use a <strong>compiler <\/strong>that compiles the whole source code before the program executes.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id='why-python'>Why Python <a href=\"#why-python\" class=\"anchor\" id=\"why-python\" title=\"Anchor for Why Python\">#<\/a><\/h3>\r\n\r\n\r\n\r\n<p>Python increases your productivity. Python allows you to solve complex problems in less time and with fewer lines of code. It&#8217;s quick to make a prototype in Python.<\/p>\r\n\r\n\r\n\r\n<p>Python has become a solution in many areas across industries, from web applications to data science and machine learning.<\/p>\r\n\r\n\r\n\r\n<p>Python is relatively easy to learn in comparison with other programming languages. Python syntax is clear and beautiful.<\/p>\r\n\r\n\r\n\r\n<p>Python has a large ecosystem that includes lots of libraries and frameworks.<\/p>\r\n\r\n\r\n\r\n<p>Python is cross-platform. Python programs can run on Windows, Linux, and macOS.<\/p>\r\n\r\n\r\n\r\n<p>Python has a vast community. Whenever you get stuck, you can get help from an active community.<\/p>\r\n\r\n\r\n\r\n<p>Python developers are in high demand.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id='python-versions'>Python versions <a href=\"#python-versions\" class=\"anchor\" id=\"python-versions\" title=\"Anchor for Python versions\">#<\/a><\/h2>\r\n\r\n\r\n\r\n<p>Python has two major versions: 2x and 3x.<\/p>\r\n\r\n\r\n\r\n<p>Python 2.x was released in 2000, and the latest version is 2.7, released in 2010. It isn&#8217;t recommended for use in new projects.<\/p>\r\n\r\n\r\n\r\n<p>Python 3.x was released in 2008. Python 3 isn&#8217;t compatible with Python 2. And you should use the latest versions of Python 3 for your new projects.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id='summary'>Summary <a href=\"#summary\" class=\"anchor\" id=\"summary\" title=\"Anchor for Summary\">#<\/a><\/h2>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Python is an interpreted, high-level, general-purpose programming language.<\/li>\r\n<li>Python has become the solution in many domains, from web applications to data analysis, data science, machine learning, and AI.<\/li>\r\n<li>Use Python 3 for the new development.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful ?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"43\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pythontutorial.net\/getting-started\/what-is-python\/\"\n\t\t\t\tdata-post-title=\"What is Python\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"43\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pythontutorial.net\/getting-started\/what-is-python\/\"\n\t\t\t\tdata-post-title=\"What is Python\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\t\t\t<input type=\"button\" name=\"wth-submit\" class=\"wth-btn wth-btn-submit\" id=\"wth-submit\" \/>\n\t\t\t<input type=\"button\" class=\"wth-btn wth-btn-cancel\" value=\"Cancel\" \/>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial helps you understand what Python programming language is and why you should start learning Python today.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":39,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-43","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/43\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/39"}],"wp:attachment":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/media?parent=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}