<?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 Rutuparna Kudtarkar on Medium]]></title>
        <description><![CDATA[Stories by Rutuparna Kudtarkar on Medium]]></description>
        <link>https://medium.com/@rutuparnavk?source=rss-57fa0806327b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zXBTHOQgYeWbOmBMtZvHHA.jpeg</url>
            <title>Stories by Rutuparna Kudtarkar on Medium</title>
            <link>https://medium.com/@rutuparnavk?source=rss-57fa0806327b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 14:12:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rutuparnavk/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[Parse PowerPoint Documents using Python: “The Easy Way!”]]></title>
            <link>https://rutuparnavk.medium.com/parse-powerpoint-documents-using-python-the-easy-way-89e6829495ee?source=rss-57fa0806327b------2</link>
            <guid isPermaLink="false">https://medium.com/p/89e6829495ee</guid>
            <category><![CDATA[document-extraction]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[powerpoint]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rutuparna Kudtarkar]]></dc:creator>
            <pubDate>Fri, 26 Jan 2024 17:03:20 GMT</pubDate>
            <atom:updated>2024-01-26T17:03:20.621Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*O-8LAuXWJuHU7tNeJV999w.png" /></figure><p>Creating dynamic and visually appealing presentations in Python has never been easier, thanks to the python-pptx library. This powerful tool allows developers to generate PowerPoint (.pptx) files programmatically, providing flexibility and customization for a variety of use cases. In this blog post, we will explore the basics of using the python-pptx library, including the creation of subheaders and the insertion of code snippets to make your presentations both informative and engaging.</p><h3>Installing the python-pptx Library</h3><p>To get started, ensure that you have the python-pptx library installed. You can install it using pip:</p><pre>pip install python-pptx</pre><h3>Creating a Presentation</h3><p>Let’s dive into creating a basic presentation using the library.</p><pre>from pptx import Presentation<br><br># Create a presentation object<br>presentation = Presentation()<br><br># Add a title slide<br>title_slide_layout = presentation.slide_layouts[0]<br>title_slide = presentation.slides.add_slide(title_slide_layout)<br><br># Add title and subtitle<br>title = title_slide.shapes.title<br>subtitle = title_slide.placeholders[1]<br><br>title.text = &quot;Dynamic Presentations with python-pptx&quot;<br>subtitle.text = &quot;Unlocking the Power of Python for PowerPoint&quot;<br><br># Save the presentation<br>presentation.save(&quot;dynamic_presentation.pptx&quot;)</pre><h3>Python Code to Extract Text</h3><p>Create a Python script to extract text from a PowerPoint file. The following example demonstrates a basic script to achieve this:</p><pre>from pptx import Presentation<br><br>def extract_text_from_pptx(pptx_path):<br>    presentation = Presentation(pptx_path)<br>    extracted_text = &quot;&quot;<br><br>    for slide_number, slide in enumerate(presentation.slides):<br>        extracted_text += f&quot;\nSlide {slide_number + 1}:\n&quot;<br><br>        for shape in slide.shapes:<br>            if hasattr(shape, &quot;text&quot;):<br>                extracted_text += shape.text + &quot;\n&quot;<br><br>    return extracted_text<br><br># Replace &#39;your_presentation.pptx&#39; with the path to your PowerPoint file<br>pptx_path = &#39;your_presentation.pptx&#39;<br>text = extract_text_from_pptx(pptx_path)<br><br># Display or save the extracted text as needed<br>print(text)</pre><p>Here is a list of features provided by the python-pptx library:</p><ol><li>Create Presentations: Generate new PowerPoint presentations or modify existing ones.</li><li>Slide Layouts: Choose from a variety of predefined slide layouts to structure your presentation.</li><li>Text Handling: Add titles, subtitles, bullet points, and various text elements to slides.</li><li>Font Styling: Customize font styles, sizes, and colors for text elements.</li><li>Shapes and Images: Insert various shapes, images, and other graphical elements onto slides.</li><li>Slide Backgrounds: Set background colors or images for individual slides.</li><li>Tables: Create and manipulate tables within slides for organized data presentation.</li><li>Charts: Generate charts and graphs to visualize data directly within PowerPoint.</li><li>Hyperlinks: Add hyperlinks to slides or individual elements for navigation.</li><li>Notes and Comments: Include speaker notes and comments for additional information.</li><li>Slide Transitions: Define slide transition effects for a dynamic presentation experience.</li><li>Slide Masters: Utilize slide master layouts for consistent styling across multiple slides.</li><li>Sections: Organize slides into sections for better structure and navigation.</li><li>Animation: Set animations and transitions to control the flow of information.</li><li>Media Embedding: Embed audio or video files directly into the presentation.</li><li>Metadata Manipulation: Modify document properties.</li></ol><p><em>Find documentation at: https://pypi.org/project/python-pptx/</em></p><h3>Conclusion</h3><p>Using the python-pptx library, extracting text from PowerPoint presentations becomes a straightforward task. Adjust the provided code snippets as needed for your specific use case or integrate it into a larger project for more advanced text processing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89e6829495ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PYTHON PROJECT IDEAS — for beginners to expert programmers]]></title>
            <link>https://rutuparnavk.medium.com/python-project-ideas-for-beginners-to-expert-programmers-40a3939fdddf?source=rss-57fa0806327b------2</link>
            <guid isPermaLink="false">https://medium.com/p/40a3939fdddf</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[trending]]></category>
            <category><![CDATA[projects]]></category>
            <dc:creator><![CDATA[Rutuparna Kudtarkar]]></dc:creator>
            <pubDate>Thu, 15 Oct 2020 19:09:00 GMT</pubDate>
            <atom:updated>2020-10-15T19:09:00.324Z</atom:updated>
            <content:encoded><![CDATA[<h3>PYTHON PROJECT IDEAS — for beginners to expert programmers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nKuNAFLNcHZcNcqNkeZDcw.jpeg" /></figure><ul><li><strong>STARTER (FOR BEGINNERS) :</strong></li></ul><blockquote>As they say, Better Late Than Never here are a few project topics to start with development with a short description of each idea for those who are gearing up their skills in Python.</blockquote><ol><li><strong>Number Guessing</strong> -&gt; Build a Number guessing game, in which the user selects a range. Let us say User selected a range, i.e., from<strong> </strong>A to B, where A and B<strong> </strong>belong to Integer. Some random integer will be selected by the system and the user has to guess that integer in the minimum number of guesses.</li><li><strong>Snake Games</strong> -&gt; The player is represented as a snake, which grows if it eats an apple. The goal of the game is to eat as many apples as possible without colliding.</li><li><strong>Story Generator</strong> -&gt; Are you tired of writing stories? Well, it’s time to create a random story generator that can write stories for you. Store random keywords and generate a whole new plot from them.</li><li><strong>Stopwatch</strong> -&gt; Tkinter is the standard GUI library for Python. You can focus on creating a stopwatch using Tkinter in python. It will make you get familiar with GUI Development.</li></ol><ul><li><strong>INTERMEDIATE :</strong></li></ul><blockquote>Already got your basics covered. Immediately get started with exploring fully functional applications and automation with python. Python is the best tool for automation so far. Developing the below-named projects can get you started with your Automation Journey.</blockquote><ol><li>Typing Speed Application</li><li>Email Automation</li><li>Paint Application</li><li>Whatsapp Automation</li></ol><ul><li><strong>ADVANCE</strong></li></ul><blockquote>Got a project submission that requires more advanced concepts, or if you are getting more comfortable with python, these are very helpful. Each application will teach you about a whole new concept (Eg. Face Detection is one of the applications of Machine Learning).</blockquote><ol><li>Chat Application</li><li>Face Detection</li><li>Youtube Clone</li><li>Data Dashboard</li></ol><ul><li><strong>EXPERT</strong></li></ul><blockquote>Expert projects can be helpful to portray your skills in Python. Completing the above projects will not make you a master of Python as they are categorized based on how much knowledge you can acquire from it.</blockquote><ol><li>Instagram Bot</li><li>Tinder Bot</li><li>Sudoku Solver</li><li>Real-Estate Prediction</li></ol><p>Here is what I always believe in,</p><blockquote>“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young.” -Henry Ford</blockquote><p>So do not stop if you are done with certain Expert Projects. Always keep working on new projects. Nothing can beat the knowledge that you gained while developing these projects.</p><p>Also, Python is considered the “most powerful language you can still read”. Put it in your arsenal today .</p><h4><strong>Thanks for stopping by !</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40a3939fdddf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 5 Mistakes To Avoid While Programming]]></title>
            <link>https://rutuparnavk.medium.com/top-5-mistakes-to-avoid-while-programming-106278ece91e?source=rss-57fa0806327b------2</link>
            <guid isPermaLink="false">https://medium.com/p/106278ece91e</guid>
            <category><![CDATA[top-5]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mistakes]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Rutuparna Kudtarkar]]></dc:creator>
            <pubDate>Wed, 14 Oct 2020 18:42:10 GMT</pubDate>
            <atom:updated>2020-10-14T18:42:10.250Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A1fm2dpbNfK25PAOZY4fOg.jpeg" /></figure><ol><li><strong>Hard-Coding passwords</strong></li></ol><p>Let’s understand what is hard-coded password. A hardcoded password is nothing but a plaintext password used in the application source code as it is one of the easiest ways to use a password for authentication as required to connect and communicate with databases or other systems. Often programmers use this for debugging, but anyone having access to the source code can access the password value and can gain access to systems such as a database or other systems. Implement several restrictions for access to the passwords and prevent possible threats in the future.</p><p>2. <strong>Not analyzing the time-complexity</strong></p><p><em>Time complexity</em> is a function describing the amount of time an algorithm takes in terms of the amount of input to the algorithm. Time can mean the number of memory accesses performed, the number of comparisons between integers, the number of times some inner loop is executed, or some other natural unit related to the amount of real-time the algorithm will take. Due to which we can not deny the fact that analysis of the implemented algorithm is vital.</p><p>3.<strong> Memorizing the code</strong></p><p>To understand this, let us start with the programming. <strong>Programming</strong> is the process of creating a set of instructions that tell a computer how to perform a task. Now this task can be done using N-number of ways, but more than just writing code best practice is to understand the problem statement and implement it using algorithms. Errors are made to occur, So let them pop as each error will let you know something that you were not aware of earlier. Memorizing can only have two results either you will be able to run your code without any errors or not at all. Instead of which one should always try to understand and implement the code in their own way, that is what called as <strong>Programming</strong></p><p>4. <strong>Not Modularizing the code</strong></p><p>Modularizing is a technique used in Software Design. One of the most important concepts of programming is the ability to group some lines of code into a unit that can be included in our program. The original wording for this was a sub-program. Other names include macro, sub-routine, procedure, module, and function. We are going to use the term <strong>function </strong>as that is what they are called in most of the predominant programming languages of today. It not only helps in making your code look neat but improves overall Reliability, Readability, Reusability, and makes your code easier to debug.</p><p>5. <strong>NOT</strong> <strong>Formatting/ Documenting code</strong></p><p>Most of the time, when we go on implementing the code, we forget about the fact that this piece of code can be used by others even we ourselves might need to refer to it in the future, Now what actually makes it worst? Remember how useless comments are for the compilers exactly that much they are Important for us. Even when writing smaller code, please have a practice of adding comments, As it makes the code easier to understand. Have you ever programmed in Python? If yes, then you might be already aware of how important indentation and formatting is, and for those who never used python, <strong>formatting</strong> the code is still important in every language. Many Integrated development environment (IDE) offer extensions for Formatting (eg. Visual Studio), so you do not have to worry about the styling part. Be sure to make your code well Formatted and Documented from next time.</p><blockquote><em>“ Experience is the name everyone gives to their mistakes. ” — Oscar Wilde</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=106278ece91e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacktoberfest 2020 — what`s new this year?]]></title>
            <link>https://rutuparnavk.medium.com/hacktoberfest-2020-what-s-new-this-year-2f06d5af91d9?source=rss-57fa0806327b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f06d5af91d9</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[hacktoberfest]]></category>
            <dc:creator><![CDATA[Rutuparna Kudtarkar]]></dc:creator>
            <pubDate>Tue, 06 Oct 2020 08:14:23 GMT</pubDate>
            <atom:updated>2020-10-06T08:14:23.099Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hacktoberfest 2020 — what`s new this year</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*bA-dQb3M58w_9gI_ELvFCw.jpeg" /></figure><p>October is here, and so is the <a href="https://medium.com/u/9ee8d41c2743">DigitalOcean</a>`s Hacktoberfest 2020. If you are learning how to code or simply fascinated by Open Source? It`s the best way to make your first contribution towards community. Just head over to <a href="https://hacktoberfest.digitalocean.com/">https://hacktoberfest.digitalocean.com/</a> and register yourself or just sign in with your GitHub Account.</p><p><strong>What you get for your contributions ?</strong></p><p>There`s more than a tee this event can offer you. Did you know that there are multiple tech companies that participate in Hacktoberfest and give away sweet, sweet swag? check out the entire A-Z list <a href="https://hacktoberfestswaglist.com/">here</a>.</p><p>Look if you are just getting started, just don`t go spamming the repositories when you can do better than that not every owner will accept the changes you`ve made, So instead go fork the repository and study the project then make a valuable contribution which will be worth getting merge.</p><p>There are rules clearly stated on the website, following them will get you more closer to make genuine Pull Requests. Below are the updated terms for this year</p><p><strong>New Rules for 2020 (</strong>An update on efforts to reduce spam)</p><p>PRs count if:<br>Submitted during the month of October AND (<br> The PR is labelled as hacktoberfest-accepted by a maintainer OR<br> Submitted in a repo with the hacktoberfest topic AND (<br> The PR is merged OR<br> The PR has been approved<br> )<br> )</p><p>GO MAKE YOUR SUCCESSFUL 4PR`s NOW</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f06d5af91d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>