<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Learning on Game Experiments</title>
        <link>https://gameexperiments.com/tags/learning/</link>
        <description>Recent content in Learning on Game Experiments</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Tue, 21 Apr 2026 16:00:00 -0600</lastBuildDate><atom:link href="https://gameexperiments.com/tags/learning/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Install Git</title>
            <link>https://gameexperiments.com/p/install-git/</link>
            <pubDate>Tue, 21 Apr 2026 16:00:00 -0600</pubDate>
            <guid>https://gameexperiments.com/p/install-git/</guid>
            <description>&lt;h2 id=&#34;use-git&#34;&gt;Use Git&#xD;&#xA;&lt;/h2&gt;&lt;h3 id=&#34;requirements&#34;&gt;Requirements&#xD;&#xA;&lt;/h3&gt;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://git-scm.com/downloads&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Git from Git-scm.com/downloads&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Git is essential. Yes for version control, BUT mostly helps you NOT to loose all your code.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;get Git &lt;a class=&#34;link&#34; href=&#34;https://git-scm.com/downloads&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;from Git-scm.com downloads&lt;/a&gt;. Download and install.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;git-in-your-project&#34;&gt;Git IN YOUR PROJECT&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;In your project folder you can initialize our git repository and make an initial commit&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git init&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git add .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git commit -m &amp;#34;initial commit&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;&lt;img loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;To see the .git folder you need to view hidden items the same way we showed extentions earlier.&lt;/p&gt;&#xA;&lt;p&gt;Add a Global User Name and email - so you dont need to specify every repository (just yet)&lt;/p&gt;&#xA;&lt;p&gt;Use your name or company name or alias&#xA;Use your email or a hidden one (online git site like github provides them for security)&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git config --global user.name &amp;#34;My Name&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git config --global user.email &amp;#34;myemail@example.com&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;You also may need to learn about connecting your repository to a service like GitHub or BitBucket.&lt;/p&gt;&#xA;&lt;p&gt;If you use VSCode you would simply try PUSH the git repository and it&amp;rsquo;ll prompt you as you go.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make commits everytime after you make a few small changes. You can refine that process later.&lt;/li&gt;&#xA;&lt;li&gt;Give the commit a descriptive name starting with a verb i.e. &amp;ldquo;FIX - display the correct icon&amp;rdquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
        </item><item>
            <title>Start using Docs to learn</title>
            <link>https://gameexperiments.com/p/start-using-docs-to-learn/</link>
            <pubDate>Fri, 18 Aug 2023 11:00:00 -0700</pubDate>
            <guid>https://gameexperiments.com/p/start-using-docs-to-learn/</guid>
            <description>&lt;h2 id=&#34;intro&#34;&gt;Intro&#xD;&#xA;&lt;/h2&gt;&lt;p&gt;Some tools and computer languages included here.&lt;/p&gt;&#xA;&lt;p&gt;Most programming languages can just be read like you would read English. You will still trip up in places, but most of it should be human-readable.&lt;/p&gt;&#xA;&lt;p&gt;Computer languages change, but the basics usually stay much the same. You can always use the references, lookup newer features, and view best practices as they change.&lt;/p&gt;&#xA;&lt;p&gt;Here are a list of a few free and almost free resources&lt;/p&gt;&#xA;&lt;p&gt;Various: &lt;a class=&#34;link&#34; href=&#34;https://github.com/EbookFoundation/free-programming-books&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;EbookFoundation free-programming-books&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;python&#34;&gt;Python&#xD;&#xA;&lt;/h2&gt;&lt;p&gt;Docs and Beginners guide&lt;/p&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.python.org&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.python.org&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can look for a free BOOK copy of&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://greenteapress.com/wp/think-python-2e/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Think Python 2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://greenteapress.com/wp/think-python-3rd-edition/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Think Python 3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.robmiles.com/begin-to-code-with-python&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Begin to code with Python&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/EbookFoundation/free-programming-books/blob/main/books/free-programming-books-langs.md#python&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Free Programming Books&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The books should offer a free online version and perhaps a PDF download, or you could purchase it.&lt;/p&gt;&#xA;&lt;p&gt;O’Reilly has a free trial Head First Python. I was unable to find a free version.&lt;/p&gt;&#xA;&lt;h2 id=&#34;csharp&#34;&gt;Csharp&#xD;&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/dotnet/csharp/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;C# language Microsoft&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.robmiles.com/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Rob Miles&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.robmiles.com/c-yellow-book&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;C# Yellow Book&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.robmiles.com/begin-to-code-with-c&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Begin to Code with c#&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/EbookFoundation/free-programming-books/blob/main/books/free-programming-books-langs.md#csharp&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Free Programming Books&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I cannot guarantee how up to date these are considering we are now at C# v12&lt;/p&gt;&#xA;&lt;h2 id=&#34;git&#34;&gt;Git&#xD;&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://docs.github.com/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://docs.github.com/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://git-scm.com/docs/git&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://git-scm.com/docs/git&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://git-scm.com/book/en/v2&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://git-scm.com/book/en/v2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If you are using a host create a empty repository and you will get instructions how to add your &amp;rsquo;existing project&amp;rsquo; to git and push it. You will need git for your OS installed. Links for installation are found at &lt;a class=&#34;link&#34; href=&#34;https://git-scm.com/downloads&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://git-scm.com/downloads&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;free-e-books&#34;&gt;Free e-books&#xD;&#xA;&lt;/h2&gt;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://ebookfoundation.github.io&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://ebookfoundation.github.io&lt;/a&gt;&lt;/p&gt;&#xA;</description>
        </item><item>
            <title>Using VSCode with Python</title>
            <link>https://gameexperiments.com/p/using-vscode-with-python/</link>
            <pubDate>Mon, 20 Mar 2023 11:00:00 -0700</pubDate>
            <guid>https://gameexperiments.com/p/using-vscode-with-python/</guid>
            <description>&lt;!--&#xD;&#xA;Posted by Richard Porteous on Mon, Mar 20, 2023&#xD;&#xA;Updated Tue, Aug 27, 2024&#xD;&#xA;--&gt;&#xD;&#xA;&lt;h2 id=&#34;setting-up-visual-studio-code-for-python-development&#34;&gt;Setting up Visual Studio Code for Python development&#xD;&#xA;&lt;/h2&gt;&lt;p&gt;If on windows Install the powershell &amp;amp; terminal from microsoft store or the website first. The default ones on Windows 10/11 are old.&#xA;You may need to set them as defaults.&lt;/p&gt;&#xA;&lt;h3 id=&#34;here-are-the-steps-for-a-fresh-install&#34;&gt;Here are the steps for a fresh install&#xD;&#xA;&lt;/h3&gt;&lt;ul&gt;&#xA;&lt;li&gt;Install Python&lt;/li&gt;&#xA;&lt;li&gt;Install Visual Studio Code&lt;/li&gt;&#xA;&lt;li&gt;Install the Python Extension&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You may need to Install older versions if you plan on using Windows 7&lt;/p&gt;&#xA;&lt;h3 id=&#34;install-python-for-your-os&#34;&gt;Install Python for your OS:&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.python.org/downloads/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Download and install Python&lt;/a&gt;&#xA;Use the install suggestions.&lt;/p&gt;&#xA;&lt;p&gt;I found when installing on windows I use the following options.&lt;/p&gt;&#xA;&lt;p&gt;Notepad as the editor, the windows command prompt, and the support for long names, and finally allow it to add the path to your environment variables.&lt;/p&gt;&#xA;&lt;p&gt;Beginners See also &lt;a class=&#34;link&#34; href=&#34;https://wiki.python.org/moin/BeginnersGuide&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://wiki.python.org/moin/BeginnersGuide&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Take a look at my Learning Guide which will point you to free resources&lt;/p&gt;&#xA;&lt;h3 id=&#34;install-vscode&#34;&gt;Install VSCode:&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://code.visualstudio.com/Download&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Download and install Visual Studio Code from the official website&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://github.com/vscodium/vscodium/releases&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Download and Install VSCodium which is the open source project Microsoft uses&lt;/a&gt; their website is vscodium.com&lt;/p&gt;&#xA;&lt;p&gt;Open VSCode/VSCodium after installation&lt;/p&gt;&#xA;&lt;p&gt;Navigate to the Extensions panel on the left-hand side in VSCode&#xA;Search for the “Python” extension and install it&lt;/p&gt;&#xA;&lt;p&gt;At this Point you should likely restart your computer to see option show up in windows explorer like run &amp;ldquo;code from here&amp;rdquo; or &amp;ldquo;run terminal from here&amp;rdquo;&lt;/p&gt;&#xA;&lt;h3 id=&#34;create-a-python-project&#34;&gt;Create a Python Project:&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;You can do also this from VSCode&lt;/p&gt;&#xA;&lt;p&gt;Open or create a folder where you want to work on your Python project. I usually have a dev/development folder in my user folder.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install a virtual environment ( see Virtual Environment ) if it doesn’t already exist&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mkdir projectA&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cd projectA&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;python3.8 -m venv env&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;free code camp has instructions if you need detail&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new Python file with the .py extension&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;From VSCode you need to open your project folder - or using windows explorer&#xA;You can add a file from the &amp;rsquo;new file&amp;rsquo; option on the left&lt;/p&gt;&#xA;&lt;p&gt;&lt;img loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Name the file game.py&lt;/p&gt;&#xA;&lt;p&gt;&lt;img loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;write-and-run-python-code&#34;&gt;Write and Run Python Code:&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;Start coding! Write your Python code in the newly created file. &lt;a class=&#34;link&#34; href=&#34;gameexperiments.com/series/worm/&#34; &gt;See worm series&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can run the code using the run button, the terminal, or the interactive window&lt;/p&gt;&#xA;&lt;h3 id=&#34;debug-your-python-code&#34;&gt;Debug Your Python Code:&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;Set breakpoints and debug your Python code using the debugger&#xA;Customize debugger settings in the launch.json file&lt;/p&gt;&#xA;&lt;h3 id=&#34;install-packages&#34;&gt;Install Packages:&#xD;&#xA;&lt;/h3&gt;&lt;p&gt;Use the integrated terminal to install &lt;em&gt;Python&lt;/em&gt; packages using pip&#xA;Remember to explore additional resources to get the most out of Python in Visual Studio Code! If you’re new to programming, consider checking out the Visual Studio Code for Education - Introduction to Python course²4. Happy coding! 🐍💻&lt;/p&gt;&#xA;&lt;p&gt;References&lt;/p&gt;&#xA;&lt;p&gt;Source: Conversation with Bing, 2024-04-29&lt;/p&gt;&#xA;&lt;p&gt;(1) How to set up Visual Studio Code for Python development - &lt;a class=&#34;link&#34; href=&#34;https://blog.teclado.com/how-to-set-up-visual-studio-code-for-python-development/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;The Teclado Blog&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;(2) &lt;a class=&#34;link&#34; href=&#34;https://code.visualstudio.com/docs/python/python-tutorial&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;Get Started Tutorial for Python in Visual Studio Code&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ol start=&#34;3&#34;&gt;&#xA;&lt;li&gt;[How to set up Python on Visual Studio Code (YouTube)] (&lt;a class=&#34;link&#34; href=&#34;https://www.youtube.com/watch?v=9o4gDQvVkLU&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.youtube.com/watch?v=9o4gDQvVkLU&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;(4) [How To Setup Python for VSCode | Setting Up VSCode For Python Programming (YouTube)] (&lt;a class=&#34;link&#34; href=&#34;https://www.youtube.com/watch?v=oSmEIr3yBL0&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.youtube.com/watch?v=oSmEIr3yBL0&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;(5) [Setting Up VSCode For Python Programming (YouTube)] (&lt;a class=&#34;link&#34; href=&#34;https://www.youtube.com/watch?v=W--_EOzdTHk&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.youtube.com/watch?v=W--_EOzdTHk&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;(6) [How to set up Python in VS Code? - Stack Overflow] (&lt;a class=&#34;link&#34; href=&#34;https://stackoverflow.com/questions/42472265/how-to-set-up-python-in-vs-code&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://stackoverflow.com/questions/42472265/how-to-set-up-python-in-vs-code&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;(7) [Python Development in Visual Studio Code (Setup Guide)] (&lt;a class=&#34;link&#34; href=&#34;https://realpython.com/courses/python-development-visual-studio-code-setup-guide/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://realpython.com/courses/python-development-visual-studio-code-setup-guide/&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;(8) [Getting Started with Python in Visual Studio Code | Python with VSCode (YouTube)] (&lt;a class=&#34;link&#34; href=&#34;https://www.youtube.com/watch?v=E9U-EBG8jVk&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.youtube.com/watch?v=E9U-EBG8jVk&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;(9) [Python in Visual Studio tutorial Step 1, create a project] (&lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-01-create-project?view=vs-2022&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://learn.microsoft.com/en-us/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-01-create-project?view=vs-2022&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;(10) [Install and configure Visual Studio Code for Python development] (&lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/training/modules/python-install-vscode/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://learn.microsoft.com/en-us/training/modules/python-install-vscode/&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;PS: I use DuckDuckGo as my search engine starting Nov 2024&lt;/p&gt;&#xA;</description>
        </item><item>
            <title>Using python</title>
            <link>https://gameexperiments.com/p/using-python/</link>
            <pubDate>Sun, 19 Mar 2023 11:00:00 -0700</pubDate>
            <guid>https://gameexperiments.com/p/using-python/</guid>
            <description>&lt;!--&#xD;&#xA;Posted by Richard Porteous on Mon, Mar 20, 2023&#xD;&#xA;Updated Tue, Aug 27, 2024&#xD;&#xA;--&gt;&#xD;&#xA;&lt;h2 id=&#34;before-installing-python-first-check-if-you-already-have-it&#34;&gt;Before installing Python first check if you already have it.&#xD;&#xA;&lt;/h2&gt;&lt;p&gt;Depending on your operating system, follow these steps:&lt;/p&gt;&#xA;&lt;p&gt;Windows: Press Win + R to open the Run dialog. Type cmd and press Enter. This will open the Command Prompt. macOS: Press Cmd + Space to open Spotlight Search. Type Terminal and press Enter. This will open the Terminal application. Linux: Press Ctrl + Alt + T to open the Terminal.&lt;/p&gt;&#xA;&lt;p&gt;For better command line tools you can install both Microsoft PowerShell (not windows powershell) and Microsoft Terminal. These two tools are updates and are better than the built in ones.&lt;/p&gt;&#xA;&lt;p&gt;run the following in the terminal:&lt;/p&gt;&#xA;&lt;p&gt;python &amp;ndash;version&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Windows - python, py commands should work&lt;/li&gt;&#xA;&lt;li&gt;Linux/Mac python or python3 should work&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;py &amp;ndash;version&#xA;python &amp;ndash;version&#xA;python3 &amp;ndash;version&lt;/p&gt;&#xA;&lt;p&gt;I use python version 3.&lt;/p&gt;&#xA;&lt;p&gt;if you didn’t get Python 3 (pref 3.8 or higher) for any you will need to download a new version. Current version as I write this is 3.12.&lt;/p&gt;&#xA;&lt;h2 id=&#34;installing-python&#34;&gt;Installing Python&#xD;&#xA;&lt;/h2&gt;&lt;p&gt;Installing Python is straightforward. Here are the steps to install Python on different operating systems:&lt;/p&gt;&#xA;&lt;h3 id=&#34;windows&#34;&gt;Windows:&#xD;&#xA;&lt;/h3&gt;&lt;ul&gt;&#xA;&lt;li&gt;Visit the official Python website: Python.org.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to the Downloads section.&lt;/li&gt;&#xA;&lt;li&gt;Choose the version of Python you want to install (e.g., Python 3.12.3).&lt;/li&gt;&#xA;&lt;li&gt;Select the appropriate installer for your operating system (Windows).&lt;/li&gt;&#xA;&lt;li&gt;Double-click the installer file to launch the setup wizard.&lt;/li&gt;&#xA;&lt;li&gt;In the setup window, check the Add Python 3.8 to PATH option.&lt;/li&gt;&#xA;&lt;li&gt;Click Install Now to begin the installation. It will take a few minutes to complete.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;macos&#34;&gt;macOS:&#xD;&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;Visit the official Python website: Python.org.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to the Downloads section.&lt;/li&gt;&#xA;&lt;li&gt;Choose the version of Python you want to install (e.g., Python 3.12.3).&lt;/li&gt;&#xA;&lt;li&gt;Download the macOS installer.&lt;/li&gt;&#xA;&lt;li&gt;Double-click the installer file to start the installation process.&lt;/li&gt;&#xA;&lt;li&gt;Follow the on-screen instructions to complete the installation.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;linux&#34;&gt;Linux:&#xD;&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Most Linux distributions come with Python pre-installed. However, you can install a specific version using package managers like apt, yum, or pip.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open a terminal and run the following command to check if Python is already installed:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;python3 &amp;ndash;version&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;If not installed, use the package manager to install Python 3 (e.g., sudo apt install python3).&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Remember to choose the appropriate version of Python based on your needs and system requirements. Happy coding! 🐍🚀&lt;/p&gt;&#xA;&lt;p&gt;For more detailed instructions, you can refer to the official Python installation guides:&lt;/p&gt;&#xA;&lt;p&gt;Dive Into Python&#xA;Python Tutorial&#xA;Real Python&#xA;How-To Geek 1 2 3 4 5&#xA;Source: Conversation with Bing, 2024-04-29&lt;/p&gt;&#xA;&lt;p&gt;(1) Download Python | Python.org. &lt;a class=&#34;link&#34; href=&#34;https://www.python.org/downloads/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.python.org/downloads/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;(2) How to Install and Run Python: A Beginner’s Guide - Dive Into Python. &lt;a class=&#34;link&#34; href=&#34;https://diveintopython.org/learn/install&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://diveintopython.org/learn/install&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;(3) Install Python on Windows, macOS, and Linux - Python Tutorial. &lt;a class=&#34;link&#34; href=&#34;https://www.pythontutorial.net/getting-started/install-python/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.pythontutorial.net/getting-started/install-python/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;(4) Python 3 Installation &amp;amp; Setup Guide – Real Python. &lt;a class=&#34;link&#34; href=&#34;https://realpython.com/installing-python/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://realpython.com/installing-python/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;(5) How to Install Python on Windows - How-To Geek. &lt;a class=&#34;link&#34; href=&#34;https://www.howtogeek.com/197947/how-to-install-python-on-windows/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.howtogeek.com/197947/how-to-install-python-on-windows/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;(6) undefined. &lt;a class=&#34;link&#34; href=&#34;https://www.python.org/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.python.org/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;(7) Getty Images. &lt;a class=&#34;link&#34; href=&#34;https://www.gettyimages.com/detail/news-photo/in-this-photo-illustration-a-python-logo-seen-displayed-on-news-photo/1986209604&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xD;&#xA;    &gt;https://www.gettyimages.com/detail/news-photo/in-this-photo-illustration-a-python-logo-seen-displayed-on-news-photo/1986209604&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Do you already have python?&#xA;I have used cmd on windows, you can use whatever terminal you know how to open. A shortcut on windows is to use explorer to go to the folder you want and type cmd in the bar above.&lt;/p&gt;&#xA;&lt;p&gt;Windows - python, py commands should work Linux/Mac python or python3 should work&lt;/p&gt;&#xA;&lt;p&gt;run the following:&lt;/p&gt;&#xA;&lt;p&gt;python &amp;ndash;version&#xA;if the response is not python 3 or higher then i recommend you check the py command or the python3 command&lt;/p&gt;&#xA;&lt;p&gt;py &amp;ndash;version&#xA;or&#xA;python3 &amp;ndash;version&#xA;if still not you will need to download a newer version. I tend to like to get it directly from the vendor which would be Python website and look at their install instructions if you still have problems.&lt;/p&gt;&#xA;&lt;p&gt;Once you know how to get python 3 (or newer) we can continue. NOTE from now on I’ll just refer to it as python but please use the command that works best for you.&lt;/p&gt;&#xA;&lt;p&gt;Where do I put this code&#xA;I like to have a “dev” or “source” folder under my home folder. Then I create folders under that for each of my projects. You can group by language or if you have specific work requirements then follow those.&lt;/p&gt;&#xA;&lt;p&gt;Under the Home directory would be your source folder. Under that would be your project folder which can be anything you choose. We use my_project for this example. Under my_project we would create the venv/. In here we will create .git/ and .gitignore. If using an IDE like VSCode we would open on this folder and have the venv automatically recognized. A terminal and text editor are sufficient, though I find beginners may prefer the help like code completion etc.&lt;/p&gt;&#xA;&lt;p&gt;Creating the venv/ folder&#xA;We don’t want to clutter the python global environment, nor do we want each project to use the global versions as changes to one projects dependencies may break another. We create a project level virtual environment to give us flexibility.&lt;/p&gt;&#xA;&lt;p&gt;python -m venv venv&#xA;the first venv after the -m is the python module, the second is the folder name we chose.&lt;/p&gt;&#xA;&lt;p&gt;we activate it in windows with&lt;/p&gt;&#xA;&lt;p&gt;venv\Scripts\activate&#xA;Linux and Mac will use&lt;/p&gt;&#xA;&lt;p&gt;source venv/bin/activate&#xA;After it is activated then install with pip will place those files safely in the virtual environment (venv).&lt;/p&gt;&#xA;</description>
        </item></channel>
</rss>
