<?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: Volkan Ozdamar</title>
    <description>The latest articles on DEV Community by Volkan Ozdamar (@volkanozdamar).</description>
    <link>https://dev.to/volkanozdamar</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%2F169038%2F418826ee-b544-4594-ad66-d0b38e7ef865.jpg</url>
      <title>DEV Community: Volkan Ozdamar</title>
      <link>https://dev.to/volkanozdamar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/volkanozdamar"/>
    <language>en</language>
    <item>
      <title>Talk like Pythonista 1 - Data Types</title>
      <dc:creator>Volkan Ozdamar</dc:creator>
      <pubDate>Tue, 10 Dec 2019 07:32:58 +0000</pubDate>
      <link>https://dev.to/volkanozdamar/talk-like-pythonista-1-data-types-6oo</link>
      <guid>https://dev.to/volkanozdamar/talk-like-pythonista-1-data-types-6oo</guid>
      <description>&lt;p&gt;In programming languages data types using to represent and understand the value of data.Beside of that , we can decide what operations can be performed on data.Each programming languages has same approaches generally , but it is not standardized and every languages has their data type classification.&lt;/p&gt;

&lt;p&gt;In Python , we've got &lt;/p&gt;

&lt;p&gt;-Numbers&lt;br&gt;
-Boolean&lt;br&gt;
-Strings&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NUMBERS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Any numeric value classified as Number.These numbers has types according to their represented data.These are integers , floats and complex numbers.In Python 3 , the limit is only computer memory for decide to how long data will be represent.However float values are represented as 64-bit double-precisions.&lt;/p&gt;

&lt;p&gt;-&lt;em&gt;Integers&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Positive or negative whole numbers  are integers.Python using decimal system for all numbers.However if we need to other number systems,we can use prefix with numbers.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Prefix&lt;/th&gt;
&lt;th&gt;Interpretation&lt;/th&gt;
&lt;th&gt;Base&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0b (zero + lowercase letter 'b')&lt;/td&gt;
&lt;td&gt;Binary&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0o (zero + lowercase letter 'o')&lt;/td&gt;
&lt;td&gt;Octal&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0x (zero + lowercase letter 'x')&lt;/td&gt;
&lt;td&gt;Hexadecimal&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Some examples with integers&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; 3
3
&amp;gt;&amp;gt;&amp;gt; 0b10110
22
&amp;gt;&amp;gt;&amp;gt; -47
-47
&amp;gt;&amp;gt;&amp;gt; 0o5
5
&amp;gt;&amp;gt;&amp;gt; 0o12
10
&amp;gt;&amp;gt;&amp;gt; 0x21
33
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;-&lt;em&gt;Floats&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Float numbers wider than integers and the are fractional numbers.They have got negative and positive values and decimal point.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; 3.0
3.0
&amp;gt;&amp;gt;&amp;gt; -24.3
-24.3
&amp;gt;&amp;gt;&amp;gt; 8e-2
0.08
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;e is using for scientific notation and retuns a float value multiplied by the specified power of 10.&lt;/p&gt;

&lt;p&gt;-&lt;em&gt;Complex numbers&lt;/em&gt;&lt;br&gt;
Complex numbers are written in the form, x + yj, where x is the real part and y is the imaginary part.&lt;/p&gt;

&lt;p&gt;-&lt;em&gt;Strings&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Strings are character sets.We create strings enclose charactes with single quotes or double quotes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; "Hello , World!"
'Hello , World!'
&amp;gt;&amp;gt;&amp;gt; 'This is a sentence'
'This is a sentence'
&amp;gt;&amp;gt;&amp;gt; "I'm a developer"
"I'm a developer"
&amp;gt;&amp;gt;&amp;gt; 'I\'m a developer'
"I'm a developer"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If we need to use single quote , you have to enclose characters with double quote and vice-versa.Either , you can use escape character backslash "\".&lt;/p&gt;

