
{"id":3754,"date":"2020-05-19T09:00:00","date_gmt":"2020-05-19T07:00:00","guid":{"rendered":"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/uncategorized\/how-to-learn-python\/"},"modified":"2022-11-15T12:54:51","modified_gmt":"2022-11-15T11:54:51","slug":"how-to-learn-python","status":"publish","type":"post","link":"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/how-to-learn-python\/","title":{"rendered":"How Can I Learn Python?"},"content":{"rendered":"<p>If current trends continue\u2014which they seem set to do\u2014Python will soon be the world\u2019s most popular programming language.<\/p>\n<p>Python can be used in fields as varied as data analytics, artificial intelligence, graphic design, and web development. It&#8217;s also ubiquitous across big tech, with companies like Google, Meta, Amazon, and Netflix all using it in their products.<\/p>\n<p>In short, Python has become a fundamental part of our digital ecosystem, which makes it a great skill for any aspiring techie to learn.<\/p>\n<p>In this post, we\u2019ll look at what you should do if you want to learn Python from scratch:<\/p>\n<ol>\n<li><a href=\"#read-up-on-python\">Read up on Python<\/a><\/li>\n<li><a href=\"#download-the-necessary-tools\">Download the necessary tools<\/a><\/li>\n<li><a href=\"#take-a-tutorial-and-play-with-some-code\">Take a tutorial and play with some code<\/a><\/li>\n<li><a href=\"#get-online-support\">Get online support<\/a><\/li>\n<li><a href=\"#consider-taking-a-structured-course\">Consider taking a structured course<\/a><\/li>\n<li><a href=\"#attend-a-python-meetup\">Attend a Python meetup<\/a><\/li>\n<li><a href=\"#summary\">Summary<\/a><\/li>\n<\/ol>\n<h2 id=\"read-up-on-python\">1. Read up on Python<\/h2>\n<p>It might sound obvious, but be sure to read up on Python\u2019s basics. We\u2019ve covered many of the language\u2019s features and applications in previous blog posts. If you haven\u2019t already, we suggest <a href=\"\/en\/blog\/data-analytics\/what-is-python\/\">starting with our Python guide<\/a>. Another key resource you\u2019ll find useful is <a href=\"https:\/\/wiki.python.org\/moin\/\" target=\"_blank\" rel=\"noopener\">the Python Wiki<\/a> (definitely one to bookmark!).<\/p>\n<p>Read around the topic, too. Python has so many applications: understanding them before you start will really help focus your mind when you begin learning. If you\u2019re completely new to programming, the Python Wiki also offers\u00a0<a href=\"https:\/\/wiki.python.org\/moin\/BeginnersGuide\/NonProgrammers\" rel=\"noopener\">an excellent list of resources<\/a> that presume no prior knowledge.<\/p>\n<h2 id=\"download-the-necessary-tools\">2. Download the necessary tools<\/h2>\n<p>Python is cross-platform (meaning you don\u2019t need a specific operating system to use or execute it on) and there are versions available for all major operating systems. This includes Windows, macOS, and Linux. Jumping right in might seem scary, but it needn\u2019t be. Like any language, the best way to learn Python is to play around with it. But first\u2026<\/p>\n<h3 id=\"select-a-code-editor-or-integrated-development-environment\">Select a code editor or integrated development environment<\/h3>\n<p>Before installing Python, you\u2019ll want to choose a code editor. This is a simple tool that\u2019s used to write and (as the name suggests) edit code. Code editors are lightweight programs that include useful features like syntax formatting and highlighting. At this stage, any basic editor should be sufficient for your needs. However, a popular one is <a href=\"https:\/\/code.visualstudio.com\/\" rel=\"noopener\">Visual Studio Code<\/a>. Used by novices and experts alike, VS Code is open-source and free to use. But don\u2019t limit yourself\u2014the Python Wiki has <a href=\"https:\/\/wiki.python.org\/moin\/PythonEditors\" rel=\"noopener\">an exhaustive list of currently available code editors<\/a>.<\/p>\n<p>When your coding skills become more sophisticated, you\u2019ll want to download an integrated development environment (IDE). Unlike a code editor, an IDE is designed for more complex programming. It comes with several additional features such as build, test, and debugging tools, which will significantly speed up your work. As a novice you won\u2019t need an IDE right away, but keep it in mind. A popular open-source IDE is <a href=\"https:\/\/www.jetbrains.com\/pycharm\/\" rel=\"noopener\">PyCharm<\/a>. The Python Wiki also <a href=\"https:\/\/wiki.python.org\/moin\/IntegratedDevelopmentEnvironments\" rel=\"noopener\">lists IDEs for different operating systems.<\/a><\/p>\n<h3 id=\"download-the-latest-version-of-python\">Download the latest version of Python<\/h3>\n<p>You\u2019re now ready to get started\u2026 time to <a href=\"https:\/\/wiki.python.org\/moin\/BeginnersGuide\/Download\" target=\"_blank\" rel=\"noopener\">download Python<\/a>! <a href=\"https:\/\/realpython.com\/installing-python\/\" rel=\"noopener\">The Real Python website<\/a> offers a foolproof guide for installing it. Some systems even have it pre-installed. Simply type \u2018python\u2019 into a command window and hit enter. This will tell you which version (if any) you have. At the time of writing, the latest release is <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/python-3-8-advantages\/\">Python 3.8<\/a>, so be sure that you\u2019re up to date. This is important, because some older versions aren\u2019t forward compatible.<\/p>\n<p>If you don\u2019t want to download anything yet, that\u2019s fine.\u00a0<a href=\"https:\/\/repl.it\/languages\/python3\" rel=\"noopener\">An online code editor<\/a> will give you access to the compiler and language all packaged in. If you prefer to learn on the go, you can even download packages for <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=ru.iiec.pydroid3&amp;hl=en_US\" rel=\"noopener\">Android<\/a> and <a href=\"https:\/\/apps.apple.com\/us\/app\/pythonista-3\/id1085978097\" rel=\"noopener\">Apple<\/a> devices. These aren\u2019t ideal for big projects, but they\u2019re great for playing around.<\/p>\n<h2 id=\"take-a-tutorial-and-play-with-some-code\">3. Take a tutorial and play with some code<\/h2>\n<p>So, you\u2019ve downloaded Python and you\u2019re ready to go\u2026 finally, your chance to play with some code! Your first port of call should be the Python website, which offers tonnes of introductory documentation, <a href=\"https:\/\/docs.python.org\/3\/faq\/index.html\" rel=\"noopener\">including FAQs<\/a>. If you already have a basic understanding of coding, we recommend starting with the <a href=\"https:\/\/docs.python.org\/3\/tutorial\/appetite.html\" rel=\"noopener\">Python beginner\u2019s tutorial<\/a>. This introduces the basic aspects of Python-specific programming, introducing the interpreter (which reads and executes your code), how to use Python as a calculator, and concepts such as strings, lists, and other basic functions.<\/p>\n<p>Never coded before? Don\u2019t panic! There are more accessible tutorials that walk you through the basics in plain English. For instance, <a href=\"http:\/\/www.openbookproject.net\/books\/bpp4awd\/ch01.html\" rel=\"noopener\">this Python tutorial for aspiring web developers<\/a> offers a great introduction to Python programming concepts in general. As does this e-book, <a href=\"https:\/\/automatetheboringstuff.com\/\" rel=\"noopener\">Automate the Boring Stuff<\/a>.<\/p>\n<p><strong>Recommended reading:<\/strong> <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/python-data-types\/\">What are the different Python data types?<\/a><\/p>\n<h3 id=\"push-yourself-with-python-libraries\">Push yourself with Python libraries<\/h3>\n<p>Once you\u2019ve played with some code and are feeling confident, you might be ready to stretch yourself. If so, the <a href=\"https:\/\/docs.python.org\/3\/library\/\" rel=\"noopener\">Python standard library<\/a> is a good place to start. It contains over 200 modules of pre-existing code. These allow you to automate many functions (e.g. returning Boolean values\u2014\u2018true or false\u2019). You can also download any number of third-party libraries from the <a href=\"https:\/\/pypi.org\/\" rel=\"noopener\">Python Package Index (PyPI)<\/a>. These open-source repositories offer industry- and discipline-specific modules for everything from data analytics to web development. As a beginner, you might find these topics a bit challenging, which brings us to our next point\u2026<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9316\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2020\/05\/python-coding-at-home.jpeg\" alt=\"Person learning Python on their computer at home\" width=\"1200\" height=\"600\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2020\/05\/python-coding-at-home.jpeg 1200w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2020\/05\/python-coding-at-home-300x150.jpeg 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2020\/05\/python-coding-at-home-1024x512.jpeg 1024w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2020\/05\/python-coding-at-home-768x384.jpeg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/h2>\n<h2 id=\"get-online-support\">4. Get online support<\/h2>\n<p>Even the best of us have questions from time to time. Luckily, one of Python\u2019s key selling points is its user-driven community. With loads of active, online support forums, you\u2019ll quickly find an answer, whatever your query. Here are some to try.<\/p>\n<h3 id=\"stack-overflow\">Stack Overflow<\/h3>\n<p>Probably the best-known coders\u2019 forum, <a href=\"https:\/\/stackoverflow.com\/questions\" rel=\"noopener\">Stack Overflow<\/a> is a Q&amp;A site for professional and novice developers. It has a strong reputation for bringing tech enthusiasts together and includes support for all major programming languages. Search around before posting a query, as you\u2019ll often find it\u2019s already been answered.<\/p>\n<h3 id=\"the-python-forum\">The Python forum<\/h3>\n<p><a href=\"https:\/\/python-forum.io\/\" rel=\"noopener\">Python\u2019s own forum<\/a> is less extensive than Stack Overflow but offers registration-free access to some of the most common Python queries. These cover general coding issues, as well as those relating to Python\u2019s applications in different areas, e.g. data science, web scraping, game development, and more.<\/p>\n<h3 id=\"python-internet-relay-chat\">Python Internet Relay Chat<\/h3>\n<p>Want real-time support from other developers? Python Internet Relay Chat is for you. Visit webchat.freenode.net, register a nickname, and log in using the channel \u2018#python\u2019. There\u2019s always someone on hand to help. There are also Python channels for non-English speakers: \u2018#python.de\u2019 for German, \u2018#python.fr\u2019 for French, and \u2018#python.pt\u2019 for Portuguese.<\/p>\n<h3 id=\"github-community-forum\">GitHub Community Forum<\/h3>\n<p>A well-known application development platform, GitHub allows developers to access free documentation and contribute to open-source projects. While it is a general development platform (i.e. not Python-specific) it has a <a href=\"https:\/\/github.community\/\" rel=\"noopener\">community forum<\/a> where you can search for (or post) any queries you have\u2014Python-related or otherwise.<\/p>\n<h2 id=\"consider-taking-a-structured-course\">5. Consider taking a structured course<\/h2>\n<p>Once you\u2019ve mastered Python\u2019s basics, why not specialize your skills? A structured online course will teach you how to apply Python to specific disciplines. Data analytics, for instance, is one of Python\u2019s fastest-growing areas and CareerFoundry has just launched a new <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/courses\/intro-to-data-analytics\/\">Intro to Data Analytics course<\/a>. There are tonnes of other options available; check out <a href=\"\/en\/blog\/data-analytics\/best-data-bootcamps-for-learning-python\/\">this round-up of the best data bootcamps for learning Python<\/a>.<\/p>\n<h2 id=\"attend-a-python-meetup\">6. Attend a Python meetup<\/h2>\n<p>By this stage, you should have a good working knowledge of Python\u2019s syntax, features, and applications. If you want to take things further there are many personal development options available. Online communities are great for ad hoc support, but a real-world community of like-minded individuals will help you take Python to the next level. Conferences and workshops are an excellent starting point. They spark passion, new ideas, and can help you figure out where you\u2019d like to go next.<\/p>\n<p>You\u2019ll find a big <a href=\"https:\/\/ep2020.europython.eu\/\" rel=\"noopener\">list of events on the Python community forum<\/a>. We\u2019ve highlighted three popular options as a taster:<\/p>\n<ul>\n<li><a href=\"https:\/\/us.pycon.org\/2020\/\" rel=\"noopener\">PyCon:<\/a> The original Python conference, PyCon was launched in the US in 2003. It attracts all experience levels from across the world and has since launched conferences in Africa, Asia, Australasia, South America, and Europe.<\/li>\n<li><a href=\"https:\/\/ep2020.europython.eu\/\" rel=\"noopener\">EuroPython<\/a>: Launched in 2001, EuroPython includes two days of conference and two days of development sprints. Entrance to the latter is free, and attendees can contribute to their favorite open-source projects\u2014great for getting hands-on.<\/li>\n<li><a href=\"https:\/\/www.meetup.com\/topics\/python\/\" rel=\"noopener\">Python meetups<\/a>: meetup.com offers over 2,500 Python-related workshops, <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-a-hackathon\/\">hackathons<\/a>, and other events, in over 100 different countries. They\u2019re usually free to attend, and you\u2019ll almost certainly be able to find one close-by\u2026dip a toe in!<\/li>\n<\/ul>\n<h2 id=\"summary\">7. Summary<\/h2>\n<p>As we\u2019ve shown, learning Python needn\u2019t be intimidating\u2014the hardest part is deciding to go for it. After that, all you need is the right software, the right support, and the right mindset. Here\u2019s what you can do to make the journey easier:<\/p>\n<ul>\n<li><strong>Read up on the basics:<\/strong> Read about Python and make sure it\u2019s the right programming language for you.<\/li>\n<li><strong>Get the tools:<\/strong> Download the most up-to-date version of Python, and install a code editor.<\/li>\n<li><strong>Dive in:<\/strong> Take an online tutorial and start playing with some sample code right away\u2014getting your hands dirty is the best way to learn. You could follow an online tutorial, such as this one on <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/how-to-find-outliers\/\">detecting outliers using Python<\/a>.<\/li>\n<li><strong>Get online support:<\/strong> To answer your questions, find a forum, chat room, or other online community.<\/li>\n<li><strong>Consider taking a structured course:<\/strong> Once you\u2019ve progressed from beginner to novice, specialize your skills by investing in an online course.<\/li>\n<li><strong>Attend events:<\/strong> When you\u2019re ready, why not head to a conference or workshop in your local area? You\u2019ll be surprised what you can discover!<\/li>\n<\/ul>\n<p>There\u2019s no time like the present. Get started with step one right away! And, if you need a little extra motivation, check out this <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/python-developer-salary\/\">Python developer salary guide<\/a>, together with the following:<\/p>\n<ul>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/what-is-python\/\">What is Python? A guide to the fastest-growing programming language<\/a><\/li>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/what-is-python-used-for\/\">What is Python used for?<\/a><\/li>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/data-analytics\/is-python-a-good-language-to-learn\/\">Is Python a good language to learn?<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If current trends continue, Python will soon be the world&#8217;s most popular programming language\u2014making it a great skill to master. Want to learn Python? We&#8217;ll show you how in this guide.<\/p>\n","protected":false},"author":101,"featured_media":254,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-3754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-analytics"],"acf":{"homepage_category_featured":false},"modified_by":"Kirstie Sequitin","_links":{"self":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/3754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/users\/101"}],"replies":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/comments?post=3754"}],"version-history":[{"count":0,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/3754\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media\/254"}],"wp:attachment":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media?parent=3754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/categories?post=3754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/tags?post=3754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}