<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: hannahwn</title>
    <description>The latest articles on DEV Community by hannahwn (@hannahwn).</description>
    <link>https://dev.to/hannahwn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F811015%2F3c9c7dc6-383b-43ec-bff2-e60c366d7a4f.jpg</url>
      <title>DEV Community: hannahwn</title>
      <link>https://dev.to/hannahwn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hannahwn"/>
    <language>en</language>
    <item>
      <title>Python for Everyone: Mastering Python The Right Way</title>
      <dc:creator>hannahwn</dc:creator>
      <pubDate>Mon, 28 Feb 2022 15:24:59 +0000</pubDate>
      <link>https://dev.to/hannahwn/python-for-everyone-mastering-python-the-right-way-520i</link>
      <guid>https://dev.to/hannahwn/python-for-everyone-mastering-python-the-right-way-520i</guid>
      <description>&lt;h3&gt;
  
  
  Why use python for programming?
&lt;/h3&gt;

&lt;p&gt;Python makes life easier for programmers and allows them to build effective applications for business and user. The fact that you had to look this up means you have decided on python as your programming language. It does matter if you want to use it in your &lt;em&gt;machine learning, making of mobile applications and websites or video games&lt;/em&gt; you still need to be sufficient in python basics.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the python basics?
&lt;/h2&gt;

