<?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: tarakuds</title>
    <description>The latest articles on DEV Community by tarakuds (@tarakuds).</description>
    <link>https://dev.to/tarakuds</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%2F437399%2F4f29baf0-f39a-4a92-ab48-cf9d9d14d145.png</url>
      <title>DEV Community: tarakuds</title>
      <link>https://dev.to/tarakuds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tarakuds"/>
    <language>en</language>
    <item>
      <title>Python For Everyone - Mastering Python the right way</title>
      <dc:creator>tarakuds</dc:creator>
      <pubDate>Thu, 03 Mar 2022 16:03:54 +0000</pubDate>
      <link>https://dev.to/tarakuds/python-for-everyone-mastering-python-the-right-way-3c29</link>
      <guid>https://dev.to/tarakuds/python-for-everyone-mastering-python-the-right-way-3c29</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--U58NLlUe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://biogas-india.com/wp-content/uploads/2021/06/Lozingle_10032014-1280x720-1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--U58NLlUe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://biogas-india.com/wp-content/uploads/2021/06/Lozingle_10032014-1280x720-1.jpg" alt="Python Logo" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There's a general saying that &lt;em&gt;what is good for Mr A may not be good for Mr B&lt;/em&gt;. But then, how about Mr B diligently following the right way or process? Well I'll leave you to be the judge of that.&lt;/p&gt;

&lt;p&gt;Ever since I picked an interest in learning &lt;strong&gt;python&lt;/strong&gt;, its been an interesting ride all through, especially having to find out the numerous solutions one can achieve with it.&lt;/p&gt;

&lt;p&gt;Lets get down to business. It may interest you that python can be applied in the following fields;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Website development&lt;/li&gt;
&lt;li&gt;Data Science&lt;/li&gt;
&lt;li&gt;Machine Learning&lt;/li&gt;
&lt;li&gt;Automation and a lot more.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Deciding which field you will like to specialize in will help you  streamline your learning. However, the following basic knowledge are required irrespective of the field you decide to concentrate on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Types&lt;/strong&gt;: these includes how to represent strings, numbers, boolean and functions declaration.&lt;br&gt;
&lt;strong&gt;Data structures&lt;/strong&gt; : the likes of &lt;code&gt;tuples&lt;/code&gt;, &lt;code&gt;sets&lt;/code&gt;, &lt;code&gt;dictionary&lt;/code&gt; etc is also needed.&lt;br&gt;
&lt;strong&gt;Object Oriented Programming&lt;/strong&gt; : how to use classes and create reusable modules.&lt;br&gt;
Get more information from my previous articles &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/tarakuds/python-101-ultimate-python-guide-11pl"&gt;https://dev.to/tarakuds/python-101-ultimate-python-guide-11pl&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/tarakuds/data-structures-and-algorithm-5707"&gt;https://dev.to/tarakuds/data-structures-and-algorithm-5707&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Back to the top, all that has been stated are just words of mouth. In order to actualize any of these processes and see it work real time, you will be needing an IDE(by now you should know what this is) and an interpreter. In this case, I will recommend using Visual studio code amongst others and the python extension on VS code or download Python itself from their official website. You can use the following links &lt;a href="https://code.visualstudio.com/"&gt;visual studio code official&lt;/a&gt; &lt;a href="https://www.python.org/downloads/"&gt;python official website&lt;/a&gt;. To get more information about its installation you can check some of my previous articles stated above.&lt;/p&gt;

&lt;p&gt;Here are a few projects you can get done using python and references to their code base on my github profile. Please do good to star if you find these codes useful.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/tarakuds/project1"&gt;Determine Fibonacci sequence&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/tarakuds/project1/tree/leapYearCalc"&gt;identifying if a particular year is a leap year&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/tarakuds/project1/tree/instaDownloader"&gt;Web scrapping using instagram as a reference to download profile pictures of any user - &lt;em&gt;still a work in progress&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Enjoy your read.&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>guide</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Data Structures and Algorithm</title>
      <dc:creator>tarakuds</dc:creator>
      <pubDate>Mon, 21 Feb 2022 21:38:10 +0000</pubDate>
      <link>https://dev.to/tarakuds/data-structures-and-algorithm-5707</link>
      <guid>https://dev.to/tarakuds/data-structures-and-algorithm-5707</guid>
      <description>&lt;h2&gt;
  
  
  Data structure
&lt;/h2&gt;

&lt;p&gt;This explains how data is organized and stored when been processed so as to ensure that it is accessible and stored efficiently without loosing accuracy&lt;/p&gt;

&lt;h2&gt;
  
  
  Algorithm
&lt;/h2&gt;

&lt;p&gt;This describes the flow / set of instruction required to process data for a specific purpose.This deals with certain logic to solve problems.&lt;/p&gt;

&lt;p&gt;In python, the following data structure exists&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Lists&lt;/li&gt;
&lt;li&gt;Tuples&lt;/li&gt;
&lt;li&gt;Dictionary&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These three are somewhat synonymous to an Array as commonly described by other programming languages. However, they differ in a few little ways.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Don't get confused, I'll explain.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lists&lt;/strong&gt;&lt;br&gt;
they are an array that can contain the various data types as an element. They can however be modified and can be accessed using their number indexes using the form (where the first index starts from 0 and the last n-1)&lt;/p&gt;

&lt;p&gt;Example&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list1 = ['physics', 'chemistry', 1997, 2000, "c", "d"]

print(list1[0]) 
#output : physics

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

&lt;/div&gt;



&lt;p&gt;You can perform a few additional operations such as append()-add list&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tuples&lt;/strong&gt;&lt;br&gt;
In the case, they are also an indexed array but are immutable (that is cannot be changed or are said to be constant through the entire program) once declared. This however doesn't make them useless, they can be used and accessed when a need arises.&lt;/p&gt;

