<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Akoleaje Ruth Tosin on Medium]]></title>
        <description><![CDATA[Stories by Akoleaje Ruth Tosin on Medium]]></description>
        <link>https://medium.com/@oluwatosinruth987?source=rss-1842682ffd7b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3ciznst4DnqdnXY9nZ_ABg.jpeg</url>
            <title>Stories by Akoleaje Ruth Tosin on Medium</title>
            <link>https://medium.com/@oluwatosinruth987?source=rss-1842682ffd7b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:19:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oluwatosinruth987/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Bugs That Taught Me How My Code Works]]></title>
            <link>https://medium.com/@oluwatosinruth987/the-bugs-that-taught-me-how-my-code-works-9a5728d70878?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a5728d70878</guid>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Sun, 18 Oct 2026 12:36:01 GMT</pubDate>
            <atom:updated>2026-10-18T12:36:01.510Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1E4AmA7qmv6GvyLIKLIlKg.png" /></figure><p>Getting ContextCheck to work wasn’t straightforward.</p><p>Here are some of the lessons I learned while working through those problems.</p><h3>1. My Python Environment Matters</h3><p>I initially worked with Python 3.15 before installing Python 3.13 and creating a virtual environment for ContextCheck.</p><p>I learned that the Python version installed on my computer, the version used by a project, and the packages available to that project can differ.</p><p>I also encountered a PowerShell execution-policy issue that prevented the usual virtual environment activation script from running.</p><p>I worked around it by invoking the environment’s Python executable directly.</p><p>This taught me that not every problem comes from application logic. Sometimes, the environment or configuration is the issue.</p><h3>2. An API Can Fail Even When My Code Is Correct</h3><p>While connecting ContextCheck to Gemini, I encountered a 503 service error.</p><p>This helped me understand that external services can temporarily become unavailable or overloaded.</p><p>I needed to think about how the application should respond when an API request failed instead of assuming every request would succeed.</p><p>I also had to consider whether the AI returned data in the format my application expected.</p><h3>3. Understanding the NoneType Error</h3><p>One particularly useful lesson came from a NoneType error.</p><p>Part of my code expected an analysis result to exist, but the value was None.</p><p>The problem was that the display code expected something it could access, such as a dictionary containing verification steps.</p><p>If the analysis failed to produce a usable result, trying to access its contents would cause an error.</p><p>I learned to pay closer attention to what functions return and to handle missing results before displaying them.</p><p>I also learned that fixing the line where an error appears isn’t always enough. Sometimes, I need to trace the problem back to where the value originated.</p><h3>4. Debugging Means Investigating, Not Guessing</h3><p>These errors changed how I approached debugging.</p><p>Instead of immediately changing code, I needed to read the error message, inspect the relevant variables, and understand what each part of the program was doing.</p><h3><strong>What I Learned Today</strong></h3><p>I learned that building an application involves more than writing the code for the successful path.</p><p>I also have to consider failed requests, unexpected data, missing values, and how the interface behaves when something goes wrong.</p><p><strong>My goal isn’t to write code that never encounters problems. It’s to understand the problems well enough to handle them.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a5728d70878" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From an Idea to a Working AI Application]]></title>
            <link>https://medium.com/@oluwatosinruth987/from-an-idea-to-a-working-ai-application-b169f9b92141?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b169f9b92141</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python-web-developer]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 11:18:20 GMT</pubDate>
            <atom:updated>2026-10-16T11:18:20.384Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1E4AmA7qmv6GvyLIKLIlKg.png" /></figure><p>I’ve been learning Python for few months, and I recently decided that I wanted to do more than solve exercises. I wanted to build something real.</p><p>That decision led me to <strong>ContextCheck</strong>, an AI-powered application designed to help people examine viral messages, identify claims, spot missing evidence, and find practical ways to verify information before sharing it.</p><p>I had the idea. The next challenge was figuring out how to build it.</p><h3>1. Turning an Idea Into Something I Could Build</h3><p>I started by narrowing the idea down to a minimum viable product (MVP).</p><p>Rather than trying to build a complete fact-checking platform, I focused on three core functions:</p><ul><li>Accept a message from the user.</li><li>Use AI to analyse its main claim and identify missing evidence.</li><li>Suggest practical verification steps.</li></ul><p>This taught me that building a project starts with deciding what it actually needs to do.</p><h3>2. Connecting Python to an AI Model</h3><p>I used Python to build the application’s logic and connected it to Google’s Gemini API.</p><p>This introduced me to API keys, API requests, and the process of sending information to an external service and receiving a response.</p><p>I also learned that getting a response wasn’t enough. I needed to make the AI’s output useful to my application.</p><p>That led me to JSON, which allowed me to work with structured information such as the main claim, missing evidence, and verification steps.</p><h3>3. Turning Code Into an Application</h3><p>I used Streamlit to create a web interface where users could paste a message, start an analysis, and view the result.</p><p>This was exciting because I could finally see the different pieces coming together.</p><p>Python handled the logic, Gemini provided the AI analysis, and Streamlit gave users a way to interact with the application.</p><p>I began to understand that an application isn’t just one piece of code. It’s several components working together.</p><h3>What I Learned Today</h3><p>My biggest lesson was that understanding a concept in isolation is different from using it in a project.</p><p>I had to think about how information moved between functions, how the API response would be processed, and how the interface would display the result.</p><p>There is more to talk about…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b169f9b92141" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Then I Learned How to Read HTTP Status Codes]]></title>
            <link>https://medium.com/@oluwatosinruth987/then-i-learned-how-to-read-http-status-codes-7123c6832b8a?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7123c6832b8a</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[http-status-code]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 15:35:47 GMT</pubDate>
            <atom:updated>2026-09-29T15:35:47.559Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GLQagygXjTHtHZ9_aC8Eag.jpeg" /></figure><p>In my previous lesson, I was introduced to the basics of HTTP, including requests, responses, and some of the structure behind them.</p><p>Today, I learned more about <strong>HTTP status codes</strong> and <strong>HTTP methods</strong>.</p><p>Here are the things I learned today.</p><h3>1. The First Digit Gives Me the Bigger Picture</h3><p>One of the things I learned today is that HTTP status codes are made up of three digits, and the <strong>first digit tells you which category the status code belongs to</strong>.</p><p>There are five possible values for the first digit:</p><ul><li><strong>1xx</strong> — Informational</li><li><strong>2xx</strong> — Success</li><li><strong>3xx</strong> — Redirection</li><li><strong>4xx</strong> — Client errors</li><li><strong>5xx</strong> — Server errors</li></ul><p>This made status codes easier for me to understand.</p><p>Instead of trying to memorize every status code individually, I can first look at the first digit and understand the general category.</p><p>For example, if I see a status code beginning with 4, I know that it belongs to the client-error category.</p><h3>2. Status Codes Tell Me What Happened</h3><p>I also learned that HTTP status codes communicate the result of an HTTP request.</p><p>For example:</p><ul><li><strong>200</strong> — OK</li><li><strong>201</strong> — Created</li><li><strong>301</strong> — Moved Permanently</li><li><strong>400</strong> — Bad Request</li><li><strong>401</strong> — Unauthorized</li><li><strong>403</strong> — Forbidden</li><li><strong>404</strong> — Not Found</li><li><strong>500</strong> — Internal Server Error</li></ul><p>…and more.</p><p>I’m beginning to understand why these status codes exist.</p><p>When a server sends a response, the status code gives the client information about what happened with the request.</p><h3>3. Then I Learned About HTTP Methods</h3><p>I also learned about <strong>HTTP methods</strong>.</p><p>An HTTP method tells the server what the client wants to do with a resource.</p><p>Some of the methods I learned about include:</p><ul><li><strong>GET</strong> — retrieve a resource</li><li><strong>POST</strong> — send data to the server</li><li><strong>PUT</strong> — replace or update a resource</li><li><strong>DELETE</strong> — delete a resource</li><li><strong>HEAD</strong> — request the headers without the response body</li><li><strong>OPTIONS</strong> — ask what methods or communication options are available</li></ul><p>Seeing these methods helped me understand that an HTTP request isn’t only about <em>where</em> I want to send a request.</p><p>The method also communicates what I want to do.</p><h3>4. Methods and Status Codes Have Different Jobs</h3><p>Something else I learned is that <strong>HTTP methods and status codes have different purposes</strong>.</p><p>The method describes what the client is trying to do.</p><p>The status code describes the result of the request.</p><p>For example:</p><pre>GET /index.html</pre><p>The GET tells the server that the client wants to retrieve a resource.</p><p>The server might then respond with:</p><pre>HTTP/1.0 200 OK</pre><p>The 200 tells the client that the request was successful.</p><p>This distinction made the request-and-response process clearer to me.</p><h3>What I’ve Learned So Far</h3><p>So far, I’ve learned about:</p><ul><li>HTTP requests</li><li>HTTP responses</li><li>HTTP methods</li><li>Status codes</li><li>The five status-code categories</li></ul><p>Today’s lesson helped me understand that HTTP communication has a structure.</p><p>The client makes a request using a particular method, and the server responds with information that includes a status code.</p><p>I’m still learning, but another piece of HTTP is starting to make sense.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7123c6832b8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First, I Had to Understand What HTTP Actually Is.]]></title>
            <link>https://medium.com/@oluwatosinruth987/first-i-had-to-understand-what-http-actually-is-6f7f21a0589a?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f7f21a0589a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[sql-server]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Thu, 24 Sep 2026 15:02:04 GMT</pubDate>
            <atom:updated>2026-09-24T15:02:04.280Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cIAichAsIvRXDl6QLkJhdg.jpeg" /><figcaption>HTTP</figcaption></figure><p>Today, I started learning about HTTP, one of the fundamental concepts behind how the web works.</p><p>I’m still learning, and I haven’t completed HTTP/1.0 yet. However, I have started understanding some of the basics of how clients and servers communicate.</p><p>These are some of the things I’ve learned so far about HTTP and HTTP/1.0.</p><h3>1. HTTP Is a Protocol for Communication</h3><p>One of the first things I learned is that HTTP stands for <strong>Hypertext Transfer Protocol</strong>.</p><p>HTTP is a protocol that allows clients and servers to communicate over the web.</p><p>For example, when I open a website in my browser, my browser acts as a client and communicates with a server using HTTP.</p><p>This helped me understand that browsing a website involves communication between two systems, not just clicking on a page.</p><h3>2. HTTP Works Through Requests and Responses</h3><p>Another important thing I learned is that HTTP communication follows a request-and-response model.</p><p>The client sends a request to the server, and the server responds.</p><p>The process looks something like this:</p><p>Client → HTTP Request → Server → HTTP Response → Client</p><p>For example, when I request a webpage, my browser sends an HTTP request to the server hosting that page. The server processes the request and sends back a response.</p><p>This request-and-response model is one of the basic concepts I’m beginning to understand about HTTP.</p><h3>3. HTTP Requests Have a Structure</h3><p>I learned that an HTTP request is not just a random message sent to a server. It has a structure.</p><p>A basic HTTP request can contain a method, a path, a protocol version, headers, and sometimes a body.</p><p>Here’s an example:</p><pre>GET /index.html HTTP/1.0<br>User-Agent: Mozilla/5.0</pre><ul><li><strong>GET:</strong> The method used to request a resource.</li><li><strong>/index.html:</strong> The path to the resource being requested.</li><li><strong>HTTP/1.0:</strong> The HTTP version being used.</li><li><strong>User-Agent:</strong> A header that provides information about the client.</li></ul><p>Seeing an actual HTTP request made the concept easier to understand. Instead of thinking of HTTP as something abstract, I could begin to see how the client communicates with the server.</p><h3>4. HTTP Responses Tell the Client What Happened</h3><p>I also learned that after receiving a request, the server sends an HTTP response.</p><p>A response contains a status line, headers, and potentially a body.</p><p>For example:</p><pre>HTTP/1.0 200 OK<br>Content-Type: text/html</pre><pre>&lt;html&gt;<br>  &lt;body&gt;<br>    &lt;h1&gt;Hello, World!&lt;/h1&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>Here’s what I understood from this example:</p><ul><li><strong>HTTP/1.0:</strong> The HTTP version.</li><li><strong>200 OK:</strong> The status code and its description.</li><li><strong>Content-Type:</strong> A header indicating the type of content being returned.</li><li><strong>HTML body:</strong> The content sent back to the client.</li></ul><p>I learned that status codes are important because they tell the client something about the result of its request.</p><p>For example, 200 indicates success, while 404 means the requested resource was not found.</p><p>I’m still learning HTTP/1.0, so this is only what I’ve understood so far.</p><p>But even these basics have already changed how I think about the web.</p><p>Before, HTTP was just a term I frequently saw in web development. Now I’m beginning to understand what is actually happening when a client communicates with a server.</p><p>I’m looking forward to continuing with HTTP/1.0, understanding its different components, and then learning how the later versions build on these foundations.</p><p>For now, this is what I learned today.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f7f21a0589a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Python Concepts I Practiced With Just 2 Exercises]]></title>
            <link>https://medium.com/@oluwatosinruth987/5-python-concepts-i-practiced-with-just-2-exercises-e8163f693e09?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8163f693e09</guid>
            <category><![CDATA[coding-best-practices]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Wed, 09 Sep 2026 15:19:33 GMT</pubDate>
            <atom:updated>2026-09-09T15:19:33.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*rYHGMd4hPBjGdRAweUL1Og.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*roLn-Lm6zBNujsYUGhwVQg.png" /></figure><p>One thing I’m learning as I continue my Python journey is that programming isn’t just about writing code that <em>looks</em> right.</p><p>It’s about understanding <strong>what the code is actually checking</strong>.</p><p>Today, I worked through two small exercises: building a simple login system and checking whether a number is divisible by both 3 and 5.</p><p>They were beginner exercises, but they introduced me to several important programming concepts.</p><p>Here are <strong>5 lessons I’m taking away from today’s practice.</strong></p><h3>1. input() is how your program talks to the user 🗣️</h3><p>In the login exercise, I needed to collect a username and password from the user.</p><p>Python’s input() function makes this possible:</p><pre>username = input(&quot;Enter your username: &quot;)<br>password = input(&quot;Enter your password: &quot;)</pre><p>The important part for me was understanding that the values entered by the user need to be stored somewhere.</p><p>That’s where variables come in.</p><p>Instead of treating the input as something temporary, I can store it in variables and work with those values later.</p><h3>2. Variables help you keep track of information</h3><p>The login exercise made me think more carefully about variables.</p><p>For example, I could have predefined credentials:</p><pre>correct_username = &quot;admin&quot;<br>correct_password = &quot;1234&quot;</pre><p>And then collect the user’s input:</p><pre>username = input(&quot;Enter your username: &quot;)<br>password = input(&quot;Enter your password: &quot;)</pre><p>Now I have two different sets of information:</p><ul><li>What the correct credentials are</li><li>What the user actually entered</li></ul><p>This distinction is important.</p><p>A program needs to compare the <strong>user’s input</strong> against the <strong>expected values</strong>.</p><h3>3. == lets me compare values</h3><p>The next concept was the equality operator:</p><pre>==</pre><p>It checks whether two values are equal.</p><p>For example:</p><pre>username == correct_username</pre><p>This asks:</p><blockquote><em>“Is the username the user entered the same as the correct username?”</em></blockquote><p>And I can do the same for the password:</p><pre>password == correct_password</pre><p>This is different from using =.</p><ul><li>= assigns a value.</li><li>== compares two values.</li></ul><h3>4. &quot;and” lets me require multiple conditions</h3><p>A login shouldn’t succeed just because the username is correct.</p><p>The password needs to be correct too.</p><p>That’s where the and operator becomes useful:</p><pre>if username == correct_username and password == correct_password:<br>    print(&quot;Login successful!&quot;)<br>else:<br>    print(&quot;Invalid username or password.&quot;)</pre><p>For the login to succeed, <strong>both conditions must be true</strong>.</p><p>This was a good introduction to the idea that programs can make decisions based on multiple conditions.</p><p>In other words:</p><blockquote><em>Correct username </em><strong><em>AND</em></strong><em> correct password = successful login.</em></blockquote><h3>5. % helped me understand divisibility</h3><p>The second exercise introduced me to the modulo operator:</p><pre>%</pre><p>Modulo gives you the <strong>remainder</strong> after division.</p><p>For example:</p><pre>10 % 3</pre><p>gives:</p><pre>1</pre><p>because 10 divided by 3 leaves a remainder of 1.</p><p>But:</p><pre>15 % 3</pre><p>gives:</p><pre>0</pre><p>So if I want to check whether a number is divisible by 3, I can write:</p><pre>number % 3 == 0</pre><p>And if I want to check whether it’s divisible by both 3 and 5:</p><pre>number % 3 == 0 and number % 5 == 0</pre><p>Again, and comes into play.</p><p>The number must pass <strong>both tests</strong>.</p><h3>What I practiced today</h3><p>These two exercises gave me a useful combination of Python fundamentals:</p><p><strong>input()</strong> → variables → <strong>if/else</strong> → <strong>==</strong> → <strong>and</strong> → <strong>%</strong></p><p>None of these concepts are complicated individually.</p><p>But putting them together helped me understand something bigger:</p><p><strong>Programming is about breaking a problem into conditions that a computer can evaluate.</strong></p><p>I’m still early in my Python journey, but exercises like these are helping me understand the logic behind the syntax instead of just memorizing code.</p><p>One small exercise at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8163f693e09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the Ecosystem Behind Python]]></title>
            <link>https://medium.com/@oluwatosinruth987/understanding-the-ecosystem-behind-python-b7f09acef2a3?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7f09acef2a3</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python-libraries]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Thu, 20 Aug 2026 13:47:34 GMT</pubDate>
            <atom:updated>2026-08-20T13:47:34.940Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3FEY_HDIWWLNzvtX4CdDog.gif" /><figcaption>Python Ecosystem</figcaption></figure><p>Today, I went back to some of the necessary basics, especially the tools and concepts that make up the Python ecosystem and the environment where code actually runs.</p><p>I started by learning about some of the key libraries that helped build Python’s data and AI ecosystem.</p><h3>1. NumPy, Pandas, and Data Visualization</h3><p>I learned about <strong>NumPy</strong>, which provides tools for working with numerical data and arrays.</p><p>Then there was <strong>Pandas</strong>, which makes working with structured and tabular data much easier.</p><p>I also came across <strong>Matplotlib</strong> and <strong>Seaborn</strong>, two libraries used for turning data into visualizations.</p><h3>2. Scikit-learn, TensorFlow, and PyTorch</h3><p>I also went through some of the major libraries behind Python’s machine learning and AI ecosystem.</p><p><strong>Scikit-learn</strong> provides tools for traditional machine learning, while <strong>TensorFlow</strong> and <strong>PyTorch</strong> are widely used for building and training machine learning and deep learning models.</p><p>It was interesting to see that Python has such a large ecosystem built around data, machine learning, and AI.</p><h3>3. Execution Speed vs Implementation Speed</h3><p>Another thing I learned was the difference between <strong>execution speed</strong> and <strong>implementation speed</strong>.</p><p>Execution speed is about how quickly a program runs, while implementation speed is about how quickly a developer can build and get something working.</p><p>That distinction made me think differently about why certain tools and languages are chosen. Sometimes the fastest thing isn’t necessarily the thing that lets you build the fastest.</p><h3>4. Running Scripts Without a GUI</h3><p>I also went back to the command line and learned more about running scripts without relying on a graphical interface.</p><p>Instead of opening an application and clicking a Run button, I can execute a script directly from the terminal. This gave me a better understanding of how programs can run independently of a graphical interface.</p><h3>5. The Command Line and Unix Standard Streams</h3><p>I also learned some <strong>core CLI commands</strong> and was introduced to <strong>Unix standard streams</strong>.</p><p>The three standard streams are:</p><ul><li><strong>stdin</strong> — standard input</li><li><strong>stdout</strong> — standard output</li><li><strong>stderr</strong> — standard error</li></ul><p>What I found interesting was learning that these streams can be redirected and connected using <strong>redirection and piping</strong>.</p><p>Instead of treating commands as completely separate operations, I can pass the output of one command into another. That simple idea makes the command line much more powerful.</p><p>Going back to the basics doesn’t feel like going backwards anymore.</p><p>Today’s lesson reminded me that there’s a lot happening around Python code. There are libraries powering data and AI, different considerations around how quickly code is built and executed, and an entire command-line environment that allows me to interact with programs without a GUI.</p><p>I’m beginning to understand that learning programming isn’t just learning a language. It’s learning the <strong>ecosystem, tools, and environment that allow that language to do useful things.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7f09acef2a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Things I Learned About Managing Python Projects]]></title>
            <link>https://medium.com/@oluwatosinruth987/5-things-i-learned-about-managing-python-projects-f96e147bb9e2?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f96e147bb9e2</guid>
            <category><![CDATA[pypi]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[venv]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Fri, 14 Aug 2026 12:10:16 GMT</pubDate>
            <atom:updated>2026-08-14T12:10:16.979Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*AV-l3TD8_jxRnGiCeLZ9zA.jpeg" /></figure><p>Today’s lesson was learning the tools that help me manage a Python project properly.</p><h3>1. Packages Let Me Build on Existing Code</h3><p>I learned that a <strong>package</strong> is a collection of Python code that provides functionality I can use in my own projects.</p><p>Instead of writing everything from scratch, I can use packages that other developers have already created. This makes it easier to add functionality and focus on solving the actual problem I’m working on.</p><h3>2. PyPI Is Where Python Packages Live</h3><p>I was introduced to <strong>PyPI (Python Package Index)</strong>, which is a repository for Python packages.</p><p>It’s basically a place where developers can publish packages so other Python developers can discover and use them.</p><p>It made me realize just how large the Python ecosystem actually is.</p><h3>3. pip Helps Me Install Packages</h3><p>Then I learned about <strong>pip</strong>, Python’s package installer.</p><p>Instead of manually downloading packages and figuring out how to add them to my project, I can use pip from the terminal to install what I need.</p><p>This is where I started seeing how much development involves using tools that already exist rather than reinventing everything.</p><h3>4. Virtual Environments Keep Projects Separate</h3><p>I also learned about <strong>virtual environments</strong>.</p><p>A virtual environment creates an isolated space for a Python project and its dependencies. This means different projects can have different packages and versions without interfering with each other.</p><p>I’m beginning to understand why this becomes important when working on multiple projects.</p><h3>5. Paths and .gitignore Help Keep Projects Organized</h3><p>I learned about <strong>paths</strong> and how they tell the computer where files and folders are located.</p><p>I also learned about <strong>.gitignore</strong>, which tells Git which files or folders it should ignore instead of tracking them in a repository.</p><p>For example, some project files are useful locally but don’t belong in the Git repository.</p><p>Today’s lesson wasn’t about learning more Python syntax. It was about understanding everything <strong>around</strong> the code.</p><p>Packages, PyPI, pip, virtual environments, paths, and <strong>.gitignore</strong> are part of what makes a Python project manageable.</p><p>My take: Learning to code isn’t just about knowing how to write code — it’s also about learning how to <strong>work with the environment that code lives in.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f96e147bb9e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Python Says No]]></title>
            <link>https://medium.com/@oluwatosinruth987/when-python-says-no-6ddcc1008722?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ddcc1008722</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 18:04:38 GMT</pubDate>
            <atom:updated>2026-08-10T18:04:38.395Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*bGdPATcfC1wQ6wweFLZMUA.png" /><figcaption>Safe calculator</figcaption></figure><p>Today’s practice was learning about what happens when my code doesn’t work and, more importantly, how to figure out why.</p><p>I worked on a simple safe_calculator() function, and through it, I practiced some of the Python fundamentals I&#39;ve been learning: functions, parameters and arguments, if / elif / else, comparisons, return, arithmetic operators, and rounding.</p><p>One thing I had to pay attention to was the difference between <strong>strings and actual code</strong>. For example, &quot;a + b&quot; is just text, while a + b is an operation Python can actually perform. It seems like a small distinction, but it&#39;s another reminder that Python only does what I explicitly tell it to do.</p><p>I also learned more about <strong>error handling</strong>. Before performing an operation, I need to think about what could go wrong. For example, dividing by zero causes an error, so I need to check for that condition first.</p><pre>if b == 0:<br>    return &quot;Cannot divide by zero&quot;</pre><p>Interestingly, I learned that this isn’t only a problem with /. The % operator can also fail when the divisor is zero. So it&#39;s not enough to make the code work for the normal case, I also need to consider the situations where it could break.</p><p>Then came <strong>debugging</strong>.</p><p>I learned how to read a traceback, find where my code actually failed, and understand errors such as ZeroDivisionError. Instead of seeing an error message as something frustrating, I&#39;m beginning to see it as information telling me where to look.</p><p>The process became:</p><p><strong>Write → Run → Error → Read → Understand → Fix → Test → Repeat.</strong></p><p>I also learned something simple but important about running Python. Defining a function doesn’t mean Python will automatically execute it.</p><p>Writing:</p><pre>def safe_calculator(a, operator, b):</pre><p>only defines the function. I still have to call it:</p><pre>print(safe_calculator(10, &quot;/&quot;, 3))</pre><p>And I learned how to run the Python file directly from VS Code using the terminal:</p><pre>py .\safe_calculator.py</pre><p>What I found most interesting was seeing how this small calculator function fits into the bigger picture of an application. A user interacts with an interface, the request reaches the Python logic, the function processes it, and the result eventually gets returned to the user.</p><p>It’s still a simple exercise, but I’m beginning to see the connection between the small Python programs I’m writing now and the larger applications I’ll eventually build.</p><p>For now, my biggest lesson is simple: <strong>errors aren’t the end of the process. They’re part of the process.</strong> Learning to read them, understand them, and fix them is just as important as learning to write the code in the first place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ddcc1008722" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 Things I Learned About Object-Oriented Programming in Python.]]></title>
            <link>https://medium.com/@oluwatosinruth987/4-things-i-learned-about-object-oriented-programming-in-python-1c19877eb22b?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c19877eb22b</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 15:16:50 GMT</pubDate>
            <atom:updated>2026-08-05T15:16:50.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*II_ZcQlLMuNWYzvV8SfuQg.png" /><figcaption>.super()</figcaption></figure><p>Today’s lesson introduced me to a new concept, which is Object-Oriented Programming (OOP).</p><h3>1. Classes Are Blueprints, Objects Bring Them to Life</h3><p>The first thing I learned was the relationship between classes and objects.</p><p>A <strong>class</strong> is like a blueprint, it defines what something should look like and what it should be able to do. An <strong>object</strong> is the actual thing created from that blueprint.</p><p>For example, if a class is a blueprint for a car, then every car created from that blueprint is an object. Each object has its own <strong>attributes</strong> (data like color or model) and <strong>methods</strong> (actions like start or stop).</p><p>This helped me understand how Python models real-world things.</p><h3><em>2. Dunder Methods Make Pytho</em>n Feel “Smart”</h3><p>I learned about <strong>dunder methods</strong> (double underscore methods).</p><p>Methods like:</p><h4>__str__()</h4><h4>__repr__()</h4><h4>__add__()</h4><h4>__sub__()</h4><p>allow us to define how our objects behave.</p><p>For example, they control how an object is displayed, represented, or even how operators like + and - work with our classes.</p><h3>3. Not Every Method Does the Same Job</h3><p>I also learned that Python has three main types of methods, each serving a different purpose.</p><ul><li><strong>Instance methods</strong> work with a specific object and use self.</li><li><strong>Class methods</strong> work with the class itself and use cls.</li><li><strong>Static methods</strong> belong to the class but don’t need access to either the object or the class data.</li></ul><h3>4. Inheritance Helps You Reuse Code</h3><p>The last concept I learned was <strong>inheritance</strong>.</p><p>Instead of writing the same code repeatedly, a child class can inherit attributes and methods from a parent class.</p><p>I also learned about super(), which lets a child class call methods from its parent. It&#39;s cleaner than directly referencing the parent class and makes code easier to maintain as projects grow.</p><p>All these concepts will become even clearer once I start applying them in my exercises and drills. My drills will be up soon, and I’m looking forward to sharing what I learn along the way. For now, I’m learning how to think like a programmer before I start writing programs of my own.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c19877eb22b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thinking Beyond Simple Code]]></title>
            <link>https://medium.com/@oluwatosinruth987/thinking-beyond-simple-code-91464a4fdc7b?source=rss-1842682ffd7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/91464a4fdc7b</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[lambda]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Akoleaje Ruth Tosin]]></dc:creator>
            <pubDate>Thu, 30 Jul 2026 15:52:20 GMT</pubDate>
            <atom:updated>2026-07-30T15:52:20.824Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*OZmECUPnBI4XUbsC17BMZA.jpeg" /></figure><p>One thing I’m beginning to realize is that every new programming lesson changes the way I think about solving problems. This time, it was about writing code in smarter and more organized ways.</p><p>One of the concepts I leaned today was <strong>higher-order functions</strong>. At first, the name sounded intimidating, but I learned that they’re simply functions that can take other functions as arguments or even return functions. It made me realize that in Python, functions aren’t just blocks of code you call, they can be treated like data. That opens up a completely different way of thinking about problem-solving.</p><p>Alongside that, I was introduced to <strong>anonymous functions</strong>, also known as lambda functions. These are small functions you can create without giving them a name. They’re useful when you need a function only once, making the code shorter and often easier to read.</p><p>Another interesting concept was <strong>recursion</strong>. Instead of solving a problem using loops, a recursive function solves it by calling itself repeatedly until it reaches a stopping point, known as the base case. It felt strange at first, but it showed me that there are often multiple ways to approach the same problem in programming.</p><p>I also spent time learning about <strong>lists</strong>, one of Python’s most commonly used data structures. I learned how to create lists, access elements using indexing, extract portions with slicing, and use built-in methods to add, remove, or modify items. One important lesson was that lists are <strong>mutable</strong>, meaning their contents can be changed after they’re created. That flexibility makes them useful for storing data that changes over time.</p><p>To contrast that, I learned about <strong>tuples</strong>. They look similar to lists, but they are <strong>immutable</strong>, which means once they’re created, their values cannot be changed. Understanding the difference between mutable and immutable data helped me appreciate why Python provides different data structures for different situations.</p><p>Looking back, today’s lesson wasn’t just about learning new syntax. It was about understanding that programming is as much about choosing the right approach and the right data structure as it is about writing code. The more I learn, the more I see that good programming isn’t just making something work, it’s making it work in a way that’s clean, efficient, and appropriate for the problem at hand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91464a4fdc7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>