&lt;p&gt;Python basics are the minimal requirements needed to make your first python program running. They include the following&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Python installed on your computer-can be found on their official website [(&lt;a href="https://www.python.org/downloads/)"&gt;https://www.python.org/downloads/)&lt;/a&gt;].&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Any code editor of your choice for example jupyter, visual studio and pygame for the multimedia game developers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variables and data structures&lt;br&gt;
Lucky for us in python you do not need to define variables since the system automatically assigns them. It has four built in data structures that I comprehensively discuss &lt;a href="https://dev.to/hannahwn/introduction-to-data-structures-and-algorithms-with-python-4eme"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Modules&lt;br&gt;
Modules provide us with a way to share reusable functions. A module is simply a “Python file” which contains code we can reuse in multiple Python programs. It may contain functions, classes, lists, etc.&lt;br&gt;
Having this background information in python is crucial before starting out in your journey.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--U1N6vUoO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s2umu1sakvxwendna4j6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--U1N6vUoO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s2umu1sakvxwendna4j6.png" alt="Image description" width="171" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Areas where you can specialize in with python programming
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Developing Games and 3D Graphics
&lt;/h2&gt;

&lt;p&gt;Here is a list of frameworks that are good for games and graphic creation: &lt;a href="https://www.pygame.org/news"&gt;Pygame&lt;/a&gt;,&lt;a href="http://pyopengl.sourceforge.net/"&gt;PyOpenGl&lt;/a&gt; and &lt;a href="https://www.panda3d.org/"&gt;Panda3D&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  GUI-Based Desktop Programs
&lt;/h2&gt;

&lt;p&gt;GUI lets people interact with computers using visual elements such as icons or pictures instead of text-based commands. There are many modules available for creating that is &lt;a href="https://effbot.org/tkinterbook/tkinter-index.htm"&gt;Tktinker&lt;/a&gt;,&lt;a href="https://kivy.org/"&gt;Kivy&lt;/a&gt; and &lt;a href="https://wiki.python.org/moin/PyGtk"&gt;PyGTK&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Web Development
&lt;/h2&gt;

&lt;p&gt;It is a tool for navigating backend using Django, Flask and Falcon. Web browsers do not execute Python: they run JavaScript. Therefore, you can use the pyjs project to compile from Python to JavaScript. Nevertheless, most web applications contain both JavaScript and Python: web browsers run JavaScript while Python executes on the server-side.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make Bots
&lt;/h2&gt;

&lt;p&gt;Bots are programs for performing specific tasks over the Internet. Such applications execute repetitive actions much quicker than humans. Twitter is often the target of bots, sending the same or similar messages a hundred times a day. However, bots can also be useful for technical or any assistance as they can generate responses to users’ input. As a result, customer support becomes more productive.&lt;/p&gt;

&lt;p&gt;Lastly practice makes perfect and to ensure that you do not forget as you keep improving; I would encourage you to try set aside one hour in your daily routine to practice coding .  There millions of coding videos on YouTube and tutorials on google for you to read and watch to master your way into excellence in this journey.&lt;br&gt;
Here are my preferred ones &lt;a href="https://www.geeksforgeeks.org/python-programming-language/"&gt;Tutorial&lt;/a&gt; and &lt;a href="https://www.youtube.com/watch?v=rfscVS0vtbw"&gt;youtube&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>python</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Introduction to Data Structures and Algorithms With Python.</title>
      <dc:creator>hannahwn</dc:creator>
      <pubDate>Sun, 20 Feb 2022 22:54:24 +0000</pubDate>
      <link>https://dev.to/hannahwn/introduction-to-data-structures-and-algorithms-with-python-4eme</link>
      <guid>https://dev.to/hannahwn/introduction-to-data-structures-and-algorithms-with-python-4eme</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Why Data Structures and Algorithms Are Important?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Data structures and algorithms provide a set of unique techniques for effectively managing data. A programmer should understand the basic concepts of data management .That is, to collect data a programmer needs to access and manage data effectively using data structures and algorithms .To write efficient code that handles data one needs to understand algorithms and data structure. It would take longer to resolve a problem if the programmer does not know the predefined algorithm techniques.&lt;br&gt;
**&lt;/p&gt;
&lt;h2&gt;
  
  
  What are data structures?
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
A data structure is  a format used to store and organize data. They are fundamental to all programming and most programming languages come with them built in.&lt;br&gt;
&lt;u&gt;Types  of data structures&lt;/u&gt;&lt;br&gt;
&lt;strong&gt;Lists&lt;/strong&gt;&lt;br&gt;
Lists can also be defined as arrays .They are ordered collections of data. To create a list we:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;List = [1, 2, 3, "GFG", 2.3]
print(List)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Tuples&lt;/strong&gt;&lt;br&gt;
A tuple is a list that cannot be modified but can have various types of data&lt;br&gt;
&lt;strong&gt;Sets&lt;/strong&gt;&lt;br&gt;
Sets are  used to include membership testing and eliminating duplicate entries&lt;br&gt;
&lt;strong&gt;Stacks&lt;/strong&gt;&lt;br&gt;
A stack is like a list the only difference is you can add and remove the last item .If you have the list [1, 2, 3], you can delete the items it contains by first removing 3 then the rest. Removing an item from a stack is called popping.&lt;br&gt;
To add items to the stack we use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;stack = Stack()
stack.push(1)
print(stack.is_empty()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;)&lt;br&gt;
&lt;strong&gt;Queues&lt;/strong&gt;&lt;br&gt;
A queue is  like a stack because you can only add and remove items in a certain order; the first item added is the first item removed&lt;br&gt;
To add items on a queue we:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a_queue = Queue()

for i in range(5):
    a_queue.enqueue(i)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Linked List&lt;/strong&gt;&lt;br&gt;
A linked list is where the elements are not stored at contiguous memory locations. A linked list is represented by a pointer to the first node of the linked list. The first node is called the head. If the linked list is empty, then the value of the head is NULL.&lt;br&gt;
&lt;strong&gt;Dictionaries&lt;/strong&gt;&lt;br&gt;
A dictionary is a collection which is ordered*, changeable and do not allow duplicates. Dictionaries are used to store data values in key: value pairs. Dictionaries are written with curly brackets, and have keys and values:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(thisdict)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An &lt;em&gt;algorithm&lt;/em&gt; is a series of steps that can be taken to solve a problem.&lt;br&gt;
To learn more about data structures and algorithms and the best way to use them here is a YouTube &lt;a href="https://dev.tourl"&gt;videohttps://www.youtube.com/watch?v=pkYVOmU3MgA&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Introduction To Modern Python</title>
      <dc:creator>hannahwn</dc:creator>
      <pubDate>Sun, 13 Feb 2022 21:09:23 +0000</pubDate>
      <link>https://dev.to/hannahwn/introduction-to-modern-python-4jof</link>
      <guid>https://dev.to/hannahwn/introduction-to-modern-python-4jof</guid>
      <description>&lt;p&gt;Python is currently being used for&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data analysis&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data science&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Scripting&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Embedded development&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Server-side development&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  WHY CHOOSE PYTHON FOR PROGRAMMING?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Easy to learn and use&lt;/strong&gt;&lt;br&gt;
Python language is incredibly easy to use and learn for new beginners and newcomers. Due to its ease of learning and usage, python codes can be easily written and executed much faster than other programming languages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Many frameworks and libraries&lt;/strong&gt;&lt;br&gt;
 python has excellent libraries that you can use to select and save your time and effort on the initial cycle of development such as Django,Numpy and matplotib&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Versatility, Efficiency, Reliability, and Speed&lt;/strong&gt;&lt;br&gt;
 The python language is efficient, reliable, and much faster than most modern languages. The  best thing about versatility of python language is that it can be used in many varieties of environments such as mobile applications, desktop applications, web development, hardware programming, and many more. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Automation&lt;/strong&gt;&lt;br&gt;
 It is incredible to know that one can reach an advanced level of automation easily by just using necessary python codes. Python is the best performance booster in the automation of software testing also. One will be amazed at how much less time and few numbers of lines are required to write codes for automation tools.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7wvBMtW0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kcktewvq3fkkl1otn5k8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7wvBMtW0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kcktewvq3fkkl1otn5k8.png" alt="Image description" width="270" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For beginners here&lt;/em&gt; is the official python site to  download python to you device[(&lt;a href="https://www.python.org/)%5D.Ensure"&gt;https://www.python.org/)].Ensure&lt;/a&gt; to download the right python for your device and operating system.&lt;/p&gt;

&lt;p&gt;You will need a code editor like[(&lt;a href="https://code.visualstudio.com/)"&gt;https://code.visualstudio.com/)&lt;/a&gt;] that is open source and allows you download extensions.&lt;/p&gt;

&lt;p&gt;Here is a link to a tutorial from beginner to Pro [(&lt;a href="https://youtu.be/p15xzjzR9j0)"&gt;https://youtu.be/p15xzjzR9j0)&lt;/a&gt;]&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