&lt;p&gt;-&lt;em&gt;Boolean&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Boolean has two value.True or False.We can test boolean values simple binary logic problems.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; True and False
False
&amp;gt;&amp;gt;&amp;gt; True or False
True
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>python</category>
      <category>tutorial</category>
      <category>pytonista</category>
      <category>idle</category>
    </item>
    <item>
      <title>Talk Like Pythonista 0</title>
      <dc:creator>Volkan Ozdamar</dc:creator>
      <pubDate>Sun, 22 Sep 2019 19:17:53 +0000</pubDate>
      <link>https://dev.to/volkanozdamar/talk-like-pythonista-0-11n8</link>
      <guid>https://dev.to/volkanozdamar/talk-like-pythonista-0-11n8</guid>
      <description>&lt;p&gt;Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language.It created by dutch programmer Guido Van Rossum, under an &lt;a href="https://opensource.org/licenses/Python-2.0" rel="noopener noreferrer"&gt;OSI-approved open source license.&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;In every websites, books and even its logo shows a Python   snake.Contrary common belief , it is not taking its name from this animal.One day when Guido was working on his project, he had been watching "Monty Python's Flying Circus", a BBC comedy series from the 1970s.Then he decided call it Python,because it was short, unique and slightly mysterious name for him.&lt;/p&gt;

&lt;p&gt;When we look to the history of Python, it is going to take to lead.Growing fastly.Today is #1 language if we doesn't count elderly brothers Java and C.And some areas like A.I and Data Science it is must to learn programming language.Besides, most of universities giving entry level courses like Intoduction to Computer Science with Python, and it is affect the popularity also.The main reasons of this popularity, it is open source , easy to learn , running on multiplatform, has so many libraries   and has a great community behind.Also big companies like Google, Wikipedia, Instagram, Spotify and Amazon using Python  in their projects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fvolkanozdamar.com%2FTalk-like-Pythonista-0%2Ftiobe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fvolkanozdamar.com%2FTalk-like-Pythonista-0%2Ftiobe.png" alt="Tiobe Index September 2019" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Python has two version today, one of these are Python 2.7.x will retire 2020.Because of that, if you want to learn Python from Scratch you should start Python 3.X.&lt;br&gt;
Many Linux distros -i.e Ubuntu 17.10 and later-  coming with Python pre-installed.You can check which version is having in your system with this command. &lt;br&gt;
If you don't have Python, you just install with one command in all operating systems with package manager.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ubuntu&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install python3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;brew install python3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;choco install python3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or you can download and get more knowledge from official website. &lt;a href="https://www.python.org/downloads/" rel="noopener noreferrer"&gt;https://www.python.org/downloads/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;if your installation is succesful open your Terminal or Command Line windows and type "python --version". Output should be like below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ python3 --version
Python 3.7.4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Time to roll up our sleeves to write our first program.Again on Terminal or Command Line , write "python3"&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ python3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will open IDLE(Integrated DeveLopment Environment) .Python has another IDLE with GUI.Both of them has no differences.IDLE using for Interactive development.Other way is creating a script file with extension &lt;strong&gt;.py&lt;/strong&gt; .&lt;/p&gt;

&lt;p&gt;After open the IDLE you will see line is starting with "&amp;gt;&amp;gt;&amp;gt;".This is &lt;strong&gt;prompt&lt;/strong&gt; line and it is waiting for your input.If you write print("Hello World !") and press Enter.Like below , it will print to you what you wrote inside parantheses without " .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Python 3.7.4 (default, Jul  9 2019, 18:13:23)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&amp;gt;&amp;gt;&amp;gt; print("Hello World !")
Hello World !
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From beginning to end , i tried to explain everything for beginner to who has programming skills but want to back to basics.I will continue "Talk like Pythonista" series in the following times.Until next time , please don't forget to share and give feedback in the comments section.&lt;/p&gt;

</description>
      <category>python</category>
      <category>tutorial</category>
      <category>pytonista</category>
      <category>idle</category>
    </item>
  </channel>
</rss>
