<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Uncategorized &#8211; Code Yogis</title>
	<atom:link href="https://codeyogis.tech/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeyogis.tech</link>
	<description></description>
	<lastBuildDate>Sat, 07 Feb 2026 22:49:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://codeyogis.tech/wp-content/uploads/2024/08/cropped-0e92ebfd-d963-4a53-be5a-8a6924b76d18-e1723488085696-32x32.jpg</url>
	<title>Uncategorized &#8211; Code Yogis</title>
	<link>https://codeyogis.tech</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hack For Marrow</title>
		<link>https://codeyogis.tech/2026/02/07/hack-4-marrow/</link>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sat, 07 Feb 2026 22:31:27 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=1078</guid>

					<description><![CDATA[In the summer of 2025, I organized something that would change my life forever — the first‑ever Hack for Marrow, [&#8230;]]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1078" class="elementor elementor-1078" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-890fb02 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="890fb02" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7a0ec17" data-id="7a0ec17" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-cd58bc3 elementor-widget elementor-widget-text-editor" data-id="cd58bc3" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><span style="white-space-collapse: preserve; font-size: 16px; font-style: inherit; font-weight: inherit; color: #7a7a7a; font-family: Poppins, sans-serif;">In the summer of </span><strong style="white-space-collapse: preserve; font-size: 16px; font-style: inherit; color: #7a7a7a; font-family: Poppins, sans-serif;">2025</strong><span style="white-space-collapse: preserve; font-size: 16px; font-style: inherit; font-weight: inherit; color: #7a7a7a; font-family: Poppins, sans-serif;">, I organized something that would change my life forever — the first‑ever </span><strong style="white-space-collapse: preserve; font-size: 16px; font-style: inherit; color: #7a7a7a; font-family: Poppins, sans-serif;">Hack for Marrow</strong><span style="white-space-collapse: preserve; font-size: 16px; font-style: inherit; font-weight: inherit; color: #7a7a7a; font-family: Poppins, sans-serif;">, a global youth hackathon dedicated to raising awareness and building solutions for bone marrow failure diseases. What began as a personal mission inspired by my mom’s diagnosis grew into a worldwide movement powered by young innovators who wanted to make a difference.</span></p><p><span style="white-space-collapse: preserve;">This blog is my reflection on what we built together — and why it matters.</span></p><div><span style="font-style: inherit; font-weight: inherit; white-space-collapse: preserve; text-transform: capitalize;">My family’s experience with bone marrow failure opened my eyes to how rare these conditions are and how little awareness exists. I wanted to do something meaningful — something that combined my love for technology, my passion for community, and my desire to support families like mine.</span></div><p><span style="white-space-collapse: preserve;">Hack for Marrow became that mission.</span></p><h3> <span style="color: #043363; font-family: Montserrat, sans-serif; font-size: 48px; font-style: inherit; text-transform: capitalize;">A Global Hackathon With Purpose</span></h3><p><span style="white-space-collapse: preserve;">Hack for Marrow is a <strong>week‑long virtual hackathon for teens aged 13–19</strong>, designed to empower young innovators to build solutions that support the bone marrow failure community.</span></p><p><span style="white-space-collapse: preserve;">During the <strong>summer of 2025</strong>, we welcomed <strong>participants from across the world</strong>, representing different cultures, time zones, and skill levels. The diversity of perspectives made the event incredibly dynamic and creative.</span></p><p><span style="white-space-collapse: preserve;">The event was also featured by <strong>Global Genes</strong>, one of the world’s leading rare‑disease advocacy organizations, which helped amplify our mission and connect us with families globally.</span></p><h3><strong>Innovation Across the Board</strong></h3><p><span style="white-space-collapse: preserve;">Every participant brought something unique. Projects included:</span></p><ul><li><p><span style="white-space-collapse: preserve;">AI‑powered awareness and education tools</span></p></li><li><p><span style="white-space-collapse: preserve;">Patient‑support and mental‑health platforms</span></p></li><li><p><span style="white-space-collapse: preserve;">Risk‑prediction concepts</span></p></li><li><p><span style="white-space-collapse: preserve;">Data‑driven research ideas</span></p></li><li><p><span style="white-space-collapse: preserve;">Apps designed to help families track symptoms and resources</span></p></li></ul><p><span style="white-space-collapse: preserve;">Many students were first‑time coders, yet they pushed themselves to learn, collaborate, and build something meaningful. It showed me that <strong>when youth are given a mission, they don’t just participate — they innovate.</strong></span></p><h3> <strong style="color: #043363; font-family: Montserrat, sans-serif; font-size: 48px; font-style: inherit; text-transform: capitalize;">Our 2025 Judges</strong></h3><p><span style="white-space-collapse: preserve;">I’m grateful to have had an incredible panel of judges who supported Hack 4 Marrow with their time and expertise:</span></p><ul><li><p><span style="white-space-collapse: preserve;"><strong>Hari Gopalkrishnan — Chief Technology &amp; Information Officer, Bank of America</strong></span></p></li><li><p><span style="white-space-collapse: preserve;"><strong>Dr. Daria Babushok — Physician‑Scientist &amp; Assistant Professor of Medicine, University of Pennsylvania</strong></span></p></li><li><p><span style="white-space-collapse: preserve;"><strong>Adam Hocek — Founder, Aecho</strong></span></p></li><li><p><span style="white-space-collapse: preserve;"><strong>Dr. Mumu Xu — Associate Professor, University of Maryland</strong></span></p></li></ul><p><span style="white-space-collapse: preserve;"><strong>Thank you to each of them</strong> for helping guide and inspire our participants.</span></p><div><strong style="color: #043363; font-family: Montserrat, sans-serif; font-size: 24px; font-style: inherit; text-transform: capitalize;">Raising Thousands of Dollars for AAMDSIF</strong></div><p><span style="white-space-collapse: preserve;">One of the most meaningful outcomes of Hack 4 Marrow was its fundraising impact. In 2025, we raised <strong>thousands of dollars for the Aplastic Anemia and MDS International Foundation (AAMDSIF)</strong> — supporting research, patient services, and advocacy.</span></p><p><span style="white-space-collapse: preserve;">Knowing that a youth‑led event could make a real contribution to families like mine was incredibly fulfilling.</span></p><h5><strong>Supported by Organizations That Believe in Youth Leadership</strong></h5><p><span style="white-space-collapse: preserve;">Hack for Marrow has been supported by organizations that share our mission, including:</span></p><ul><li><p><span style="white-space-collapse: preserve;"><strong>AAMDSIF</strong></span></p></li><li><p><span style="white-space-collapse: preserve;"><strong>Global Genes</strong></span></p></li><li><p><span style="white-space-collapse: preserve;"><strong>Code Yogis</strong></span></p></li><li><p><span style="white-space-collapse: preserve;"><strong>Aecho</strong></span></p></li></ul><p><span style="white-space-collapse: preserve;">Their partnership helped us reach more students and more families than ever before.</span></p><p><span style="white-space-collapse: preserve;">Hack for Marrow proved what young people can accomplish when they’re given a mission and a community. It showed that awareness doesn’t have to come from large institutions — it can come from students, families, and anyone who cares enough to act.</span></p><p><span style="white-space-collapse: preserve;">This is just the beginning of what youth‑driven innovation can do for the bone marrow failure community.</span></p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Flask on Apache</title>
		<link>https://codeyogis.tech/2024/08/24/flask-on-apache/</link>
					<comments>https://codeyogis.tech/2024/08/24/flask-on-apache/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sat, 24 Aug 2024 02:44:04 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=906</guid>

					<description><![CDATA[How to Deploy a Flask Application on Apache WebServer on Mac This article explains step by step how to deploy [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>How to Deploy a Flask Application on Apache WebServer on Mac</p>



<p>This article explains step by step how to deploy a Python Flask application on an Apache WebServer on Mac. The diagram below explains how the Apache server will work with our code:</p>



<p><strong>Step 1:</strong></p>



<p><strong>Install Flask:</strong></p>



<p>Type this command into your terminal to install Flask on your machine:</p>



<p><strong>Step 2:</strong></p>



<p><strong>Install mod_wsgi:</strong></p>



<p>Type this command into your terminal to install mod_wsgi on your machine:</p>





<p><strong>Step 3:</strong></p>



<p><strong>Create a Flask application:</strong></p>



<p>Create a .py file for your Flask application. Let’s name it “Hello_Flask.py” . We also need to make a folder for this file(I named mine “Alaina_code”). Now enter the following code into your .py file:</p>



<p><strong>Step 4:</strong></p>



<p><strong>Create a WSGI file:</strong></p>



<p>In order for the Apache server to understand the code we wrote in “Hello_Flask.py”, we need to make a .wsgi file. Let’s name it “Flsk_config.wsgi”. Put this file in the folder we made in the last step and enter in the following code into it:</p>



<p><strong>Step 5:</strong></p>



<p><strong>Editing and working with httpd.conf:</strong></p>



<p>We finally need Apache to recognize the WSGI file we wrote. Apache’s config file(httpd.conf) should be available at this path:‘/etc/apache2’. Open it and enter in the following:</p>



<p>Now you should be able to run your program. To test it, type into the browser:</p>



<p>http://localhost/flasktest/Hello</p>



<p>You should be getting a message like this:</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/24/flask-on-apache/feed/</wfw:commentRss>
			<slash:comments>17</slash:comments>
		
		
			</item>
		<item>
		<title>For Loops</title>
		<link>https://codeyogis.tech/2024/08/18/for-loops/</link>
					<comments>https://codeyogis.tech/2024/08/18/for-loops/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sun, 18 Aug 2024 16:13:26 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=611</guid>

					<description><![CDATA[For LoopsThe Basics of: Python For LoopsIf you’re a beginner for python and are still trying to master the basics, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>For Loops</strong><br><strong><br></strong>The Basics of: Python For Loops<br>If you’re a beginner for python and are still trying to master the basics, this tutorial can give you step by step instructions on how to write for loops, and what they’re used for in your programs.<br>If you’re experienced in other languages, you may already know the basic concept of loops: To repeat a certain event a certain amount of times. A simple example of the for loop in python is this:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="248" height="48" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0019.jpg" alt="" class="wp-image-474"/></figure>



<p>Here we take the variable ‘i’ and use it to print the sentence 5 times. As you could tell, the range factor tells the range of how many times the task would be repeated. By default, the first value in the “range” is 0, but if you want, you can change it and instead do something like the following:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="264" height="53" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0020.jpg" alt="" class="wp-image-475"/></figure>



<p>When doing this, the task inside the loop will be done 3 times, since the range between 2 and 5 is 3.<br>For loops can also be used to, for example, read through one at a time a list of words in a list. For example:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="291" height="59" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0021.jpg" alt="" class="wp-image-476"/></figure>



<p>For absolute beginners, this might look a little complicated, but whats happening hear, is that by creating this variable ‘i’ for our loop, and saying that it’s representing the values in ‘MyList’, when we come back around in our loop, every time, it moves on to the next value in the list, or adds one.<br><br>For loops are used in a variety of complicated programs, and require logic and thinking to understand them, but with practice, the concept of for loops makes for easier and on-point programs.</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/18/for-loops/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>The Print Statement</title>
		<link>https://codeyogis.tech/2024/08/18/the-print-statement/</link>
					<comments>https://codeyogis.tech/2024/08/18/the-print-statement/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sun, 18 Aug 2024 16:10:35 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=607</guid>

					<description><![CDATA[The Print Statement Another short simple tutorial about the basics of python covers the print statements. If you’re familiar with [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>The Print Statement</strong></p>



<p>Another short simple tutorial about the basics of python covers the print statements. If you’re familiar with other languages, you might already know that a ‘print statement’ is a line or two of code that prints a string ( a combination of letters) or numbers in your local python console. This simple tutorial explains how this simple statement works.<br>A print statement is useful when you want to find information that your program is computing. The print statement is a built in Python function that starts like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="100" height="33" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0014.jpg" alt="" class="wp-image-469"/></figure>



<p>When printing in a hardcoded string, unlike other languages, Python is pretty flexible. You’ll get the same result if you use double or single quotes.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="358" height="61" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0015.jpg" alt="" class="wp-image-470" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0015.jpg 358w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0015-300x51.jpg 300w" sizes="(max-width: 358px) 100vw, 358px" /></figure>



<p>Now lets think how to print a variable. When printing a variable, you first define it, and then put it into the parenthesis without any quotes, like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="160" height="46" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0016.jpg" alt="" class="wp-image-471"/></figure>



<p>Finally, we will learn how to concatenate a variable and a string in a print statement. Concatenating is when you combine two different strings in a print statement like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="248" height="51" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0017.jpg" alt="" class="wp-image-472"/></figure>



<p>Here we use the plus sign to combine these two strings. The only problem with this is that we can only combine strings. If you try to do something like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="230" height="54" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0018.jpg" alt="" class="wp-image-473"/></figure>



<p>You would get an error.<br>I hope that this tutorial helped and please comment with any questions!</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/18/the-print-statement/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Variables</title>
		<link>https://codeyogis.tech/2024/08/18/variables/</link>
					<comments>https://codeyogis.tech/2024/08/18/variables/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sun, 18 Aug 2024 16:06:24 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=605</guid>

					<description><![CDATA[VariablesPython VariablesIf you have any experince with computer programming at all, in any way, shape or form, then you should [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="has-text-align-left">Variables<br><strong>Python Variables<br></strong>If you have any experince with computer programming at all, in any way, shape or form, then you should at least have the basic understanding of what a variable is. For people who don’t know what a variable in coding is, it is a simple way to store information. For example, if you want to store the value 3 somewhere to use it in multiple places in your program, that is when you would use a variable. This simple article will help you understand what a variable is in Python, how to define one, and how to properly use it in your code.<br>Like I said before, a variable in Python is used for storing any type of information. Wether it is a number, a string(of letters/words) or practically anything else, a variable can be used. To define a variable in Python, you must write the name of the variable, followed by an equal to sign and then whatever must be stored inside the variable:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="148" height="51" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0010.jpg" alt="" class="wp-image-465"/></figure>



<p>In this example we used the variable to store a number, however, if you want to store a string, you should surround it with quotation marks for it to be valid:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="267" height="38" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0011.jpg" alt="" class="wp-image-466"/></figure>



<p>You can essentially name your variable anything you like, however it is best to name it something unique and easy to remember.<br>So now that we know how to define variables, now we can talk about how to actually use them in our programs. We can use variables in several different situations: we use variables to store information and be referenced to, and even manipulated in our programs. It also helps to label our information with a discriptive name so that our programs can be clean, organized and easilly understood. Here is an example on how we can use variables in a simple beginner program:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="178" height="97" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0012.jpg" alt="" class="wp-image-467"/></figure>



<p>If you do the math on your own, you’ll be able to figure out that after we run this program, the computer should return this as our answer:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="61" height="103" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0013.jpg" alt="" class="wp-image-468"/></figure>



<p>I hope this tutorial helped in understand Python Variables! As always, leave any questions or concerns down in the comment section.</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/18/variables/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Functions</title>
		<link>https://codeyogis.tech/2024/08/18/functions/</link>
					<comments>https://codeyogis.tech/2024/08/18/functions/#respond</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sun, 18 Aug 2024 16:03:21 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=603</guid>

					<description><![CDATA[Functions For the final article in “the Basics of Python,” we will go over Python Functions. This is a simple [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>Functions</strong><br><br>For the final article in “the Basics of Python,” we will go over Python Functions. This is a simple skill to learn as an experienced programmer, but regardless of your coding experience, you will certainly come across functions in your programs.<br>If you are new to computer coding, functions are used many times for organizing your code into chunks and making it easier on yourself. Functions essentially help you group code together that you can use in different parts of a program without rewriting this code.<br><strong>Syntax</strong><br>The basic syntax of a Python function looks like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="185" height="102" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0006.jpg" alt="" class="wp-image-461"/></figure>



<p>As you can imagine, upon calling this function, (calling means to run the function which I will explain later on), it will returns (or give back) the answer 12. The parenthesis next to the name of the function is not optional and is there to hold your parameters. One way to think of parameters is as variables to use inside the function. For example, if there is a dynamic value you need to use in your program, you will set it as a parameter, then set the value of the parameter upon calling the function. For example:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="201" height="67" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0007.jpg" alt="" class="wp-image-462"/></figure>



<p>Here, x and y aren’t given a value, and instead, we will define them when we call the function.<br>Calling a function</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="154" height="40" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0008.jpg" alt="" class="wp-image-463" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0008.jpg 154w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0008-150x40.jpg 150w" sizes="(max-width: 154px) 100vw, 154px" /></figure>



<p>The above image is an example of how to call a function. In this case, we are printing the result of the function with the name and parenthesis next to it. If we have any parameters in the function, we need to define them here like so:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="166" height="41" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0009.jpg" alt="" class="wp-image-464"/></figure>



<p class="has-text-align-left"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/18/functions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>If statements</title>
		<link>https://codeyogis.tech/2024/08/18/if-statements/</link>
					<comments>https://codeyogis.tech/2024/08/18/if-statements/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sun, 18 Aug 2024 16:01:34 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=601</guid>

					<description><![CDATA[If statements A very common yet important skill to learn in any programming language is how to write if statements. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>If statements</strong><br><br>A very common yet important skill to learn in any programming language is how to write if statements. When writing an “If Statement” you specify a hypothetical condition, and state code to be executed if that condition is satisfied. This step by step tutorial is for beginners to Python to learn how to write and understand If-Statements in Python.<br>An if statement can be anything, such as testing if a variable is the write value, or using it in a loop for complicated programs. One simple example of the If Statement is this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="337" height="75" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0003.jpg" alt="" class="wp-image-458" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0003.jpg 337w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0003-300x67.jpg 300w" sizes="(max-width: 337px) 100vw, 337px" /></figure>



<p><strong>SYNTAX</strong><br><strong><br></strong>Here as shown, if loops start with the word if, then after that enter in the hypothetical statement (Such as if my name is Alaina). If you want to put an equals to in the If like I did, make sure it’s double. At the end of the statement, put a colon as shown above. This automatically puts a tab underneath the statement which is also a must.<br>Another feature of if statements are the ‘else’. When you have an if statement and you want your program to choose one category or another while running, it can be helpful to add an ‘else’ after the If statement.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="317" height="134" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0004.jpg" alt="" class="wp-image-459" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0004.jpg 317w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0004-300x127.jpg 300w" sizes="(max-width: 317px) 100vw, 317px" /></figure>



<p>Here, if someone didn’t enter in their age as twelve, the code would check the if loop, and see that it didn’t satisfy the requirement for it, and then immediately fall into the “else” category.<br><br><strong>SYNTAX</strong><br><br>The syntax of the else is similar to that of the if; put a colon at the end and just the word else. You don’t need to specify any category because the two choices your program will have to go into is (in our case) the “is 12” category, and the “every other number that isn’t 12” category.<br><br>Finally, the last feature of the IF I’ll be talking about is the “elif”. For some people, this may be a completely new concept in any language, so let me explain.<br>With the previous If and else statements, you only have to cases to deal with, If a special case, and everything else, but what if we have more than two scenarios to deal with? This is when our ‘elif’ or ‘else/if’ comes into play. In this case, we will have to write something like this:<br></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="312" height="157" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0005.jpg" alt="" class="wp-image-460" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0005.jpg 312w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0005-300x151.jpg 300w" sizes="(max-width: 312px) 100vw, 312px" /></figure>



<p>Here, instead of an automatic else, it’s almost like we’re adding another if, except it’s in the same chain of if and else.<br>But why can’t we just put another if? Well, when we had the if and else statement in the beginning, the if was connected to the else, so if the if statement wasn’t satisfied, it would fit into the else category, but once you start another if statement, all your code isn’t going to be as neatly connected as it can be with an elif.<br><br><strong>SYNTAX</strong><br><br>You can use as many elifs as you want in a program, the only rules are that they are a lot like ifs, and your sequence of them needs to start with an if, (an elif can’t stand alone, just like a train needs an engine car at the front) and ends with an else.<br>I hope this tutorial helped you understand the basics of if statements. Go into the comments for any questions!<br></p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/18/if-statements/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>How to use the Face-Recognition library in Python</title>
		<link>https://codeyogis.tech/2024/08/17/how-to-use-the-face-recognition-library-in-python/</link>
					<comments>https://codeyogis.tech/2024/08/17/how-to-use-the-face-recognition-library-in-python/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sat, 17 Aug 2024 11:28:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=501</guid>

					<description><![CDATA[Face recognition is an amazing technology that is starting to become more and more popular in our apps and cell [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Face recognition is an amazing technology that is starting to become more and more popular in our apps and cell phones, and now there’s a new python library that let’s us incorporate face recognition into our own python applications!</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="480" height="287" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0036.jpg" alt="" class="wp-image-502" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0036.jpg 480w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0036-300x179.jpg 300w" sizes="(max-width: 480px) 100vw, 480px" /></figure>



<p>In this tutorial, I’m going to be teaching you some of the most common face-recognition functions and then provide code for one of my face recognition python programs.<br>First we need to install face-recognition:<br>To install the face-recognition library on your machine, you can use the following command in the terminal:</p>



<p>Here are some common lines you can use in your face recognition programs and what they do:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="223" height="54" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0037.jpg" alt="" class="wp-image-503"/></figure>



<p>Obviously, this line is to import the library into your program</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="401" height="42" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0038.jpg" alt="" class="wp-image-504" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0038.jpg 401w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0038-300x31.jpg 300w" sizes="(max-width: 401px) 100vw, 401px" /></figure>



<p>This line tells face-recognition which picture you want it to analyze.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="623" height="39" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0039.jpg" alt="" class="wp-image-505" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0039.jpg 623w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0039-300x19.jpg 300w" sizes="(max-width: 623px) 100vw, 623px" /></figure>



<p>This line returns a list of encodings face-recognition will use to detect faces. Of course if you saved the previous line in a variable, put the name of that variable in place of “face_recognition.load_image_file(“your_file.jpg”)”</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="374" height="43" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0040.jpg" alt="" class="wp-image-506" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0040.jpg 374w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0040-300x34.jpg 300w" sizes="(max-width: 374px) 100vw, 374px" /></figure>



<p>This line is for comparing to faces and returns a boolean response. If it’s true, that means that the two pictures it’s comparing are of the same person. The third parameter, is of the tolerance. Depending on how high the tolerance is, the more closely face-recognition checks for those tiny details of the face. I found that 0.5 is the perfect tolerance for most pictures. Too much or too little tolerance will cause your program to break, so I would recommend to go with 0.5.&nbsp;If that doesn’t work, you can experiment with different tolerances.<br>If you want to see some sample face-recognition applications, visit my face-recognition repository at<br>https://github.com/alainaahuja/face_recognition<br>Flask on Apache<br>How to Deploy a Flask Application on Apache WebServer on Mac<br>This article explains step by step how to deploy a Python Flask application on an Apache WebServer on Mac. The diagram below explains how the Apache server will work with our code</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="596" height="394" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0041.jpg" alt="" class="wp-image-507" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0041.jpg 596w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0041-300x198.jpg 300w" sizes="(max-width: 596px) 100vw, 596px" /></figure>



<p>Install Flask:<br>Type this command into your terminal to install Flask on your machine:</p>



<p>Step 2:<br>Install mod_wsgi:<br>Type this command into your terminal to install mod_wsgi on your machine:</p>



<p>Step 3:<br>Create a Flask application:<br>Create a .py file for your Flask application. Let’s name it “Hello_Flask.py” . We also need to make a folder for this file(I named mine “Alaina_code”). Now enter the following code into your .py file:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="404" height="192" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0042.jpg" alt="" class="wp-image-508" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0042.jpg 404w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0042-300x143.jpg 300w" sizes="(max-width: 404px) 100vw, 404px" /></figure>



<p>Step 4:<br>Create a WSGI file:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="210" height="202" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0043.jpg" alt="" class="wp-image-509"/></figure>



<p>In order for the Apache server to understand the code we wrote in “Hello_Flask.py”, we need to make a .wsgi file. Let’s name it “Flsk_config.wsgi”. Put this file in the folder we made in the last step and enter in the following code into it:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="491" height="102" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0044.jpg" alt="" class="wp-image-510" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0044.jpg 491w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0044-300x62.jpg 300w" sizes="(max-width: 491px) 100vw, 491px" /></figure>



<p>Step 5:<br>Editing and working with httpd.conf:<br>We finally need Apache to recognize the WSGI file we wrote. Apache’s config file(httpd.conf) should be available at this path:‘/etc/apache2’. Open it and enter in the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="42" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0045-1024x42.jpg" alt="" class="wp-image-511" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0045-1024x42.jpg 1024w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0045-300x12.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0045-768x31.jpg 768w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0045.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="590" height="130" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0046.jpg" alt="" class="wp-image-512" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0046.jpg 590w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0046-300x66.jpg 300w" sizes="(max-width: 590px) 100vw, 590px" /></figure>



<p>Now you should be able to run your program. To test it, type into the browser:<br>http://localhost/flasktest/Hello<br>You should be getting a message like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="80" height="36" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0047.jpg" alt="" class="wp-image-513"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/17/how-to-use-the-face-recognition-library-in-python/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>How to navigate to a folder on mac</title>
		<link>https://codeyogis.tech/2024/08/17/how-to-navigate-to-a-folder-on-mac/</link>
					<comments>https://codeyogis.tech/2024/08/17/how-to-navigate-to-a-folder-on-mac/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sat, 17 Aug 2024 11:14:36 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=496</guid>

					<description><![CDATA[Finding a folder on your MacBook may seem like a simple thing, but what you might not know is that [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Finding a folder on your MacBook may seem like a simple thing, but what you might not know is that some folders on your Mac are hidden folders, and there’s a simple trick to access them.<br>If you right-click on the finder app in your dock, you will see a list of options like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="228" height="294" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0034.jpg" alt="" class="wp-image-497"/></figure>



<p>If you press “Go to Folder…” , it will give you a small window where you can type in the path of the folder you want to navigate to:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="451" height="126" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0035.jpg" alt="" class="wp-image-498" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0035.jpg 451w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0035-300x84.jpg 300w" sizes="(max-width: 451px) 100vw, 451px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/17/how-to-navigate-to-a-folder-on-mac/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>How to build an Alexa Skill:</title>
		<link>https://codeyogis.tech/2024/08/17/how-to-build-an-alexa-skill/</link>
					<comments>https://codeyogis.tech/2024/08/17/how-to-build-an-alexa-skill/#comments</comments>
		
		<dc:creator><![CDATA[Alaina Ahuja]]></dc:creator>
		<pubDate>Sat, 17 Aug 2024 11:07:38 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://codeyogis.tech/?p=482</guid>

					<description><![CDATA[We all know Alexa. The useful voice assistant that can do so many things, such as telling us the time [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>We all know Alexa. The useful voice assistant that can do so many things, such as telling us the time and reminding us that our library books are due. This article will tell you how to create a simple Hello World voice skill for Alexa.<br>Step 1:&nbsp;Get an Amazon account<br>The first step to creating our Alexa skill is to log into the Alexa Developer Console and if you don’t already have an account, create one.<br>https://developer.amazon.com/alexa/console/ask?<br>Step 2:&nbsp;Create a new skill.<br>You should see a list of skills on this page once you’ve logged in, but assuming this is your first time making an Alexa Skill, you should not have any yet. Near the top of the page, you should see a button that says “Create Skill”:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="353" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0023.jpg" alt="" class="wp-image-483" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0023.jpg 1024w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0023-300x103.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0023-768x265.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once you click it, you should see a field to enter your skills name, your default language, The type of skill you want to create etc. For this Hello World skill, we’re going to name it “Alexa Hello”. Choose “Custom” for the skill’s model and since we’re going to be coding this skill in python, choose “Alexa-Hosted(Python)”:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="566" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0024.jpg" alt="" class="wp-image-484" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0024.jpg 1024w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0024-300x166.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0024-768x425.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Click “Create Skill at the top of the page. This should take you to choose which template you want for your skill. Since we’re not doing anything too fancy here, we’re just going to stick with “Hello World Skill”:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="983" height="324" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0026.jpg" alt="" class="wp-image-485" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0026.jpg 983w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0026-300x99.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0026-768x253.jpg 768w" sizes="(max-width: 983px) 100vw, 983px" /></figure>



<p>Finally, click “Continue with Template” at the top of the page and wait for the developer console to create your skill.<br>Step 3:&nbsp;Understanding Invocations, Intents, and Slots<br>After everything has loaded, you should see a page with a side panel that looks like this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="307" height="596" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0027.jpg" alt="" class="wp-image-486" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0027.jpg 307w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0027-155x300.jpg 155w" sizes="(max-width: 307px) 100vw, 307px" /></figure>



<p>The first tab called “Invocation” when clicked on offers you a block to enter in your skills invocation name. The invocation name is the phrase your user says to start your skill.<br>If you expand “Interaction Model”, you’ll see a number of new tabs, but the one we’re going to focus on in this tutorial is the Intents.</p>



<p>Intents are classes that are each responsible for doing a specific task in the Alexa Skill. Your skill should have come with 4 built in Amazon Intents as well as a HelloWorldIntent. Later, we’ll create a new custom intent to tell the user a message.<br>The last feature we need to talk about are slots. Slots act like variables in an Alexa Skill. For example, if you were to make a skill to order a pizza, The user could say “I want a large plain cheese pizza” but in the intents you could define this sentence using slots for the size and topping: “I want a {size} {topping} pizza”.<br>Step 4:&nbsp;Defining in the UI<br>Now we’re going to start defining our invocation name and intents. First go into the “Invocation” tab and enter “hello my name” as the skill invocation name.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="814" height="331" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0028-1.jpg" alt="" class="wp-image-488" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0028-1.jpg 814w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0028-1-300x122.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0028-1-768x312.jpg 768w" sizes="(max-width: 814px) 100vw, 814px" /></figure>



<p>Next we’re going to create our own custom intent. Click the Intents tab on the side panel and click on “Add Intent”. Let’s name this intent “Greeting”.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="608" height="212" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0029.jpg" alt="" class="wp-image-489" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0029.jpg 608w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0029-300x105.jpg 300w" sizes="(max-width: 608px) 100vw, 608px" /></figure>



<p>Then you should see a space for Sample Utterances. Sample utterances are phrases the user might say to invoke the intent. For example, If you have the skill to order the pizza, and you have a PizzaOrder intent, one of the sample utterances could be “Order a pizza” and so that will tell the skill that the user wants to order a pizza so it will find the intent that will be able to complete the task.<br>Our skill will say hello to the user, so the user will invoke the intent by telling Alexa hello. Add the following utterances:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="292" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0030.jpg" alt="" class="wp-image-490" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0030.jpg 1024w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0030-300x86.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0030-768x219.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now that everything is defined, for all these changes to take place, we need to build the model. Click “Build Model” at the near top of the screen and once the build is successful, you’re done building the UI part of the skill!<br>Step 5:&nbsp;Write the code<br>Now the build is successful, click on the tab that says code at the top of your screen. A file named ‘lambda_function.py’ should be open. And here is where you will do all the backend code for your intent. Create a new class for your intent and enter in the following code:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="879" height="269" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0031.jpg" alt="" class="wp-image-491" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0031.jpg 879w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0031-300x92.jpg 300w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0031-768x235.jpg 768w" sizes="(max-width: 879px) 100vw, 879px" /></figure>



<p>Scroll to the bottom of the file and add this line:</p>



<p>Finally press the “Deploy” button at the top of the screen and move on to the test tab(also at the top of the screen)<br>Step 6:&nbsp;Testing<br>Now we’re in the test tab. Just in case you don’t have an Alexa device at home, you can still create these skills, because the developer console has a built-in Alexa stimulator. To enable it, expand the drop down menu that is now set to “off” and choose development.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="660" height="345" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0032.jpg" alt="" class="wp-image-492" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0032.jpg 660w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0032-300x157.jpg 300w" sizes="(max-width: 660px) 100vw, 660px" /></figure>



<p>Now we can use our skill as if we are users. Start the skill with your invocation name, and then invoke your intent by saying hello:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="418" height="515" src="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0033.jpg" alt="" class="wp-image-493" srcset="https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0033.jpg 418w, https://codeyogis.tech/wp-content/uploads/2024/08/IMG-20240817-WA0033-243x300.jpg 243w" sizes="(max-width: 418px) 100vw, 418px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codeyogis.tech/2024/08/17/how-to-build-an-alexa-skill/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
