{"id":43822,"date":"2023-03-06T20:19:33","date_gmt":"2023-03-06T20:19:33","guid":{"rendered":"https:\/\/puresourcecode.com\/?p=43822"},"modified":"2023-03-06T20:21:17","modified_gmt":"2023-03-06T20:21:17","slug":"getting-started-with-python","status":"publish","type":"post","link":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/","title":{"rendered":"Getting started with Python"},"content":{"rendered":"\n<p>Following my previous article where I explored <a href=\"https:\/\/puresourcecode.com\/programming-languages\/java\/getting-started-with-java\/\">Java<\/a>, in this new post I like to start to explore Python, another programming language, very popular and at the top of the list of languages that developers love. In the Stack overflow survey, Python is the 4th language used from professional developer and the first in the TIOBE Index.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"303\" src=\"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/02\/image-1.png?resize=640%2C303&#038;ssl=1\" alt=\"Stackoverflow survey - Getting started with Python\" class=\"wp-image-41487\" srcset=\"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/02\/image-1.png?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/02\/image-1.png?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/02\/image-1.png?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/02\/image-1.png?resize=600%2C284&amp;ssl=1 600w, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/02\/image-1.png?w=1107&amp;ssl=1 1107w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">Stackoverflow survey<\/figcaption><\/figure>\n<\/div>\n\n\n<p><a href=\"https:\/\/docs.python.org\/3\/tutorial\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">Python<\/a> is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems more effectively. Python allows programming in Object-Oriented and Procedural paradigms. Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum in the Netherlands as a successor of a language called ABC.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-advantages-and-disadvantages\">Advantages and disadvantages<\/h2>\n\n\n\n<p>Python has many advantages and disadvantages as a programming language. Some of the advantages are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Easy to use and learn<\/strong>: Python has a simple and expressive syntax that is similar to the English language. It does not require semicolons or braces and uses indentation to define blocks of code.<\/li>\n\n\n\n<li><strong>Free and open source<\/strong>: Python is developed under an OSI-approved open source license that allows it to be used and distributed freely, including for commercial purposes.<\/li>\n\n\n\n<li><strong>Portable<\/strong>: Python can run on various platforms, such as Windows, Linux, Mac OS, etc. without requiring any changes in the source code.<\/li>\n\n\n\n<li><strong>Extensive third-party libraries<\/strong>: Python has a large and diverse collection of libraries that provide various functionalities, such as web development, data analysis, machine learning, etc.<\/li>\n\n\n\n<li><strong>Object-oriented and dynamic<\/strong>: Python supports multiple programming paradigms, such as object-oriented, procedural, functional, etc. Python is also dynamically typed, which means that the type of variables is determined at runtime.<\/li>\n<\/ul>\n\n\n\n<p>Some of the disadvantages are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Slow performance<\/strong>: Python is an interpreted language that is dynamically typed, which makes it slower than compiled and statically typed languages, such as Java or C.<\/li>\n\n\n\n<li><strong>Distinct nomenclature<\/strong>: Python has some features that are different from other languages, such as the use of underscores, self keyword, etc. This can make it confusing for beginners or programmers who are used to other languages.<\/li>\n\n\n\n<li><strong>Code can become unruly in size<\/strong>: Python does not have strict rules for code organization, which can lead to large and messy code bases if not managed properly.<\/li>\n\n\n\n<li><strong>Global Interpreter Lock (GIL) and threading limitations<\/strong>: Python has a mechanism called GIL that prevents multiple threads from executing Python code at the same time, which limits the concurrency and parallelism of Python programs.<\/li>\n\n\n\n<li><strong>Runtime errors<\/strong>: Python does not check for errors at compile time, which means that some errors may only be detected at runtime, which can cause unexpected crashes or bugs.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How popular is Python?<\/h2>\n\n\n\n<p>Python is a very popular programming language in 2023. According to the <a href=\"https:\/\/www.tiobe.com\/tiobe-index\/\" target=\"_blank\" rel=\"noreferrer noopener\">TIOBE Index<\/a>, which measures the popularity of programming languages based on the number of skilled engineers, courses, and third-party vendors worldwide, Python ranked <strong>first<\/strong> in August 2022 with a <strong>15.42%<\/strong> share. Python has been consistently growing in popularity over the years, and has surpassed languages such as <a href=\"https:\/\/puresourcecode.com\/programming-languages\/java\/getting-started-with-java\/\">Java<\/a>, C, and <a href=\"https:\/\/puresourcecode.com\/category\/dotnet\/csharp\/\">C#<\/a>.<\/p>\n\n\n\n<p>Some of the reasons why Python is so popular are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It\u2019s one of the best languages when learning to code: Python has a simple and expressive syntax that is easy to understand and write. It also has a large and supportive community that provides many resources and tutorials for beginners.<\/li>\n\n\n\n<li>It is heavily used in the <strong>Internet of Things<\/strong>: Python is suitable for developing applications for small and low-power devices, such as Raspberry Pi, Arduino, etc. Python also has libraries that support communication protocols, such as MQTT, CoAP, etc.<\/li>\n\n\n\n<li>It is instrumental in data science and AI: Python is widely used for data analysis, visualization, machine learning, deep learning, natural language processing, etc. Python has many libraries and frameworks that provide these functionalities, such as NumPy, pandas, scikit-learn, TensorFlow, PyTorch, etc.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Wrap up<\/h2>\n\n\n\n<p>In conclusion, with this post &#8220;Getting started with Python&#8221;, I like to look around and learn more about this programming language. I have some new code to publish very soon. Stay tuned!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively<\/p>\n","protected":false},"author":1,"featured_media":43821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_has_post_settings":[],"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"#Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9864],"tags":[8657,9294],"hashtags":[9865],"class_list":["post-43822","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-programming-languages","tag-python","hashtags-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting started with Python - PureSourceCode<\/title>\n<meta name=\"description\" content=\"Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting started with Python - PureSourceCode\" \/>\n<meta property=\"og:description\" content=\"Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively\" \/>\n<meta property=\"og:url\" content=\"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/\" \/>\n<meta property=\"og:site_name\" content=\"PureSourceCode\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/puresourcecode\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/henryLdn\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-06T20:19:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-06T20:21:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1152\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Enrico\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@erossiniuk\" \/>\n<meta name=\"twitter:site\" content=\"@puresourcecode\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Enrico\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/\"},\"author\":{\"name\":\"Enrico\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/person\\\/d0ff2e1c52b0d470af84246fd09f1f16\"},\"headline\":\"Getting started with Python\",\"datePublished\":\"2023-03-06T20:19:33+00:00\",\"dateModified\":\"2023-03-06T20:21:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/\"},\"wordCount\":661,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/python.jpg?fit=2048%2C1152&ssl=1\",\"keywords\":[\"programming-languages\",\"python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/\",\"url\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/\",\"name\":\"Getting started with Python - PureSourceCode\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/python.jpg?fit=2048%2C1152&ssl=1\",\"datePublished\":\"2023-03-06T20:19:33+00:00\",\"dateModified\":\"2023-03-06T20:21:17+00:00\",\"description\":\"Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/python.jpg?fit=2048%2C1152&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/python.jpg?fit=2048%2C1152&ssl=1\",\"width\":2048,\"height\":1152,\"caption\":\"Python programming language - logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/programming-languages\\\/python\\\/getting-started-with-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/puresourcecode.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting started with Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#website\",\"url\":\"https:\\\/\\\/puresourcecode.com\\\/\",\"name\":\"PureSourceCode.com\",\"description\":\"All technologies, only pure source code\",\"publisher\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/puresourcecode.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#organization\",\"name\":\"PureSourceCode\",\"url\":\"https:\\\/\\\/puresourcecode.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/job-manager-uploads\\\/company_logo\\\/2021\\\/05\\\/psc_logo.png?fit=512%2C512&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/puresourcecode.com\\\/wp-content\\\/uploads\\\/job-manager-uploads\\\/company_logo\\\/2021\\\/05\\\/psc_logo.png?fit=512%2C512&ssl=1\",\"width\":512,\"height\":512,\"caption\":\"PureSourceCode\"},\"image\":{\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/puresourcecode\",\"https:\\\/\\\/x.com\\\/puresourcecode\",\"https:\\\/\\\/www.youtube.com\\\/erossini?sub_confirmation=1\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/puresourcecode.com\\\/#\\\/schema\\\/person\\\/d0ff2e1c52b0d470af84246fd09f1f16\",\"name\":\"Enrico\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g\",\"caption\":\"Enrico\"},\"description\":\"My greatest passion is technology. I am interested in multiple fields and I have a lot of experience in software design and development. I started professional development when I was 6 years. Today I am a strong full-stack .NET developer (C#, Xamarin, Azure)\",\"sameAs\":[\"https:\\\/\\\/puresourcecode.com\",\"https:\\\/\\\/www.facebook.com\\\/henryLdn\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rossiniuk\\\/\",\"https:\\\/\\\/x.com\\\/erossiniuk\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC2jeteqpm3sUDqQpKGqpCLg\",\"https:\\\/\\\/www.tumblr.com\\\/blog\\\/erossiniuk\"],\"url\":\"https:\\\/\\\/puresourcecode.com\\\/author\\\/enrico\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting started with Python - PureSourceCode","description":"Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively","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:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/","og_locale":"en_US","og_type":"article","og_title":"Getting started with Python - PureSourceCode","og_description":"Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively","og_url":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/","og_site_name":"PureSourceCode","article_publisher":"https:\/\/www.facebook.com\/puresourcecode","article_author":"https:\/\/www.facebook.com\/henryLdn","article_published_time":"2023-03-06T20:19:33+00:00","article_modified_time":"2023-03-06T20:21:17+00:00","og_image":[{"width":2048,"height":1152,"url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1","type":"image\/jpeg"}],"author":"Enrico","twitter_card":"summary_large_image","twitter_creator":"@erossiniuk","twitter_site":"@puresourcecode","twitter_misc":{"Written by":"Enrico","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#article","isPartOf":{"@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/"},"author":{"name":"Enrico","@id":"https:\/\/puresourcecode.com\/#\/schema\/person\/d0ff2e1c52b0d470af84246fd09f1f16"},"headline":"Getting started with Python","datePublished":"2023-03-06T20:19:33+00:00","dateModified":"2023-03-06T20:21:17+00:00","mainEntityOfPage":{"@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/"},"wordCount":661,"commentCount":0,"publisher":{"@id":"https:\/\/puresourcecode.com\/#organization"},"image":{"@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1","keywords":["programming-languages","python"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/","url":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/","name":"Getting started with Python - PureSourceCode","isPartOf":{"@id":"https:\/\/puresourcecode.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#primaryimage"},"image":{"@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1","datePublished":"2023-03-06T20:19:33+00:00","dateModified":"2023-03-06T20:21:17+00:00","description":"Python is a high-level, general-purpose and a very popular programming language that lets you work quickly and integrate systems effectively","breadcrumb":{"@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#primaryimage","url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1","contentUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1","width":2048,"height":1152,"caption":"Python programming language - logo"},{"@type":"BreadcrumbList","@id":"https:\/\/puresourcecode.com\/programming-languages\/python\/getting-started-with-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/puresourcecode.com\/"},{"@type":"ListItem","position":2,"name":"Getting started with Python"}]},{"@type":"WebSite","@id":"https:\/\/puresourcecode.com\/#website","url":"https:\/\/puresourcecode.com\/","name":"PureSourceCode.com","description":"All technologies, only pure source code","publisher":{"@id":"https:\/\/puresourcecode.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/puresourcecode.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/puresourcecode.com\/#organization","name":"PureSourceCode","url":"https:\/\/puresourcecode.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/puresourcecode.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/job-manager-uploads\/company_logo\/2021\/05\/psc_logo.png?fit=512%2C512&ssl=1","contentUrl":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/job-manager-uploads\/company_logo\/2021\/05\/psc_logo.png?fit=512%2C512&ssl=1","width":512,"height":512,"caption":"PureSourceCode"},"image":{"@id":"https:\/\/puresourcecode.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/puresourcecode","https:\/\/x.com\/puresourcecode","https:\/\/www.youtube.com\/erossini?sub_confirmation=1"]},{"@type":"Person","@id":"https:\/\/puresourcecode.com\/#\/schema\/person\/d0ff2e1c52b0d470af84246fd09f1f16","name":"Enrico","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a41f0bf0ce51e827836b745ab21dabdb477fc4a05f80632fb9a96a76a72d26c1?s=96&d=mm&r=g","caption":"Enrico"},"description":"My greatest passion is technology. I am interested in multiple fields and I have a lot of experience in software design and development. I started professional development when I was 6 years. Today I am a strong full-stack .NET developer (C#, Xamarin, Azure)","sameAs":["https:\/\/puresourcecode.com","https:\/\/www.facebook.com\/henryLdn","https:\/\/www.linkedin.com\/in\/rossiniuk\/","https:\/\/x.com\/erossiniuk","https:\/\/www.youtube.com\/channel\/UC2jeteqpm3sUDqQpKGqpCLg","https:\/\/www.tumblr.com\/blog\/erossiniuk"],"url":"https:\/\/puresourcecode.com\/author\/enrico\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=2048%2C1152&ssl=1","jetpack-related-posts":[{"id":1399,"url":"https:\/\/puresourcecode.com\/news\/microsoft\/microsoft-new-free-python-programming-language-courses-are-for-novice-ai-developers\/","url_meta":{"origin":43822,"position":0},"title":"Microsoft: new free Python programming language courses are for novice AI developers","author":"Enrico","date":"May 5, 2020","format":false,"excerpt":"Aspiring data-science and machine-learning developers now have more Microsoft-made free video tutorials to learn how to build software in Python, one of today's most popular and versatile programming languages.\u00a0 The new\u00a0More Python for Beginners\u00a0series consists of 20 videos that run between two minutes and 15 minutes each. It covers working\u2026","rel":"","context":"In &quot;Microsoft&quot;","block_context":{"text":"Microsoft","link":"https:\/\/puresourcecode.com\/category\/news\/microsoft\/"},"img":{"alt_text":"Python programming language","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":64621,"url":"https:\/\/puresourcecode.com\/programming-languages\/python\/hello-python\/","url_meta":{"origin":43822,"position":1},"title":"Hello Python","author":"Enrico Rossini","date":"October 12, 2024","format":false,"excerpt":"Hello Python! is a new thread in my blog. I started to learn this programming language a few months ago but now I have to be serious.","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/puresourcecode.com\/category\/programming-languages\/python\/"},"img":{"alt_text":"Python programming language","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2020\/05\/Python-programming.jpg?fit=1200%2C743&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":43898,"url":"https:\/\/puresourcecode.com\/programming-languages\/python\/bitmap-message-in-python\/","url_meta":{"origin":43822,"position":2},"title":"Bitmap message in Python","author":"Enrico","date":"March 8, 2023","format":false,"excerpt":"I continue to explore with a new example where I create a bitmap message in Python. Based on an string image, I change it with the user input","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/puresourcecode.com\/category\/programming-languages\/python\/"},"img":{"alt_text":"Python programming language - logo","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":64667,"url":"https:\/\/puresourcecode.com\/programming-languages\/python\/variables-and-simple-data-types-in-python\/","url_meta":{"origin":43822,"position":3},"title":"Variables and simple data types in Python","author":"Enrico Rossini","date":"October 14, 2024","format":false,"excerpt":"Continue the series of posts about Python: this new post is about variables and simple data types and constants.","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/puresourcecode.com\/category\/programming-languages\/python\/"},"img":{"alt_text":"Python programming language - logo","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":43893,"url":"https:\/\/puresourcecode.com\/programming-languages\/python\/bagels-a-logic-game-in-python\/","url_meta":{"origin":43822,"position":4},"title":"Bagels a logic game in Python","author":"Enrico","date":"March 7, 2023","format":false,"excerpt":"In Bagels, a deductive logic game in Python, you must guess a secret three-digit number based on clues.This is the first of a list of examples","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/puresourcecode.com\/category\/programming-languages\/python\/"},"img":{"alt_text":"Python programming language - logo","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2023\/03\/python.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":29279,"url":"https:\/\/puresourcecode.com\/news\/employers-are-desperate-for-data-scientists\/","url_meta":{"origin":43822,"position":5},"title":"Employers are desperate for data scientists","author":"Enrico","date":"January 31, 2022","format":false,"excerpt":"The demand for data science is growing fast and employers are desperate for data scientists. On top of that, the great resignations is on. What do you think about it? What is your experience?","rel":"","context":"In &quot;News&quot;","block_context":{"text":"News","link":"https:\/\/puresourcecode.com\/category\/news\/"},"img":{"alt_text":"data scientist","src":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/data-scientist.png?fit=1000%2C560&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/data-scientist.png?fit=1000%2C560&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/data-scientist.png?fit=1000%2C560&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/puresourcecode.com\/wp-content\/uploads\/2022\/01\/data-scientist.png?fit=1000%2C560&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pbPHZq-boO","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts\/43822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/comments?post=43822"}],"version-history":[{"count":2,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts\/43822\/revisions"}],"predecessor-version":[{"id":43826,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/posts\/43822\/revisions\/43826"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/media\/43821"}],"wp:attachment":[{"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/media?parent=43822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/categories?post=43822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/tags?post=43822"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/puresourcecode.com\/wp-json\/wp\/v2\/hashtags?post=43822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}