<?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>Forem: roe0478</title>
    <description>The latest articles on Forem by roe0478 (@roe0478).</description>
    <link>https://forem.com/roe0478</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%2F669563%2F83a90166-c094-434a-ae4d-b51fc56b9cc1.png</url>
      <title>Forem: roe0478</title>
      <link>https://forem.com/roe0478</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/roe0478"/>
    <language>en</language>
    <item>
      <title>Python Building Blocks: Literals, and Variables</title>
      <dc:creator>roe0478</dc:creator>
      <pubDate>Fri, 13 Jan 2023 15:48:08 +0000</pubDate>
      <link>https://forem.com/roe0478/python-building-blocks-contants-and-variables-ei5</link>
      <guid>https://forem.com/roe0478/python-building-blocks-contants-and-variables-ei5</guid>
      <description>&lt;p&gt;Well Happy New Year Everyone!!! Before I continue with what I'm learning I just wanted to give a quick shout out to all the programmers both aspiring and vets. I hope 2023 is prosperous for you all and let's own this year.&lt;br&gt;
&lt;strong&gt;Let's own our destiny.&lt;br&gt;
Let's get it done!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We talked about reserved words and syntax errors in my last entry. Today I will share more of my learning on the building blocks of Python. &lt;/p&gt;

&lt;p&gt;Fixed values such as numbers, letters, strings; these are what are called "string literals" and they allow us to do things. Without them, we cannot ask Python to do a whole lot. Because we haven't given it anything to work with. &lt;/p&gt;

&lt;p&gt;examples of literals:&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;print(1234)
1234

&amp;gt;&amp;gt;&amp;gt;print(13.9)
13.9

&amp;gt;&amp;gt;&amp;gt;print("Hello World")
Hello World
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These literals work hand in hand with &lt;strong&gt;variables&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you recall in my last post, we gave Python instructions speaking in its language.&lt;/p&gt;

&lt;p&gt;Variables are very important in Python. I learned that variables are a piece of memory where we as programmers can store data and then use that data at a later time. Using last sessions example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = “Python”
print(x)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Speaking in a way that Python can understand, we say hey: take this small piece of computer memory and label it "x" then store the name "Python" into this small piece of memory labeled x. Lastly, print whatever the value of x is. &lt;/p&gt;

&lt;p&gt;So we stored some data then used that data at a later time by printing it to the screen.&lt;/p&gt;

&lt;p&gt;We as programmers get to choose what we name our variables. The data within that variable can be changed down the line in a later statement as well. We use what is called an assignment operator (=) to "assign" data to a piece of memory. That data can be a number, string, Boolean (True or False) among others.&lt;/p&gt;

&lt;p&gt;Example of changing the contents of a variable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = “Python”
print(x)
Python

x = "Airplane"
print(x)
Airplane

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

&lt;/div&gt;



&lt;p&gt;Our variable called x starts out with the value assignment of "Python" and we printed it to the screen. But then we changed the data inside the x variable to "Airplane" and printed it to the screen. So, it wiped the value of "Python" and reassigned the value of "Airplane" to x. Done and Done!!&lt;/p&gt;

&lt;p&gt;There is much more great information to absorb on variables and how they can be used. I will continue to fill you in as I learn. Until next time have a great day/week everyone!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Reserved Words and Syntax Errors</title>
      <dc:creator>roe0478</dc:creator>
      <pubDate>Mon, 21 Nov 2022 21:34:49 +0000</pubDate>
      <link>https://forem.com/roe0478/reserved-words-and-syntax-errors-2o50</link>
      <guid>https://forem.com/roe0478/reserved-words-and-syntax-errors-2o50</guid>
      <description>&lt;p&gt;Throughout my learning of Python, I will try to provide some nuggets on the rules of the game. There are rules that we must follow to communicate successfully with Python. Today we are going to talk about one of those rules as well as what happens when a rule is broken.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Reserved words -&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The Internet states that in a computer language, a reserved word (&lt;em&gt;also known as a reserved identifier&lt;/em&gt;) is a word that cannot be used as an identifier, such as the name of a variable, function, or label – it is "reserved from use". This is a syntactic definition, and a reserved word may have no user-defined meaning.&lt;/p&gt;

