<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xml:base="https://opensource.com/">
  <channel>
    <title>Python</title>
        <link>https://opensource.com/tags/python</link>
        <description/>
    <language>en</language>
    
    <item>
  <title>Retry your Python code until it fails</title>
  <link>https://opensource.com/article/23/4/retry-your-python-code-until-it-fails</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Retry your Python code until it fails&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/moshez" class="username"&gt;Moshe Zadka&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-25T03:00:00-04:00" title="Tuesday, April 25, 2023 - 03:00" class="datetime"&gt;Tue, 04/25/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Use the Tenacity and Mock libraries to find the bugs hiding deep within your code.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Sometimes, a function is called with bad inputs or in a bad program state, so it fails. In languages like Python, this usually results in an exception. But sometimes…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/retry-your-python-code-until-it-fails" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/python_jungle_lead.jpeg?itok=tpFPCKg4" width="360" height="202" alt="Real python in the graphic jungle" title="Python in the jungle" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Tue, 25 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>Moshe Zadka</dc:creator>
    <guid isPermaLink="false">70564 at https://opensource.com</guid>
    </item>
<item>
  <title>How I teach Python with open source tools</title>
  <link>https://opensource.com/article/23/4/how-i-teach-python</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;How I teach Python with open source tools&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/don-watkins" class="username"&gt;Don Watkins&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-21T03:00:00-04:00" title="Friday, April 21, 2023 - 03:00" class="datetime"&gt;Fri, 04/21/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Teaching Python to others is easy with these open source tools and techniques.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;I love to teach Python. I start by beginning where the learner begins. My first question is, "How would you like to learn Python?" They usually answer, "What's Python?" That's…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/how-i-teach-python" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/EDU_OSDC_BYU_520x292_FINAL.png?itok=wKvDBt_h" width="360" height="202" alt="How to do open research: 5 basic principles" title="How to do open research: 5 basic principles" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Fri, 21 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>Don Watkins</dc:creator>
    <guid isPermaLink="false">70551 at https://opensource.com</guid>
    </item>
<item>
  <title>Explore data visually with Python tools</title>
  <link>https://opensource.com/article/23/4/data-visualization-pygwalker-jupyter-notebook</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Explore data visually with Python tools&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/bill-wang" class="username"&gt;bill-wang&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-19T03:00:00-04:00" title="Wednesday, April 19, 2023 - 03:00" class="datetime"&gt;Wed, 04/19/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Combine Python, Pygwalker, Pandas, and Jupyter Notebook for a dynamic visual interface to your data.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Open source tools have been instrumental in advancing technology and making it more accessible to everyone. Data analysis is no exception. As data becomes more abundant and…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/data-visualization-pygwalker-jupyter-notebook" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/python-programming-code-keyboard.png?itok=4gsBVekG" width="360" height="202" alt="Hands on a keyboard with a Python book " title="Hands on a keyboard with a Python book " class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Wed, 19 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>bill-wang</dc:creator>
    <guid isPermaLink="false">70554 at https://opensource.com</guid>
    </item>
<item>
  <title>Talk to your cluster with this open source Python API wrapper</title>
  <link>https://opensource.com/article/23/4/cluster-open-source-python-api-wrapper</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Talk to your cluster with this open source Python API wrapper&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/rnetser1" class="username"&gt;rnetser1&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-18T03:00:00-04:00" title="Tuesday, April 18, 2023 - 03:00" class="datetime"&gt;Tue, 04/18/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Combine the power of an open API and the Python programming language.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Open source projects that create a wrapper around an API are becoming increasingly popular. These projects make it easier for developers to interact with APIs and use them in…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/cluster-open-source-python-api-wrapper" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/open_business_sign_store.jpg?itok=lMs2htFO" width="360" height="202" alt="Best of Opensource.com: Business" title="Best of Opensource.com: Business" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      
          &lt;a title="View user profile." href="https://opensource.com/users/myakove-rh" class="username"&gt;myakove-rh&lt;/a&gt;
    </description>
  <pubDate>Tue, 18 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>rnetser1</dc:creator>
    <guid isPermaLink="false">70534 at https://opensource.com</guid>
    </item>
<item>
  <title>Remove the background from an image with this Linux command</title>
  <link>https://opensource.com/article/23/4/image-editing-linux-python</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Remove the background from an image with this Linux command&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/don-watkins" class="username"&gt;Don Watkins&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-10T03:00:00-04:00" title="Monday, April 10, 2023 - 03:00" class="datetime"&gt;Mon, 04/10/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;The power of Python makes image editing easy on Linux.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;You have a great picture of yourself and want to use it for your social media profile, but the background is distracting. Another picture has a perfect background for your…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/image-editing-linux-python" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/painting_computer_screen_art_design_creative.png?itok=r5QLbucL" width="360" height="202" alt="Painting art on a computer screen" title="Painting art on a computer screen" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Mon, 10 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>Don Watkins</dc:creator>
    <guid isPermaLink="false">70547 at https://opensource.com</guid>
    </item>