&lt;p&gt;Example&lt;br&gt;
Even though immutable can be concatenated&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tup1 = (12, 34.56);
tup2 = ('abc', 'xyz');

#concatenation
tup3 = tup1 + tup2;

print tup3;

#output will be - (12, 34.56, 'abc', 'xyz')

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Dictionaries&lt;/strong&gt;&lt;br&gt;
Here they are stored and accessed using key-value pairs. Just like an object in other programming languages.&lt;/p&gt;

&lt;p&gt;Example&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dict = {
        'Name': 'Zara', 
        'Age': 7, 
        'Class': 'First'
       }
print "dict['Name']: ", dict['Name'] 
#output  - Zara

print "dict['Age']: ", dict['Age'] 
#output - 7

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

&lt;/div&gt;



&lt;p&gt;Other types of data structures includes&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Set&lt;/strong&gt;&lt;br&gt;
They are mutable collection of data. They are useful as they dont allow for duplicates. Note that a frozen set is immutable. They remain the same at all times&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linked List&lt;/strong&gt;&lt;br&gt;
As the name implies, its elements are linked using pointers. Therefore, they have no contiguous memory location for storage. the structure is as follows, the first node is called the ** Head **. Each node contains a data and a pointer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stack&lt;/strong&gt;&lt;br&gt;
This is also another linear data structure storing items in a particular manner. Last-In/First-Out or First-In/Last-Out. Here, as an element is added one one end, the element comes out from that same end. simple explanation for this is when you pile books, to access any of the book, you need to remove from the ones above till you get to you choice book. removing the book you need suddenly can scatter the whole structure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Queue&lt;/strong&gt;&lt;br&gt;
It stores items in a First-In/First-Out manner. Just as the name implies, when on a bank or coffee shop queue, the first customer to arrive will be the first to be attended to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tree&lt;/strong&gt;&lt;br&gt;
This is a data structure arranged according to their hierarchy, from the root to the least node.&lt;/p&gt;

&lt;h3&gt;
  
  
  KEYS
&lt;/h3&gt;

&lt;p&gt;Element: each item stored in an array&lt;br&gt;
Index: location of an element stored in an array&lt;br&gt;
concatenation: combining more than one variable to one&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>programming</category>
      <category>journey</category>
    </item>
    <item>
      <title>Python 101 - Ultimate Python Guide</title>
      <dc:creator>tarakuds</dc:creator>
      <pubDate>Sun, 13 Feb 2022 21:42:53 +0000</pubDate>
      <link>https://dev.to/tarakuds/python-101-ultimate-python-guide-11pl</link>
      <guid>https://dev.to/tarakuds/python-101-ultimate-python-guide-11pl</guid>
      <description>&lt;h2&gt;
  
  
  Introduction To Modern Python
&lt;/h2&gt;

&lt;p&gt;Python is an high level language, easy to learn but powerful as well. It uses the Object Oriented Programming approach. It can be used in a series of application such as application development, machine learning, artificial intelligence, automation and more. &lt;/p&gt;

&lt;h2&gt;
  
  
  Installation Process
&lt;/h2&gt;

&lt;p&gt;It is simpler to use, and available for major operating system platforms such as Windows, Mac, Linux etc whose installation files can be found on &lt;a href="https://www.python.org/downloads/"&gt;Python download&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Download the installer file
&lt;/h3&gt;

&lt;p&gt;This can be obtained from the python official site stated above. Ensure to download the latest stable version.&lt;/p&gt;

&lt;h3&gt;
  
  
  Run the installer
&lt;/h3&gt;

&lt;p&gt;please ensure to check the box that says &lt;em&gt;add python 3 x to path&lt;/em&gt; this ensures that the installer places the interpretor in an execution path.&lt;/p&gt;

&lt;h3&gt;
  
  
  Confirm installation
&lt;/h3&gt;

&lt;p&gt;After the installation is complete, launch the command prompt on your PC and type &lt;code&gt;python3 --version&lt;/code&gt; to ascertain the version of python that is been installed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Write your first line of codes
&lt;/h3&gt;

&lt;p&gt;Create a directory on the command prompt, create a file, launch the file in a text editor.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FpUyevkD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/596r7l5smfwlwh6bnhkn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FpUyevkD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/596r7l5smfwlwh6bnhkn.png" alt="CMD File Creation" width="706" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;write your first line of code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;message = "Hello World"

print(message)

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

&lt;/div&gt;



&lt;p&gt;to test these lines of code, return to your CMD and type &lt;code&gt;python3 &amp;lt;filename&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;There you go, your first python code running. Explore more and appreciate its wonders.&lt;/p&gt;

&lt;h3&gt;
  
  
  You should also know
&lt;/h3&gt;

&lt;p&gt;The program can also be splitted into reusable forms called &lt;strong&gt;MODULES&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Just like every other programming language, python  uses the string, numeric, boolean, arays/list data types. using similar control flows such as if, elif(else if), while loop, for loops, functions and more. You can also use packages that can be imported directly into the code structure.&lt;/p&gt;

&lt;p&gt;All python files saved into a text editor must end with the extension .py. There are a few interpreters that can be used alongside to test our code these includes; Jupyter notebook, Pycharm, Anaconda etc.&lt;/p&gt;

&lt;p&gt;It is easily identified by this image &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mcj8VeMB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kwhl6csrtl6hyw49sh6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mcj8VeMB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kwhl6csrtl6hyw49sh6b.png" alt="Python Logo" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Please Note&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;When writing python codes, indentation is very important, else one may run into errors. &lt;/p&gt;

&lt;p&gt;Follow this space for more.&lt;/p&gt;

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