<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9109686041852983636</id><updated>2024-08-30T03:14:18.891-07:00</updated><category term="PROGRAMS"/><category term="introduction"/><category term="Python Functions"/><category term="Python_Date_and_time"/><category term="Python Datatypes"/><category term="Python_Advanced Topics"/><category term="Python Files"/><category term="Python Flow Control"/><category term="Python Object &amp; Class"/><title type='text'>learnpython24</title><subtitle type='html'>learnpython24  is the free platform for everyone to  learn PYTHON. learnpython24 is my attempt to provide basics and coding techniques to everyone in a short time .</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://learnpython24.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default?max-results=3&amp;redirect=false'/><link rel='alternate' type='text/html' href='https://learnpython24.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default?start-index=4&amp;max-results=3&amp;redirect=false'/><author><name>AMAN SHUKLA</name><uri>http://www.blogger.com/profile/11759134388062479300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1-TboYQoZJNZOwQvq8IHGgmY6tkxbciIMaDH3CixWk3i3p_b_EOx463qy6KShVGaJLSwMxe0xPHpu4A71ek1AYj-0FYNXLbiEKm_VgJeudo4UvxlF_lnf5Acc_xbn3k/s113/aman+youtube.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>101</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>3</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9109686041852983636.post-3256964187935668376</id><published>2020-08-16T02:51:00.008-07:00</published><updated>2020-08-31T07:56:27.299-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="introduction"/><title type='text'>learnpython24-(How to Get Started With Python?)                                                                                                                                                                                                          </title><content type='html'>&lt;h1 style=&quot;height: 0px; text-align: left;&quot;&gt;PYTHON&lt;/h1&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;INTRODUCTION&lt;/h2&gt;&lt;h1 style=&quot;background-color: #f9fafc; box-sizing: border-box; color: #25265e; font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 36px; line-height: 54px; margin: 0px 0px 20px; padding: 0px;&quot;&gt;How to Get Started With Python?&lt;/h1&gt;&lt;p style=&quot;background-color: #f9fafc; box-sizing: border-box; color: rgba(37, 38, 94, 0.7); font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 18px; font-weight: 500; line-height: 28px; margin: 0px 0px 16px; padding: 0px; text-align: left;&quot;&gt;In this tutorial, you will learn to install and run Python on your computer. Once we do that, we will also write our first Python program.&lt;/p&gt;&lt;p style=&quot;background-color: #f9fafc; box-sizing: border-box; color: rgba(37, 38, 94, 0.7); font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 18px; line-height: 30px; margin: 0px 0px 16px; padding: 0px;&quot;&gt;Python is a cross-platform programming language, which means that it can run on multiple platforms like Windows, macOS, Linux, and has even been ported to the Java and .NET virtual machines. It is free and open-source.&lt;/p&gt;&lt;p style=&quot;background-color: #f9fafc; box-sizing: border-box; color: rgba(37, 38, 94, 0.7); font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 18px; line-height: 30px; margin: 0px 0px 16px; padding: 0px;&quot;&gt;Even though most of today&#39;s Linux and Mac have Python pre-installed in it, the version might be out-of-date. So, it is always a good idea to install the most current version.&lt;/p&gt;&lt;h3 class=&quot;mb-3&quot; style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: &amp;quot;segoe ui&amp;quot;, roboto, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;noto sans&amp;quot;, sans-serif, &amp;quot;apple color emoji&amp;quot;, &amp;quot;segoe ui emoji&amp;quot;, &amp;quot;segoe ui symbol&amp;quot;, &amp;quot;noto color emoji&amp;quot;; font-size: 1.75rem; font-weight: 500; line-height: 1.2; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Downloading Python and Pycharm Installation&lt;/h3&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;In this tutorial, we&#39;ll download and install Python as well as an IDE called PyCharm. First of all, let&#39;s head to Python&#39;s official website and download Python:&lt;/p&gt;&lt;ul style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Go to this link -&amp;nbsp;&lt;a href=&quot;https://www.python.org/downloads/&quot; rel=&quot;noopener&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;https://www.python.org/downloads/&lt;/a&gt;.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;From the above link, download the latest version of Python.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;After visiting this link, click on the &quot;Download Python&quot; button.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Your download will start as soon as you click the button.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Nice! You can run the installer and install Python. Now, Let&#39;s download Pycharm. But what is Pycharm, and why do we need it?&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Pycharm&amp;nbsp;&lt;/span&gt;is one of the best Integrated Development Environments (IDEs) for Python Language developed by the Czech company JetBrains. To download Pycharm, follow the steps below:&lt;/p&gt;&lt;ol style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Go to this link -&amp;nbsp;&lt;a href=&quot;https://www.jetbrains.com/pycharm/download/#section=windows&quot; rel=&quot;noopener&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;https://www.jetbrains.com/pycharm/download/#section=windows&lt;/a&gt;.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;After visiting the above link, download the community version of Pycharm.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Click on the community button to download it.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Your download will start.&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;After that, install it like any other software. After Installing both Python and Pycharm, open terminal (Powershell), and then type &#39;python&#39; and press Enter.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;You should see the output like this.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwO9pBr32P_3FX3hnKxv8PIyN0u-FLL4tIWSBkdriaxFnh0pyMH75abFW8FBWPoNQVs_xfCNkWjw0uPF6MQMYI72S8U-08F4ubRyc9YqJ3CNtEFp0ekLx5FkiukDtjeXq3codcwCUy6GLg/s1920/Screenshot+%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1920&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwO9pBr32P_3FX3hnKxv8PIyN0u-FLL4tIWSBkdriaxFnh0pyMH75abFW8FBWPoNQVs_xfCNkWjw0uPF6MQMYI72S8U-08F4ubRyc9YqJ3CNtEFp0ekLx5FkiukDtjeXq3codcwCUy6GLg/s640/Screenshot+%25282%2529.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;Then Install Pycharm like any other software and do not make any changes while installing it.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h4 style=&quot;clear: both; text-align: center;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a class=&quot;btn btn--primary pagination-btn d-flex align-items-center justify-content-end&quot; href=&quot;https://learnpython24.blogspot.com/2020/08/using-modules-pip-in-python-sometimes.html&quot; style=&quot;align-items: center; appearance: none; background-color: #03338f; border-radius: 4px; border: 0px solid transparent; box-sizing: border-box; color: white; cursor: pointer; display: inline-block; font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 16px; justify-content: flex-end; line-height: 24px; margin: 0px; min-width: 292px; outline: none 0px; padding: 16px 20px; text-align: right; text-decoration-line: none; transition: all 0.2s ease-in 0s;&quot; title=&quot;Keywords and Identifier&quot;&gt;Next Tutorial:&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://learnpython24.blogspot.com/feeds/3256964187935668376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnpython24.blogspot.com/2020/08/learnpython24.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default/3256964187935668376'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default/3256964187935668376'/><link rel='alternate' type='text/html' href='https://learnpython24.blogspot.com/2020/08/learnpython24.html' title='learnpython24-(How to Get Started With Python?)                                                                                                                                                                                                          '/><author><name>AMAN SHUKLA</name><uri>http://www.blogger.com/profile/11759134388062479300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1-TboYQoZJNZOwQvq8IHGgmY6tkxbciIMaDH3CixWk3i3p_b_EOx463qy6KShVGaJLSwMxe0xPHpu4A71ek1AYj-0FYNXLbiEKm_VgJeudo4UvxlF_lnf5Acc_xbn3k/s113/aman+youtube.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwO9pBr32P_3FX3hnKxv8PIyN0u-FLL4tIWSBkdriaxFnh0pyMH75abFW8FBWPoNQVs_xfCNkWjw0uPF6MQMYI72S8U-08F4ubRyc9YqJ3CNtEFp0ekLx5FkiukDtjeXq3codcwCUy6GLg/s72-c/Screenshot+%25282%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109686041852983636.post-1546632898281940845</id><published>2020-08-16T02:50:00.021-07:00</published><updated>2020-08-28T03:04:12.182-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="introduction"/><title type='text'>learnpython24-(Using Modules &amp; Pip In Python)</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 class=&quot;mb-3&quot; style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: &amp;quot;segoe ui&amp;quot;, roboto, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;noto sans&amp;quot;, sans-serif, &amp;quot;apple color emoji&amp;quot;, &amp;quot;segoe ui emoji&amp;quot;, &amp;quot;segoe ui symbol&amp;quot;, &amp;quot;noto color emoji&amp;quot;; font-size: 1.75rem; font-weight: 500; line-height: 1.2; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Using Modules &amp;amp; Pip In Python&lt;/h3&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Sometimes we have to use someone else&#39;s code in our program because it saves us a lot of time. Today, we will learn a technique to use code that is not written by us but will enhance the quality of our program, save us time, and of course, it is legal and free.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Let us understand what utilities like modules and pip are,&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;background-color: #f8f9fa; box-sizing: border-box; font-weight: bolder;&quot;&gt;Module&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f8f9fa;&quot;&gt;–&lt;/span&gt;&lt;u style=&quot;background-color: #d9ead3;&quot;&gt; Module or library is a file that contains definitions of several functions, classes, variables, etc&lt;/u&gt;&lt;span style=&quot;background-color: #f8f9fa;&quot;&gt;. which is written by someone else for us to use.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;background-color: #f8f9fa;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Pip&amp;nbsp;&lt;/span&gt;–&lt;/span&gt;&lt;span style=&quot;background-color: #d9ead3;&quot;&gt; &lt;u&gt;Pip is a package manager for Python i.e., pip command can be used to download any external module in Pytho&lt;/u&gt;n&lt;/span&gt;&lt;span style=&quot;background-color: #f8f9fa;&quot;&gt;. It is something that helps us to get code written by someone else from somewhere.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;We can install a module in our system by using pip command :&lt;/p&gt;&lt;ul style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Open cmd or Powershell in your system.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;And then, type pip install module_name and press enter.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Once you do that, the module will start downloading and will install automatically on your computer.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Example, for installing flask I will do something like this:&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO5-YlxfmV8mCQQj-uliCkKvdRxQ03wwC51_d2Y6pZAIUThZp3mte-sQajcF0NrTlrPcLIwBaZMA7bXFgov8gXhFBoj7_FIj6ixpa8cAuchFtRYSyMvEv-h24COlCWLIGvkvUL2KeVKjq6/s1920/Screenshot+%25285%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1920&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO5-YlxfmV8mCQQj-uliCkKvdRxQ03wwC51_d2Y6pZAIUThZp3mte-sQajcF0NrTlrPcLIwBaZMA7bXFgov8gXhFBoj7_FIj6ixpa8cAuchFtRYSyMvEv-h24COlCWLIGvkvUL2KeVKjq6/s640/Screenshot+%25285%2529.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f8f9fa; color: #212529; font-family: helvetica; font-size: 18.6667px;&quot;&gt;After pressing the enter key, you will see something like this:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvtC4I1d9jOVd0TVxz-ThNvi4ffrkDiE_fYC7IUADN2J1j2rjVJlbNbaxz0BdU4lPF0LKGjXtTV9vF0TgUC0xlXkJ5uPDX1Xk9-zKbM9qQwZMQayBIDrP9wRuyjw-UidUeGW1UNF3ifFGW/s1920/Screenshot+%25284%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1920&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvtC4I1d9jOVd0TVxz-ThNvi4ffrkDiE_fYC7IUADN2J1j2rjVJlbNbaxz0BdU4lPF0LKGjXtTV9vF0TgUC0xlXkJ5uPDX1Xk9-zKbM9qQwZMQayBIDrP9wRuyjw-UidUeGW1UNF3ifFGW/s640/Screenshot+%25284%2529.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: helvetica; font-size: 18.6667px;&quot;&gt;After installing any module in Python&lt;/span&gt;&lt;span style=&quot;background-color: #f8f9fa; color: #212529; font-family: helvetica; font-size: 18.6667px;&quot;&gt;, you can import it into your program or your Python projects. For example, to use flask, &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: helvetica; font-size: 18.6667px;&quot;&gt;I will type &quot;import flask&quot; at the top&lt;/span&gt;&lt;span style=&quot;background-color: #f8f9fa; color: #212529; font-family: helvetica; font-size: 18.6667px;&quot;&gt; of my Python program.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-python&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; font-family: consolas, monaco, &amp;quot;andale mono&amp;quot;, &amp;quot;ubuntu mono&amp;quot;, monospace; font-size: 18.6667px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; max-height: 614px; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-python&quot; style=&quot;background: none; box-sizing: border-box; font-family: consolas, monaco, &amp;quot;andale mono&amp;quot;, &amp;quot;ubuntu mono&amp;quot;, monospace; font-size: 16px; hyphens: none; line-height: 1.5; max-height: 614px; overflow-wrap: normal; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #66d9ef;&quot;&gt;import&lt;/span&gt; flask&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;There are two types of modules in Python:&lt;/p&gt;&lt;ul style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Built-in Modules&lt;/span&gt;:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; padding-left: 40px;&quot;&gt;Built-in modules are the modules that are pre-installed in Python i.e.; there is no need to download them before using. These modules come with python interpreter itself.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; padding-left: 40px;&quot;&gt;Example – random, os, etc.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; padding-left: 40px;&quot;&gt;To get a complete list of built-in modules of python head to the following page of the official documentation -&amp;nbsp;&lt;a href=&quot;https://docs.python.org/3/py-modindex.html&quot; rel=&quot;noopener&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;https://docs.python.org/3/py-modindex.html&lt;/a&gt;.&lt;/p&gt;&lt;ul style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;External Modules&lt;/span&gt;:&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; padding-left: 40px;&quot;&gt;These are the modules that are not pre-installed in Python i.e., we need to download them before using them in our program.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; padding-left: 40px;&quot;&gt;Example – Flask, Pandas, TensorFlow, etc.&lt;/p&gt;&lt;h1 style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;That&#39;s all about modules in Python. I hope you are enjoying this course.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;a class=&quot;btn btn--primary pagination-btn d-flex align-items-center justify-content-end&quot; href=&quot;https://learnpython24.blogspot.com/2020/08/learnpython24.html&quot; style=&quot;align-items: center; appearance: none; background: rgb(3, 51, 143); border-radius: 4px; border: 0px solid transparent; box-sizing: border-box; color: white; cursor: pointer; display: inline-block; font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 16px; font-style: italic; justify-content: flex-end; line-height: 24px; margin: 0px; min-width: 292px; outline: none 0px; padding: 16px 20px; text-align: right; text-decoration-line: none; transition: all 0.2s ease-in 0s;&quot; title=&quot;Keywords and Identifier&quot;&gt;Previous Tutorial:&lt;/a&gt;&lt;span style=&quot;background-color: #f3fdfe; color: #212121; font-family: roboto, sans-serif; font-size: 15px; font-style: italic; text-align: center;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px; text-align: left;&quot;&gt;&lt;a class=&quot;btn btn--primary pagination-btn d-flex align-items-center justify-content-end&quot; href=&quot;https://learnpython24.blogspot.com/2020/08/first-python-program-writing-our-first.html&quot; style=&quot;align-items: center; appearance: none; background: rgb(3, 51, 143); border-radius: 4px; border: 0px solid transparent; box-sizing: border-box; color: white; cursor: pointer; display: inline-block; font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 16px; font-style: italic; justify-content: flex-end; line-height: 24px; margin: 0px; min-width: 292px; outline: none 0px; padding: 16px 20px; text-align: right; text-decoration-line: none; transition: all 0.2s ease-in 0s;&quot; title=&quot;Keywords and Identifier&quot;&gt;Next Tutorial:&lt;/a&gt;&lt;/h1&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://learnpython24.blogspot.com/feeds/1546632898281940845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnpython24.blogspot.com/2020/08/using-modules-pip-in-python-sometimes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default/1546632898281940845'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default/1546632898281940845'/><link rel='alternate' type='text/html' href='https://learnpython24.blogspot.com/2020/08/using-modules-pip-in-python-sometimes.html' title='learnpython24-(Using Modules &amp; Pip In Python)'/><author><name>AMAN SHUKLA</name><uri>http://www.blogger.com/profile/11759134388062479300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1-TboYQoZJNZOwQvq8IHGgmY6tkxbciIMaDH3CixWk3i3p_b_EOx463qy6KShVGaJLSwMxe0xPHpu4A71ek1AYj-0FYNXLbiEKm_VgJeudo4UvxlF_lnf5Acc_xbn3k/s113/aman+youtube.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO5-YlxfmV8mCQQj-uliCkKvdRxQ03wwC51_d2Y6pZAIUThZp3mte-sQajcF0NrTlrPcLIwBaZMA7bXFgov8gXhFBoj7_FIj6ixpa8cAuchFtRYSyMvEv-h24COlCWLIGvkvUL2KeVKjq6/s72-c/Screenshot+%25285%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109686041852983636.post-7009712958793634377</id><published>2020-08-16T02:49:00.008-07:00</published><updated>2020-08-28T05:17:22.896-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="introduction"/><title type='text'>learnpython24.-(first python program)</title><content type='html'>&lt;h1 style=&quot;text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;u&gt;FIRST PYTHON&amp;nbsp; PROGRAM&lt;/u&gt;&lt;/h1&gt;&lt;h1 style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: &amp;quot;segoe ui&amp;quot;, roboto, &amp;quot;helvetica neue&amp;quot;, arial, &amp;quot;noto sans&amp;quot;, sans-serif, &amp;quot;apple color emoji&amp;quot;, &amp;quot;segoe ui emoji&amp;quot;, &amp;quot;segoe ui symbol&amp;quot;, &amp;quot;noto color emoji&amp;quot;; font-size: 1.75rem; font-weight: 500; line-height: 1.2; margin-bottom: 1rem; margin-top: 0px; text-align: left;&quot;&gt;Writing Our First Python Program&lt;/h1&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Today we will be writing our first program in Python Language. I know you were waiting to do this for long.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Let&#39;s get to business and start writing our first python program. Follow the below steps:&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;Open Pycharm and create a new file in it.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;Keep in mind the file name should not match any module name.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;After creating a new file, type print(&quot;Hello World&quot;)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;And then run your program.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;You will get the output as &quot;Hello World.&quot;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;So, this is our first python program, and in this program, we just used a print function. In this function, whatever we pass in parenthesis () in a double quote or single quote gets printed (as it is) on the screen.&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Make sure you have written and executed the below code to get a feel of what it looks like!&lt;/p&gt;&lt;pre class=&quot;language-python&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; font-family: consolas, monaco, &amp;quot;andale mono&amp;quot;, &amp;quot;ubuntu mono&amp;quot;, monospace; font-size: 18.6667px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; max-height: 614px; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-python&quot; style=&quot;background: none; box-sizing: border-box; font-family: consolas, monaco, &amp;quot;andale mono&amp;quot;, &amp;quot;ubuntu mono&amp;quot;, monospace; font-size: 16px; hyphens: none; line-height: 1.5; max-height: 614px; overflow-wrap: normal; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;token keyword&quot; style=&quot;box-sizing: border-box; color: #66d9ef;&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;box-sizing: border-box; color: #a6e22e;&quot;&gt;&quot;Hello world!&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;box-sizing: border-box;&quot;&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: helvetica; font-size: 18.6667px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;a class=&quot;btn btn--primary pagination-btn d-flex align-items-center justify-content-end&quot; href=&quot;https://learnpython24.blogspot.com/2020/08/using-modules-pip-in-python-sometimes.html&quot; style=&quot;align-items: center; appearance: none; background: rgb(3, 51, 143); border-radius: 4px; border: 0px solid transparent; box-sizing: border-box; color: white; cursor: pointer; display: inline-block; font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 16px; font-style: italic; justify-content: flex-end; line-height: 24px; margin: 0px; min-width: 292px; outline: none 0px; padding: 16px 20px; text-align: right; text-decoration-line: none; transition: all 0.2s ease-in 0s;&quot; title=&quot;Keywords and Identifier&quot;&gt;Previous Tutorial:&lt;/a&gt;&lt;span face=&quot;&quot; style=&quot;font-style: italic;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;background-color: #f8f9fa; box-sizing: border-box; color: #212529; font-family: roboto, sans-serif; font-size: 18.6667px; font-style: italic; margin: 0px 0px 1rem;&quot;&gt;&lt;a class=&quot;btn btn--primary pagination-btn d-flex align-items-center justify-content-end&quot; href=&quot;https://learnpython24.blogspot.com/2020/08/learnpython24_16.html&quot; style=&quot;align-items: center; appearance: none; background: rgb(3, 51, 143); border-radius: 4px; border: 0px solid transparent; box-sizing: border-box; color: white; cursor: pointer; display: inline-block; font-family: euclid_circular_a, &amp;quot;source sans pro&amp;quot;, &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: 16px; justify-content: flex-end; line-height: 24px; margin: 0px; min-width: 292px; outline: none 0px; padding: 16px 20px; text-align: right; text-decoration-line: none; transition: all 0.2s ease-in 0s;&quot; title=&quot;Keywords and Identifier&quot;&gt;Next Tutorial:&lt;/a&gt;&lt;/h1&gt;</content><link rel='replies' type='application/atom+xml' href='https://learnpython24.blogspot.com/feeds/7009712958793634377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnpython24.blogspot.com/2020/08/first-python-program-writing-our-first.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default/7009712958793634377'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/9109686041852983636/posts/default/7009712958793634377'/><link rel='alternate' type='text/html' href='https://learnpython24.blogspot.com/2020/08/first-python-program-writing-our-first.html' title='learnpython24.-(first python program)'/><author><name>AMAN SHUKLA</name><uri>http://www.blogger.com/profile/11759134388062479300</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1-TboYQoZJNZOwQvq8IHGgmY6tkxbciIMaDH3CixWk3i3p_b_EOx463qy6KShVGaJLSwMxe0xPHpu4A71ek1AYj-0FYNXLbiEKm_VgJeudo4UvxlF_lnf5Acc_xbn3k/s113/aman+youtube.jpg'/></author><thr:total>0</thr:total></entry></feed>