<item>
  <title>Using mocks in Python</title>
  <link>https://opensource.com/article/23/4/using-mocks-python</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Using mocks in Python&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/moshez" class="username"&gt;Moshe Zadka&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-01T03:00:00-04:00" title="Saturday, April 1, 2023 - 03:00" class="datetime"&gt;Sat, 04/01/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Test your code safely with mocks.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;April 1st is all about fake stories and pretending. This makes it the perfect day to talk about mocking. Sometimes, using real objects is hard, ill-advised, or complicated…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/using-mocks-python" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/OSDC_women_computing_4.png?itok=sZ3ohT_Q" width="360" height="202" alt="Woman sitting in front of her laptop" title="Women in tech and computing" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Sat, 01 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>Moshe Zadka</dc:creator>
    <guid isPermaLink="false">70562 at https://opensource.com</guid>
    </item>
<item>
  <title>Why you should use Python and Rust together</title>
  <link>https://opensource.com/article/23/3/python-loves-rust</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Why you should use Python and Rust together&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/moshez" class="username"&gt;Moshe Zadka&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-03-28T03:00:00-04:00" title="Tuesday, March 28, 2023 - 03:00" class="datetime"&gt;Tue, 03/28/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Rust and Python have complementary strengths and weaknesses. Prototype in Python and move performance bottlenecks to Rust.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Python and Rust are very different languages, but they actually go together rather well. But before discussing how to combine Python with Rust, I want to introduce Rust itself…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/3/python-loves-rust" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/rust_programming_crab_sea.png?itok=5rD1U9f1" width="360" height="202" alt="Ferris the crab under the sea, unofficial logo for Rust programming language" title="Ferris the crab under the sea, unofficial logo for Rust programming language" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Tue, 28 Mar 2023 07:00:00 +0000</pubDate>
    <dc:creator>Moshe Zadka</dc:creator>
    <guid isPermaLink="false">70525 at https://opensource.com</guid>
    </item>
<item>
  <title>Create a ChatBot in Mattermost with Python</title>
  <link>https://opensource.com/article/23/3/chatbot-mattermost-python</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Create a ChatBot in Mattermost with Python&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/drmjg" class="username"&gt;DrMJG&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-03-27T03:00:00-04:00" title="Monday, March 27, 2023 - 03:00" class="datetime"&gt;Mon, 03/27/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Implement ChatOps in your organization with a simple open source bot.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;ChatOps is a collaboration model that connects people, processes, tools, and automation into a transparent workflow. Mattermost is an open source, self-hosted messaging…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/3/chatbot-mattermost-python" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/talk_chat_communication_team.png?itok=U0FZ-naW" width="360" height="202" alt="Chat bubbles" title="Chat bubbles" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Mon, 27 Mar 2023 07:00:00 +0000</pubDate>
    <dc:creator>DrMJG</dc:creator>
    <guid isPermaLink="false">70508 at https://opensource.com</guid>
    </item>
<item>
  <title>Create a modern user interface with the Tkinter Python library</title>
  <link>https://opensource.com/article/23/2/user-interface-tkinter-python</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Create a modern user interface with the Tkinter Python library&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/patrik-dufresne" class="username"&gt;patrik-dufresne&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-02-14T03:00:00-05:00" title="Tuesday, February 14, 2023 - 03:00" class="datetime"&gt;Tue, 02/14/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;TKVue saves time while developing the graphical interface and makes it easier to maintain and modify the code afterward.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Python's Tkinter library isn't exactly known for its good looks. I've developed a library to help create a modern graphical user interface for Python. I spent a lot of time…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/2/user-interface-tkinter-python" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/computer_browser_web_desktop.png?itok=FHxRMSe1" width="360" height="202" alt="Digital images of a computer desktop" title="Digital images of a computer desktop" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Tue, 14 Feb 2023 08:00:00 +0000</pubDate>
    <dc:creator>patrik-dufresne</dc:creator>
    <guid isPermaLink="false">70452 at https://opensource.com</guid>
    </item>
<item>
  <title>Automate Mastodon interactions with Python</title>
  <link>https://opensource.com/article/23/1/mastodon-api-python</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Automate Mastodon interactions with Python&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/moshez" class="username"&gt;Moshe Zadka&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-01-31T03:00:00-05:00" title="Tuesday, January 31, 2023 - 03:00" class="datetime"&gt;Tue, 01/31/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Follow along as I play with the Mastodon API to create a new application.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;The federated Mastodon social network has gotten very popular lately. It's fun to post on social media, but it's also fun to automate your interactions. There is some…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/1/mastodon-api-python" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/OSDC_women_computing_5.png?itok=0PjhrDTT" width="360" height="202" alt="Women in computing and open source v5" title="Women in computing and open source v5" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Tue, 31 Jan 2023 08:00:00 +0000</pubDate>
    <dc:creator>Moshe Zadka</dc:creator>
    <guid isPermaLink="false">70423 at https://opensource.com</guid>
    </item>

  </channel>
</rss>
