<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on Selvam Subbiah</title><link>https://selvamsubbiah.com/tags/python/</link><description>Recent content in Python on Selvam Subbiah</description><generator>Hugo -- 0.154.3</generator><language>en-us</language><lastBuildDate>Mon, 08 Jan 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://selvamsubbiah.com/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Mastering MongoDB Queries with OpenAI: A Guide to Generating Queries for Desired Outputs</title><link>https://selvamsubbiah.com/mastering-mongodb-queries-with-openai/</link><pubDate>Mon, 08 Jan 2024 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/mastering-mongodb-queries-with-openai/</guid><description>&lt;p&gt;I’m a big fan of &lt;a href="https://mongoplayground.net/" target="_blank" rel="noopener noreferrer"&gt;mongoplayground.net&lt;/a&gt;
as it is one of the most useful and widely used tools for swiftly testing various MongoDB queries while working on a problem. Although this tool is really handy and convenient to use, I have always wondered if there is a way to automatically generate the query for a given input and an expected output, rather than having to manually construct these queries.&lt;/p&gt;
&lt;p&gt;Thanks to Generative AI tools, this is now possible!&lt;/p&gt;</description></item><item><title>Run Jupyter Notebook in a virtual environment</title><link>https://selvamsubbiah.com/run-jupyter-notebook-in-a-virtual-environment/</link><pubDate>Wed, 11 Oct 2023 00:00:00 +0000</pubDate><guid>https://selvamsubbiah.com/run-jupyter-notebook-in-a-virtual-environment/</guid><description>&lt;p&gt;It is always best practice to use virtual environments while working on Python projects. This article lists the steps to run Jupyter Notebook within a virtual environment.&lt;/p&gt;
&lt;p&gt;In a nutshell, these are the steps required to run Jupyter Notebook in a virtual environment.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Install Jupyter&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a virtual environment and activate it&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install ipykernel package&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install a new Jupyter Kernel&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run Jupyter Notebook&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change the Kernel in Jupyter Notebook to the one we installed in the virtual environment in Step 4&lt;/p&gt;</description></item></channel></rss>