<?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 Samip Jung K.C on Medium]]></title>
        <description><![CDATA[Stories by Samip Jung K.C on Medium]]></description>
        <link>https://medium.com/@samipkc23?source=rss-24592f23f429------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hng6i5Pe_EeUb59eY4iUmQ.png</url>
            <title>Stories by Samip Jung K.C on Medium</title>
            <link>https://medium.com/@samipkc23?source=rss-24592f23f429------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 19:20:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@samipkc23/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[Don’t Learn Python If…]]></title>
            <link>https://medium.com/@samipkc23/dont-learn-python-if-14f4c13215b3?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/14f4c13215b3</guid>
            <category><![CDATA[why-python]]></category>
            <category><![CDATA[howispython]]></category>
            <category><![CDATA[no-python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Mon, 20 Jan 2025 14:41:24 GMT</pubDate>
            <atom:updated>2025-01-20T14:41:24.805Z</atom:updated>
            <content:encoded><![CDATA[<p>Python has risen to superstar status. With its simplicity and versatility, Python is adored by beginners and experts alike. But is it really for everyone?</p><p>Surprisingly, the answer is no. Learning Python — or any programming language — might not be the right move for you, depending on your goals, mindset, or situation. Here are a few reasons why Python might not be the best fit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_7qqa1W-vXyfzHRWCXMSgg.png" /></figure><h4>1. You Want Instant Results Without Effort</h4><p>Python is beginner-friendly, but that doesn’t mean you can master it overnight. If you’re hoping to write complex programs in a week, you might end up frustrated. Programming, even with Python, demands patience, practice, and problem-solving skills. Without these, you might lose interest before you see any meaningful progress.</p><h4>2. You’re Only Chasing Trends</h4><p>Are you learning Python just because “everyone else is doing it”? While it’s true that Python is widely used in web development, data science, AI, and more, following trends without genuine interest often leads to burnout. Instead, explore your passions first. If your interests align with Python’s capabilities, dive in. Otherwise, focus on something that excites you more.</p><h4>3. You’re Unwilling to Embrace Lifelong Learning</h4><p>Technology evolves rapidly, and programming languages are no exception. While Python is versatile, you’ll need to learn frameworks, libraries, and related technologies to stay relevant. If you’re not open to continuous learning, programming may not be the ideal career path for you.</p><h4>4. Your Goals Don’t Require Coding</h4><p>Not every goal requires programming knowledge. If you’re aiming to be a graphic designer, content writer, or marketing strategist, Python might not add immediate value to your skill set. Instead, invest time in tools and technologies that align with your aspirations.</p><h4>5. You Struggle with Logical Thinking</h4><p>Programming languages like Python rely on logic. If breaking problems into smaller steps or following structured thinking isn’t your strength, learning Python might feel like an uphill battle. This doesn’t mean you can’t improve your logical thinking, but it’s something to consider before committing to the journey.</p><h4>6. You Expect It to Be the Only Tool You’ll Ever Need</h4><p>Python is powerful, but it’s not a one-size-fits-all solution. Some tasks are better suited for other languages. For instance, if you’re focused on mobile app development, you might explore Swift (iOS) or Kotlin (Android). If you’re into game development, languages like C++ or C# might be better fits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14f4c13215b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Essential Tips for Python Learners]]></title>
            <link>https://medium.com/@samipkc23/5-essential-tips-for-python-learners-c44f50eb316a?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/c44f50eb316a</guid>
            <category><![CDATA[python-learner]]></category>
            <category><![CDATA[python-essentials]]></category>
            <category><![CDATA[tips-for-python]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Sun, 19 Jan 2025 13:17:47 GMT</pubDate>
            <atom:updated>2025-01-19T13:17:47.120Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is one of the most versatile and beginner-friendly programming languages. Its simplicity and wide range of applications make it an excellent choice for both beginners and experienced developers. However, as a Python learner, there are several key considerations to keep in mind to maximize your learning journey. Here are five essential tips to guide you:</p><h3>1. Start with the Basics, but Don’t Stay There</h3><p>When you begin learning Python, it’s crucial to build a strong foundation by understanding the basics, such as variables, data types, loops, and conditional statements. Websites like <a href="https://www.python.org/">Python.org</a> and platforms such as Codecademy or freeCodeCamp offer excellent beginner resources.</p><p>However, once you grasp the basics, don’t hesitate to dive into intermediate and advanced topics like object-oriented programming (OOP), file handling, and Python libraries. Pushing yourself beyond the basics will open doors to exciting projects and real-world applications.</p><h3>2. Write Code Every Day</h3><p>Consistency is key to mastering Python. Aim to code daily, even if it’s just for 30 minutes. Regular practice helps reinforce concepts and builds muscle memory for common syntax and functions.</p><p>Here are some ways to stay consistent:</p><ul><li>Solve coding challenges on platforms like LeetCode, HackerRank, or Codewars.</li><li>Create small projects like a to-do list app, calculator, or a simple web scraper.</li><li>Keep a coding journal to track your progress and lessons learned.</li></ul><h3>3. Master Python Libraries and Frameworks</h3><p>One of Python’s greatest strengths is its rich ecosystem of libraries and frameworks. Depending on your area of interest, familiarize yourself with the relevant tools:</p><ul><li><strong>Data Science:</strong> Learn libraries like NumPy, pandas, and Matplotlib.</li><li><strong>Web Development:</strong> Explore frameworks such as Django and Flask.</li><li><strong>Web Scraping:</strong> Master tools like Beautiful Soup and Scrapy.</li><li><strong>Automation:</strong> Try libraries like Selenium and PyAutoGUI.</li></ul><p>Experimenting with these libraries will help you unlock Python’s potential and apply it to real-world problems.</p><h3>4. Focus on Problem-Solving Skills</h3><p>Learning Python isn’t just about memorizing syntax; it’s about solving problems. Enhance your problem-solving skills by:</p><ul><li>Participating in coding contests or hackathons.</li><li>Breaking down complex problems into smaller, manageable tasks.</li><li>Practicing algorithmic thinking and understanding time and space complexity.</li></ul><p>Platforms like GeeksforGeeks and YouTube tutorials can help you improve these skills while learning Python.</p><h3>5. Learn to Debug and Read Error Messages</h3><p>Errors are an inevitable part of programming. Learning to debug effectively is a critical skill for any Python developer. Here are some tips:</p><ul><li>Use Python’s built-in debugger, pdb, to step through your code.</li><li>Read error messages carefully — they often point you to the exact problem.</li><li>Add print statements or use logging to track variable values and program flow.</li><li>Search for solutions on forums like Stack Overflow if you’re stuck.</li></ul><p>Remember, every bug you solve improves your problem-solving skills and deepens your understanding of Python.</p><h3>Final Thoughts</h3><p>Learning Python is a rewarding journey that requires patience, practice, and persistence. By focusing on these five tips, you’ll not only become proficient in Python but also develop essential programming habits that will serve you well in your career. Whether you aim to become a data scientist, web developer, or automation expert, Python’s versatility ensures there’s a path for everyone.</p><p>So, grab your laptop, start writing code, and embrace the exciting world of Python programming!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c44f50eb316a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Python Productivity with Codeium !]]></title>
            <link>https://medium.com/@samipkc23/mastering-python-productivity-with-codeium-512db38e49b9?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/512db38e49b9</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python-ai]]></category>
            <category><![CDATA[codeium-python]]></category>
            <category><![CDATA[codeium]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Tue, 14 Jan 2025 13:00:44 GMT</pubDate>
            <atom:updated>2025-01-14T13:00:44.910Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mastering Python Productivity with Codeium !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eLb7H8VTPMSzt18GYQ5w2g.png" /></figure><h3>Introduction</h3><p>In the ever-evolving landscape of programming, efficiency and productivity are key. Python, renowned for its simplicity and versatility, is a favorite among developers. But what if you could take your Python coding to the next level? Enter Codeium, an AI-powered tool designed to revolutionize your coding experience. In this blog, we’ll explore how Codeium can help you code faster, smarter, and more effectively in Python.</p><h3>What is Codeium?</h3><p>Codeium is an AI-powered code generation and autocompletion tool that leverages advanced algorithms to assist developers in writing code efficiently. It supports multiple programming languages, including Python, and integrates seamlessly into popular IDEs like Visual Studio Code, JetBrains, and more.</p><h3>Key Features:</h3><ul><li><strong>AI Autocompletion</strong>: Get intelligent suggestions as you type.</li><li><strong>Code Generation</strong>: Generate boilerplate code or complex functions with minimal input.</li><li><strong>Error Detection</strong>: Identify and resolve coding errors in real-time.</li><li><strong>Seamless Integration</strong>: Works with your favorite IDEs.</li></ul><h3>Why Use Codeium for Python Development?</h3><h3>1. Boost Productivity</h3><p>Python developers often spend significant time writing repetitive code. Codeium’s AI-powered autocompletion minimizes keystrokes by suggesting entire lines or blocks of code, allowing you to focus on logic and problem-solving.</p><h3>2. Error Reduction</h3><p>Codeium’s real-time error detection ensures your code is free of common mistakes. It highlights syntax errors, type mismatches, and more, saving you from debugging headaches.</p><h3>3. Accelerate Learning</h3><p>For beginners and professionals alike, Codeium provides contextual suggestions and explanations. This feature helps you learn best practices while coding, making it an invaluable tool for Python enthusiasts.</p><h3>4. Time-Saving Boilerplate Generation</h3><p>Automate the generation of repetitive code, such as setting up APIs, writing tests, or configuring databases. Codeium lets you generate complex code snippets with minimal input.</p><h3>How to Get Started with Codeium</h3><h3>Step 1: Install Codeium</h3><ol><li>Visit <a href="https://www.codeium.com/">Codeium’s official website</a> to download the tool.</li><li>Choose the version compatible with your preferred IDE.</li><li>Follow the installation instructions provided.</li></ol><h3>Step 2: Integrate with Your IDE</h3><ol><li>Open your Visual Studio Code.</li><li>Install the Codeium extension/plugin.</li><li>Configure the settings to match your preferences.</li></ol><h3>Step 3: Start Coding!</h3><ol><li>Open a Python file in your IDE.</li><li>Start typing your code, and watch as Codeium provides intelligent suggestions and completions.</li><li>Utilize the tool’s code generation features to streamline your workflow.</li></ol><h3>Use Cases for Python Developers</h3><h3>1. Web Development</h3><p>Speed up backend development with Django or Flask by generating boilerplate code for routes, models, and views.</p><h3>2. Data Analysis</h3><p>Simplify data manipulation with pandas or numpy by receiving precise function suggestions and corrections.</p><h3>3. Machine Learning</h3><p>Write cleaner machine learning pipelines with libraries like scikit-learn or TensorFlow. Codeium can assist with model setup, hyperparameter tuning, and more.</p><h3>4. Scripting and Automation</h3><p>Generate efficient scripts for web scraping, task automation, or file handling with minimal effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5QplkuGqmfeIfXSu1MHSQ.png" /></figure><h3>Conclusion</h3><p>Codeium is a game-changer for Python developers, offering a blend of speed, accuracy, and convenience. Whether you’re a seasoned coder or just starting your Python journey, this AI tool can significantly enhance your productivity and coding experience.</p><p>Start using Codeium today and unlock a new level of efficiency in your Python projects. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=512db38e49b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginner’s Guide to Python Basics]]></title>
            <link>https://medium.com/@samipkc23/a-beginners-guide-to-python-basics-016643d2acd1?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/016643d2acd1</guid>
            <category><![CDATA[learn-python-in-2025]]></category>
            <category><![CDATA[python-2025]]></category>
            <category><![CDATA[learn-python]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Sat, 11 Jan 2025 10:13:38 GMT</pubDate>
            <atom:updated>2025-01-11T10:13:38.753Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is one of the most popular and beginner-friendly programming languages in the world.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_-E7-cZ_sbw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_-E7-cZ_sbw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_-E7-cZ_sbw%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4ec284ec3873eb59ca6cf63ec5ac27e/href">https://medium.com/media/e4ec284ec3873eb59ca6cf63ec5ac27e/href</a></iframe><h3>Why Learn Python?</h3><ul><li><strong>Easy to Learn</strong>: Python has a clean and simple syntax that resembles plain English.</li><li><strong>Versatile</strong>: It’s used in various fields like web development, data science, machine learning, and automation.</li><li><strong>Large Community</strong>: With a vast community of developers, you’ll always find support and resources.</li></ul><h3>Setting Up Python</h3><p>Before writing your first program, you need to set up Python on your computer.</p><ol><li><strong>Download Python</strong>: Visit <a href="https://www.python.org/">python.org</a> and download the latest version of Python.</li><li><strong>Install Python</strong>: Follow the installation instructions. Make sure to check the box that says “Add Python to PATH” during installation.</li><li><strong>Choose an Editor</strong>: Use an editor like Visual Studio Code, PyCharm, or even Python’s built-in IDLE to write your code.</li></ol><h3>Writing Your First Program</h3><p>Let’s start with the classic “Hello, World!” program. Open your editor, type the following code, and run it:</p><pre>print(&quot;Hello, World!&quot;)</pre><h3>Tips for Beginners</h3><ol><li><strong>Practice Regularly</strong>: Coding is a skill that improves with practice.</li><li><strong>Break Down Problems</strong>: Divide complex tasks into smaller, manageable parts.</li><li><strong>Read Documentation</strong>: Python’s official documentation is an excellent resource.</li><li><strong>Experiment</strong>: Don’t be afraid to try new things and make mistakes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*vX7fYHorlsTf6zEL.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=016643d2acd1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Learn Python in 2025?]]></title>
            <link>https://medium.com/@samipkc23/why-learn-python-in-2025-e9c57edafeef?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9c57edafeef</guid>
            <category><![CDATA[learn-python]]></category>
            <category><![CDATA[why-python]]></category>
            <category><![CDATA[python-2025]]></category>
            <category><![CDATA[earn-python]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Fri, 10 Jan 2025 08:50:06 GMT</pubDate>
            <atom:updated>2025-01-10T08:50:06.467Z</atom:updated>
            <content:encoded><![CDATA[<p>In the ever-evolving world of technology, staying relevant is a constant challenge. Among the myriad of programming languages, Python continues to shine brightly, solidifying its place as one of the most sought-after skills. If you’re considering learning Python in 2025, here’s why it’s an excellent choice:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9m4GJjK6hE70hrdT" /></figure><h3>1. Versatility and Simplicity</h3><p>Python is renowned for its simplicity and readability, making it an ideal choice for beginners. Its intuitive syntax mimics natural language, reducing the learning curve significantly. Whether you’re building a web application, automating mundane tasks, or delving into data science, Python’s versatility ensures you’re well-equipped.</p><h3>2. Demand Across Industries</h3><p>In 2025, Python’s dominance continues across multiple industries:</p><ul><li><strong>Data Science and AI</strong>: Python’s libraries like TensorFlow, Pandas, and Scikit-learn are indispensable in artificial intelligence and machine learning.</li><li><strong>Web Development</strong>: Frameworks like Django and Flask make web development faster and more efficient.</li><li><strong>Automation</strong>: Python simplifies repetitive tasks, boosting productivity in IT and business operations.</li><li><strong>Finance and FinTech</strong>: From risk management to algorithmic trading, Python’s tools and libraries make it a staple in financial sectors.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2VLCI1P1cw-KlW_g3wDHLg.gif" /></figure><h3>3. Community Support and Resources</h3><p>Python boasts one of the largest and most active developer communities. In 2025, this support ecosystem ensures:</p><ul><li>Access to free tutorials and forums.</li><li>Swift solutions to coding challenges.</li><li>Continuous updates and innovations.</li></ul><h3>4. Career Opportunities and Growth</h3><p>Python’s popularity translates into abundant job opportunities. Roles like Python Developer, Data Analyst, Machine Learning Engineer, and DevOps Engineer are in high demand. Learning Python in 2025 equips you with a skill set that employers value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*ixGsDudO5ug0dzWw6imPbQ.gif" /></figure><h3>5. High Earning Potential</h3><p>Python proficiency is often associated with lucrative salaries. As businesses continue to prioritize digital transformation, the demand for skilled Python developers ensures competitive compensation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/0*VW1TmBdiKIEuAF1X" /></figure><h3>6. Future-Proof Your Career</h3><p>Python’s adaptability to emerging trends ensures it remains a relevant language. By learning Python now, you invest in a future-proof skill that keeps you competitive in a dynamic job market.</p><h3>Final Thoughts</h3><p>Learning Python in 2025 is not just about coding; it’s about unlocking endless possibilities. Whether you’re a student, a professional looking to upskill, or an entrepreneur aiming to leverage technology, Python is your gateway to success. Start your Python journey today and be part of a thriving global community driving innovation and progress.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9c57edafeef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build a Website Using Django and Python: Day 37]]></title>
            <link>https://medium.com/@samipkc23/how-to-build-a-website-using-django-and-python-day-37-ea32e6bdc78d?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea32e6bdc78d</guid>
            <category><![CDATA[python-website]]></category>
            <category><![CDATA[django-website]]></category>
            <category><![CDATA[website]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Mon, 30 Dec 2024 12:06:41 GMT</pubDate>
            <atom:updated>2024-12-30T12:06:41.635Z</atom:updated>
            <content:encoded><![CDATA[<h4>In this blog, we’ll guide you through the essential steps of creating a website using Django and Python.</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F50SJ8PoHIaM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D50SJ8PoHIaM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F50SJ8PoHIaM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/28f4f6faac8fc6e4ffb7ea33d8320bcd/href">https://medium.com/media/28f4f6faac8fc6e4ffb7ea33d8320bcd/href</a></iframe><h4>What is Django?</h4><p>Django is a high-level Python web framework encouraging rapid development and clean, pragmatic design. It’s free, open-source, and designed to help developers build web applications quickly.</p><p><strong>Security:</strong> Built-in protections against common vulnerabilities like SQL.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>Getting Started 👌</h3><p><strong>Install Python:</strong> Download the latest version of Python from <a href="https://www.python.org/">python.org</a>.</p><p><strong>Install Django:</strong> Use pip to install Django by running:</p><pre>pip install django</pre><h4>Create a new Django project:</h4><pre>django-admin startproject mywebsite</pre><p>This will generate a folder structure like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s32hyBcXD8oc4RnieQ4aAw.png" /></figure><p>Navigate to the project directory:</p><pre>cd mywebsite</pre><p>Run the development server:</p><pre>python manage.py runserver</pre><p>Visit http://127.0.0.1:8000/ in your browser to see the default Django welcome page.</p><p><strong>Creating an App</strong></p><p>Django projects are composed of apps, each responsible for a specific function. Create an app:</p><pre>python manage.py startapp myapp</pre><h4>Writing first text on the website.</h4><p>Go to myapp/views.py and write the following code:</p><pre>from django.shortcuts import render<br>from django.http import HttpResponse<br># Create your views here.<br>def home(request):<br>    result = &quot;&lt;3&quot;<br>    return HttpResponse(f&quot;Hello World{result}&quot;)</pre><h4><strong>Running the Website</strong></h4><p>Run the development server :</p><pre>python manage.py runserver</pre><p>Visit http://127.0.0.1:8000/ to see your website in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iv3QLy6yugNlWGV9aJUULw.png" /></figure><h3>Congratulation! You made your first website.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea32e6bdc78d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Scraping with BeautifulSoup in Python: Day 36]]></title>
            <link>https://medium.com/@samipkc23/web-scraping-with-beautifulsoup-in-python-day-36-3f8ab0767ef0?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f8ab0767ef0</guid>
            <category><![CDATA[web-scrap]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[scrapping]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Sun, 29 Dec 2024 13:54:21 GMT</pubDate>
            <atom:updated>2024-12-29T16:06:29.810Z</atom:updated>
            <content:encoded><![CDATA[<h4>In this blog, we’ll walk you through the basics of web scraping using BeautifulSoup.</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FpNsvOOthC1M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpNsvOOthC1M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FpNsvOOthC1M%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/745b8e8878c7016878c7e0e56abbc9f6/href">https://medium.com/media/745b8e8878c7016878c7e0e56abbc9f6/href</a></iframe><h4>What is BeautifulSoup?</h4><p>BeautifulSoup is a Python library used to parse HTML and XML documents. It provides tools to navigate and search through the parse tree, making extracting useful information from web pages easier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*D_HDtPiNxrln1JSXtLy-cw.jpeg" /></figure><h4>Requirements</h4><p>Before we start, make sure you have the following libraries installed:</p><ol><li><strong>requests</strong>: To fetch the web page.</li><li><strong>BeautifulSoup</strong>: To parse the HTML content.</li></ol><p>You can install them using pip:</p><pre>pip install requests beautifulsoup4</pre><h4>Step-by-Step Guide</h4><ol><li><strong>Import Libraries</strong></li><li>First, import the necessary libraries:</li></ol><pre>import requests<br>from bs4 import BeautifulSoup</pre><p><strong>Send an HTTP Request</strong></p><p>Next, you’ll send an HTTP request to the website you want to scrape using the requests library. For example, let&#39;s scrape data from a sample webs.</p><pre>url = &quot;https://quotes.toscrape.com&quot;<br>response = requests.get(url)</pre><p><strong>Parse the HTML with BeautifulSoup</strong></p><p>Once the HTML is fetched, you can parse it using BeautifulSoup:</p><pre>soup = BeautifulSoup(response.text, &#39;html.parser&#39;)</pre><p>This creates a BeautifulSoup object (soup) that you can work with to extract data.</p><p><strong>Extract Data</strong></p><p>Now, you can extract specific data from the page. For example, let’s say you want to scrape all the quotes from the page.</p><pre>quotes = soup.find_all(&#39;span&#39;, class_=&#39;text&#39;)<br><br>for quote in quotes:<br>    print(quote.text)</pre><p><strong>Handling Links</strong></p><p>If you want to extract all the links from the page, you can do this by finding all the &lt;a&gt; tags:</p><pre>links = soup.find_all(&#39;a&#39;)<br><br>for link in links:<br>    print(link.get(&#39;href&#39;))</pre><p>The get(&#39;href&#39;) method extracts the URL of the link.</p><h3>Now scrap data by yourself!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QDVUk9_Z02dPKpu2oQQPFA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f8ab0767ef0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the Basics of NumPy: Day 35]]></title>
            <link>https://medium.com/@samipkc23/understanding-the-basics-of-numpy-day-35-c11c505c540a?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/c11c505c540a</guid>
            <category><![CDATA[numpy-basics]]></category>
            <category><![CDATA[python-numpy]]></category>
            <category><![CDATA[numpy]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Fri, 27 Dec 2024 03:44:24 GMT</pubDate>
            <atom:updated>2024-12-27T03:44:24.938Z</atom:updated>
            <content:encoded><![CDATA[<h4>In this blog, we’ll explore the basics of NumPy, covering its features, how to get started, and why it’s so important for data manipulation and computation in Python.</h4><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D50Awk4gj0Sw&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F50Awk4gj0Sw%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/87a646142695f312b4362565c6367246/href">https://medium.com/media/87a646142695f312b4362565c6367246/href</a></iframe><h3>What is NumPy?</h3><p>NumPy is an open-source Python library that allows you to work with large, multi-dimensional arrays and matrices. It also provides a collection of mathematical functions to operate on these arrays.</p><h3>Why NumPy?</h3><ul><li><strong>Performance</strong>: NumPy is faster than regular Python lists because its arrays are stored in contiguous memory locations. This allows for optimized performance and faster operations.</li><li><strong>Ease of Use</strong>: With a simple and intuitive API, NumPy makes it easy to perform complex mathematical operations on large datasets.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yi4vHEd-TKbtiiSMf9TuDA.png" /></figure><h3>Installing NumPy</h3><p>To start using NumPy, you first need to install it. You can easily install it using pip:</p><pre>pip install numpy</pre><p>Once installed, you can import NumPy into your Python script:</p><pre>import numpy as np</pre><h3>Creating Arrays in NumPy</h3><p>The primary object in NumPy is the <strong>array</strong>. You can create arrays in several ways.</p><h4>1. From a Python List</h4><p>You can create a NumPy array directly from a Python list using the np.array() function.</p><pre>import numpy as np<br><br># Create a 1D array<br>arr = np.array([1, 2, 3, 4])<br>print(arr)</pre><p>Output:</p><pre>[1 2 3 4]</pre><h3>Basic Operations with NumPy Arrays</h3><p>Once you have created arrays, NumPy allows you to perform mathematical operations on them.</p><h4>1. Element-wise Operations</h4><p>Unlike regular Python lists, where operations are performed element by element in a loop, NumPy allows for efficient element-wise operations directly on arrays.</p><pre>arr1 = np.array([1, 2, 3])<br>arr2 = np.array([4, 5, 6])<br><br># Addition<br>print(arr1 + arr2)  # Output: [5 7 9]<br><br># Subtraction<br>print(arr1 - arr2)  # Output: [-3 -3 -3]<br><br># Multiplication<br>print(arr1 * arr2)  # Output: [4 10 18]<br><br># Division<br>print(arr1 / arr2)  # Output: [0.25 0.4 0.5]</pre><h3>Indexing</h3><p>Like Python lists, you can index and slice NumPy arrays to access specific elements or subarrays.</p><pre>arr = np.array([1, 2, 3, 4, 5])<br><br># Accessing an element<br>print(arr[2])  # Output: 3<br><br># Slicing the array<br>print(arr[1:4])  # Output: [2 3 4]<br><br># Negative indexing<br>print(arr[-1])  # Output: 5</pre><h3>Congratulation you have learned numpy basics!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*K8B5PoyMdn8tPPVs.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c11c505c540a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create a Telegram Chatbot : Day 34]]></title>
            <link>https://medium.com/@samipkc23/how-to-create-a-telegram-chatbot-88528e770f49?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/88528e770f49</guid>
            <category><![CDATA[chatbot-python]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-telegram]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Thu, 26 Dec 2024 13:57:08 GMT</pubDate>
            <atom:updated>2024-12-26T14:17:06.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXvAf9ntbP8IPGsgxcY0Dw.png" /></figure><p>Telegram chatbots are a powerful way to automate tasks, provide instant customer service, or even have fun with a personal bot. In this guide, we’ll walk you through the steps to create your own Telegram bot.</p><h3>Step 1: Set Up a Telegram Account</h3><p>To create a Telegram bot, you must have a Telegram account. If you don’t already have one:</p><ol><li>Download the Telegram app from <a href="https://play.google.com/">Google Play</a> or <a href="https://www.apple.com/app-store/">App Store</a>.</li><li>Sign up with your mobile number.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*5UVQ9ekfZXkfEQGu.png" /></figure><h3>Step 2: Talk to BotFather</h3><p>The BotFather is Telegram’s official bot management tool. Here’s how to interact with it:</p><ol><li>Open Telegram and search for <strong>BotFather</strong> in the search bar.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Jl_SXRm_03lFA7TM.jpg" /></figure><p>2. Start a chat and type /start to see the available commands.</p><p>3. To create a new bot, type /newbot and follow the prompts:</p><ul><li>Choose a name for your bot.</li><li>Set a unique username ending in bot (e.g., MyFirstBot).</li></ul><p>BotFather will provide you with a <strong>token</strong>. Keep this token secure; it is the key to accessing your bot</p><h3>Step 3: Set Up Your Programming Environment</h3><p>To program your bot, you need <strong>Python</strong>: Install it from <a href="https://www.python.org/">python.org</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9_49pRZZClBYH5A2.jpg" /></figure><h3>Step 4: Write Your Bot’s Code</h3><p>Here is a basic example of a Python script for a Telegram bot:</p><pre>from telegram import Update<br>from telegram.ext import ApplicationBuilder, CommandHandler, MessageHandler, filters<br><br># Command handler<br>async def start(update: Update, context):<br>    await update.message.reply_text(&quot;Hello! I am your bot. How can I help you today?&quot;)<br><br># Main function<br>if __name__ == &quot;__main__&quot;:<br>    app = ApplicationBuilder().token(&#39;YOUR_BOT_TOKEN&#39;).build()<br><br>    app.add_handler(CommandHandler(&quot;start&quot;, start))<br><br>    print(&quot;Bot is running...&quot;)<br>    app.run_polling()</pre><p>Replace YOUR_BOT_TOKEN with the token provided by BotFather.</p><h3>Step 5: Run Your Bot</h3><ol><li>Save the script (e.g., my_bot.py).</li><li>Run the script using the terminal or command prompt:</li></ol><pre>python my_bot.py</pre><p>3. Open Telegram and start a conversation with your bot. Test the /start command to ensure it’s working.</p><h3>You have successfully created your chatbot.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88528e770f49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Database : Day 33]]></title>
            <link>https://medium.com/@samipkc23/creating-database-day-33-53b0640a0d5f?source=rss-24592f23f429------2</link>
            <guid isPermaLink="false">https://medium.com/p/53b0640a0d5f</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[python-database]]></category>
            <dc:creator><![CDATA[Samip Jung K.C]]></dc:creator>
            <pubDate>Wed, 25 Dec 2024 14:16:23 GMT</pubDate>
            <atom:updated>2024-12-25T14:16:23.592Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating Database : Day 33</h3><h4>This blog will help you create your first database.</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRzMKD5l-8wQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRzMKD5l-8wQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRzMKD5l-8wQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/60fedcf80fa8033aa8cc1e3dd41a61ab/href">https://medium.com/media/60fedcf80fa8033aa8cc1e3dd41a61ab/href</a></iframe><h3>1. What is a Database?</h3><p>A database is an organized collection of data stored electronically. In SQL, a database contains tables, and each table is made up of rows (records) and columns (attributes).</p><h3>2. Steps to Create a Database in MySQL</h3><h4>Step 1: Open Xampp and turn on Apache and MySQL</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/0*SQTRJc2Vepuaw9pH.png" /></figure><h4>Step 2: Go in browser and search for localhost.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SggHp80IpKFQ78OXDJfAQQ.png" /></figure><h4>Step 3: Click on phpMyAdmin</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*ouedCQNd7kPM9ZUo.png" /></figure><h4>Step 4: Click on New</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QJAFdSuwlXF5ET9DsavuSQ.png" /></figure><h4>Step 5: Give Database Name and Table content</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q2U6zfQlhB40u2WnmTBe6w.png" /></figure><p><strong>Congratulations!</strong> You have successfully learned how to create database. Now use it in your works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*prhzCl2YUOQmRuWnwujtGw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53b0640a0d5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>