&lt;p&gt;This basically means that you cannot use these words to name or identify something. A few examples of these reserved words are: &lt;br&gt;
&lt;em&gt;&lt;strong&gt;False, None, if, class, True, return, while, for, continue&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For a full list of reserved words check this link out! [(&lt;a href="https://flexiple.com/python/python-reserved-words/)" rel="noopener noreferrer"&gt;https://flexiple.com/python/python-reserved-words/)&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;Personally, it almost feels like these words are reserved because this &lt;em&gt;IS&lt;/em&gt; the actual language Python speaks or their vocabulary system it uses to communicate with us??? Comment below if I’m on to something or not. I could be having a blow my mind moment but not too sure as of this writing. Now let's briefly discuss what happens when python cannot understand what we are asking it to do.&lt;/p&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;Syntax Errors:&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Syntax errors are actually very important in programming. I didn't really understand how significant they are. To have a “watchman” of sorts to have your back and make sure your program will run. Don't...mind if I doo...&lt;/p&gt;

&lt;p&gt;Tecnopedia states that a syntax error in computer science is an error in the syntax of a coding or programming language, entered by a programmer. Syntax errors are caught by a software program called a compiler, and the programmer must fix them before the program is compiled and then run.&lt;/p&gt;

&lt;p&gt;The compiler seems to have an important job... (&lt;em&gt;side note: doesn't the compiler seem like it should be a TV show?? I mean..."The Compiler”. But say it with a raspy narrator voice. It would be one of those primetime shows on NBC or something.&lt;/em&gt;)..moving on.&lt;br&gt;
You can find more on syntax errors here:&lt;br&gt;
[(&lt;a href="https://www.techopedia.com/definition/13391/syntax-error)" rel="noopener noreferrer"&gt;https://www.techopedia.com/definition/13391/syntax-error)&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;One thing I have been learning; to be a successful programmer we need to make sure our mindset about syntax errors is in the right place. That is, syntax errors are our friends. They let us know that something is wrong before we can move on in our code. We will feel like the computer hates us. We will feel like we can't do this, and nothing is working. Take it from me, I made up some curse words. (Trying to get them added to the dictionary as we speak.)&lt;/p&gt;

&lt;p&gt;Syntax errors are a way for the computer to tell us that it doesn't understand what we are trying to say. This gives us the opportunity to not only scan, find and fix the problem - We also learn from those errors. Our neuro receptors remember and after time will correct them allowing a freer flowing code session.&lt;/p&gt;

&lt;p&gt;Python language is like other programming languages. You can give it a set of instructions if you know how to talk the language. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = “Python”
print(x)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Speaking in a way that Python can understand, we say hey: take this small piece of computer memory and label it x then store the name "Python" into this small piece of memory labeled x. Lastly, print whatever the value of x is. This will print “Python” to the screen.&lt;/p&gt;

&lt;p&gt;However,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;return = “Python”
print(return)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will not print because we are using a reserved word return as a variable. And we will get a syntax error letting us know why it doesn’t understand.&lt;/p&gt;

&lt;p&gt;I'm excited to learn more about how we communicate with python speaking its language and how we can use syntax errors to our advantage.&lt;/p&gt;

&lt;p&gt;Thank you for reading Everyone!!&lt;br&gt;
See ya next time....&lt;/p&gt;

</description>
      <category>php</category>
    </item>
    <item>
      <title>Birth of Python</title>
      <dc:creator>roe0478</dc:creator>
      <pubDate>Tue, 08 Nov 2022 20:24:18 +0000</pubDate>
      <link>https://forem.com/roe0478/birth-of-python-3obm</link>
      <guid>https://forem.com/roe0478/birth-of-python-3obm</guid>
      <description>&lt;p&gt;In 1989, A gentleman by the name of Guido van Rossum was looking for a way to keep himself occupied over the Christmas holiday (xmas shopping wasn't enough hey?).  He decided to write an interpreter for a new scripting language that had been swirling around his brain for a while. It is noted that Van Rossum named the programming language from being a big fan of Monty Python's Flying Circus.&lt;/p&gt;

&lt;p&gt;In 1999, Van Rossum submitted a funding proposal to DARPA called "computer programming for everybody". In doing this he settled in and defined the goals of python as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;easy and intuitive language that is powerful&lt;/li&gt;
&lt;li&gt;open source for everyone to contribute to its development&lt;/li&gt;
&lt;li&gt;code that is very understandable&lt;/li&gt;
&lt;li&gt;task oriented allowing for short development times&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today entities like Netflix, Google, YouTube, Facebook, Instagram, NASA and the Jet Propulsion Labs all use Python in some form.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What makes Python so amazing?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python features an easy-to-read syntax that is simple and concise.&lt;/li&gt;
&lt;li&gt;Python is popular among businesses because of its scalability; businesses using Python to build scalable applications can handle a large quantity of traffic with comfort.&lt;/li&gt;
&lt;li&gt;You can create web apps, gaming apps, enterprise apps machine learning, artificial intelligence among others.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What can we do?&lt;/strong&gt;&lt;br&gt;
In no certain order, here are a few things we can do in the real world of using python:&lt;br&gt;
Web Development, Game Development, Machine Learning and Artificial Intelligence, Data Science and Data Visualization, Automation and Robotics, CAD Applications, Business Applications and more.&lt;/p&gt;

&lt;p&gt;So yeah, this language is awesome and actively being used in many different areas of business and technology. It's nice to get a brief history of where it all began and where it stands today. Because I for one would not want to learn something that is irrelevant. Python is anything but.&lt;/p&gt;

&lt;p&gt;With such a colorful history and robust list of what it can be used for, it is no wonder why it is a top programming language in the world. The only thing left is to get to it and start learning these building blocks. Thank you all for taking the time to read.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>python</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>Python: My Learning Journey</title>
      <dc:creator>roe0478</dc:creator>
      <pubDate>Wed, 02 Nov 2022 15:29:54 +0000</pubDate>
      <link>https://forem.com/roe0478/python-my-learning-journey-4bjg</link>
      <guid>https://forem.com/roe0478/python-my-learning-journey-4bjg</guid>
      <description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;My name is Terrell, and I am an aspiring software engineer. I am starting this writing to accomplish a few tasks.&lt;/p&gt;

&lt;p&gt;The first is to put what I'm learning into a format that reenforces the skills that I am developing.  What skills you ask?? PYTHON the wonderful world of automation, data manipulation and of course API's.&lt;/p&gt;

&lt;p&gt;Truth be told.... I um...don't really know what all of that means. But finding out what these terms mean is the purpose of this blog along with reason 2 of why I'm doing this. &lt;/p&gt;

&lt;p&gt;It is to hopefully help others who are learning Python as well. I have dabbled in HTML, CSS and JavaScript. I found the first two to be pretty easy to learn. JavaScript....well we won't talk about that right now. I'm having a good day, lol. &lt;/p&gt;

&lt;p&gt;Anyways, when I started learning about Python I was immediately engaged and wanted to know more. I've heard that Python is super easy to learn and user friendly and it is a great beginner language. Well...I'm a beginner so heck yeah! &lt;/p&gt;

&lt;p&gt;As with anything worth doing. This won't be a cakewalk. I will certainly oof on understanding certain concepts, tools and best practices. (I'm taking to you PEP 8 standards)&lt;/p&gt;

&lt;p&gt;But my hope is with struggle comes understanding. and from this understanding comes skill. This way we can get past the technicalities and start solving issues.&lt;/p&gt;

&lt;p&gt;So, stay tuned, odds are I will have more questions than answers. But the great thing is we can answer them together. Be well.&lt;/p&gt;

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