<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: PyBash</title>
    <description>The latest articles on Forem by PyBash (@pybash).</description>
    <link>https://forem.com/pybash</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F611242%2F7aafe3b2-50ec-4fe6-961c-202673d22122.png</url>
      <title>Forem: PyBash</title>
      <link>https://forem.com/pybash</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/pybash"/>
    <language>en</language>
    <item>
      <title>I Made a Discord Server!</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Sat, 12 Jun 2021 12:16:40 +0000</pubDate>
      <link>https://forem.com/pybash/i-made-a-discord-server-2296</link>
      <guid>https://forem.com/pybash/i-made-a-discord-server-2296</guid>
      <description>&lt;h2&gt;
  
  
  Welcome Back and Sorry
&lt;/h2&gt;

&lt;p&gt;Sorry, again for not being active I was busy setting up this server and lot of other personal stuff and projects. Anyways let me tell you about the purpose of this post, even though you have already read the title!&lt;/p&gt;

&lt;h2&gt;
  
  
  I thought we could have some fun! And be social!
&lt;/h2&gt;

&lt;p&gt;So, I have made a discord server for all of you to join! link is below! You can chat there with bots and all that stuff. The server focuses on Coding, Python, JS, Webdev, And many more programming languages. You can get help and chat! This is a super short post, I know. This was just to inform you about this!&lt;/p&gt;

&lt;h2&gt;
  
  
  Bye, Hope to see you there!
&lt;/h2&gt;

&lt;p&gt;Hope you join and that's all for this post! Byeeeeeee!&lt;/p&gt;

&lt;p&gt;Link to Join - &lt;a href="https://discord.gg/DUeaUDxC7t"&gt;https://discord.gg/DUeaUDxC7t&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discord</category>
      <category>social</category>
      <category>community</category>
      <category>python</category>
    </item>
    <item>
      <title>Cool Python Project Ideas which are Really UNIQUE(But can be made in Other Languages)</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Sat, 29 May 2021 10:31:16 +0000</pubDate>
      <link>https://forem.com/pybash/cool-python-project-ideas-which-are-really-unique-but-can-be-made-in-other-languages-47p6</link>
      <guid>https://forem.com/pybash/cool-python-project-ideas-which-are-really-unique-but-can-be-made-in-other-languages-47p6</guid>
      <description>&lt;h1&gt;
  
  
  Introduction(Or Backstory)
&lt;/h1&gt;

&lt;p&gt;Back in the day, I would google "python project ideas for beginners", "python project ideas for intermediate", and "python project ideas for advanced". But all of the results had the same projects. So today, I present you the list of Python Projects which are really unique and fun to do. Maybe comment below if you want a post on that project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note: These Projects are not really rated as beginner, intermediate or advanced.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. A GitHub Notifier
&lt;/h3&gt;

&lt;p&gt;Make a GitHub Notifier which maybe sends a desktop notification whenever a new pull request is opened or issue is created or a star is added, etc. Use the &lt;a href="https://api.github.com"&gt;GitHub API&lt;/a&gt; to do that.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. A Simple Terminal Emulator
&lt;/h3&gt;

&lt;p&gt;You can make a small and simple terminal emulator. You can have a look at this simple one I built for personal use &lt;a href="https://github.com/pybash1/emuthon"&gt;here&lt;/a&gt;. To make it a bit more challenging add a config file for customization.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Make A Social Media Platform
&lt;/h3&gt;

&lt;p&gt;Try to make your own Social Media Platform. You could use something like Flask to get started quickly. And maybe Bootstrap for a easy Front-End.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. A Simple File Encryptor/Decryptor
&lt;/h3&gt;

&lt;p&gt;There are definitely a lot of libraries to do this already but why not try to build one from scratch. Maybe just start with a simple substitution algorithm or use the &lt;code&gt;base64&lt;/code&gt; or &lt;code&gt;base32&lt;/code&gt; or etc. modules. Who said you have to start from the hardest.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Your Own API
&lt;/h3&gt;

&lt;p&gt;Try and make your own API you could use Django or Flask for the back-end. There are several libraries to help you get started quickly. Maybe make an API to get fake names, a mock YouTube kind of API, or whatever you wish.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Try to make a simple ChatBot
&lt;/h3&gt;

&lt;p&gt;Try to make a chatbot without AI. One that just replies to certain hardcoded questions and then grow from there. Maybe, then implement a AI.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. A GUI File Explorer
&lt;/h3&gt;

&lt;p&gt;Why not try this. Run &lt;code&gt;cd&lt;/code&gt; and &lt;code&gt;dir&lt;/code&gt; commands using &lt;code&gt;subprocess&lt;/code&gt;. Get the output. And Show that in a GUI window maybe. There probably are more ways to do this.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. PyInstaller GUI
&lt;/h3&gt;

&lt;p&gt;Love converting &lt;code&gt;.py&lt;/code&gt; to &lt;code&gt;.exe&lt;/code&gt; using PyInstaller. Then, why not make easy to use GUI for that? Maybe have a look at this for some &lt;em&gt;inspiration&lt;/em&gt; - &lt;a href="https://github.com/brentvollebregt/auto-py-to-exe"&gt;&lt;code&gt;auto-py-to-exe&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  9. GUI Password Generator or Validator
&lt;/h3&gt;

&lt;p&gt;You probably have made password generator or validator already. But ever thought about making them together in a GUI version? Now you have got the chance. You can use any GUI library like PyQt5, Kivy or even the built-in Tkinter.&lt;/p&gt;

&lt;h3&gt;
  
  
  10. Your OWN URI or Protocol
&lt;/h3&gt;

&lt;p&gt;I already have a &lt;a href="https://dev.to/pybash/series/12147"&gt;Series&lt;/a&gt; on this, you could follow that or try making your own from scratch. These are really fun to make and the result is great once complete.&lt;/p&gt;

&lt;h3&gt;
  
  
  11. Make A Discord Bot using discord.py
&lt;/h3&gt;

&lt;p&gt;There are several tutorials out there to watch and follow. Nothing more to say in this part.&lt;/p&gt;

&lt;h3&gt;
  
  
  12. Your Own &lt;code&gt;cat&lt;/code&gt; for Windows
&lt;/h3&gt;

&lt;p&gt;This one is really cool. You know Linux and macOS have a &lt;code&gt;cat&lt;/code&gt; command right? So why not try to make that same thing for Windows(this is gonna hype the windows users). And now that I got the idea I am going to try to make one myself.&lt;/p&gt;

&lt;h1&gt;
  
  
  Wrapping Up
&lt;/h1&gt;

&lt;p&gt;Well, that's the end for today. See you in my next post, also if you have any more ideas make sure to drop them in the comments. I will add the best one into this post. And good byeeeeeee.&lt;/p&gt;

&lt;h3&gt;
  
  
  Easter Egg
&lt;/h3&gt;

&lt;p&gt;I love easter eggs, so I added one in this post(hint: Not only the text). See if you can find it. Let me know in the comments.&lt;/p&gt;

</description>
      <category>python</category>
      <category>projects</category>
      <category>learning</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Making a Custom Protocol Handler and URI Scheme! - Part 3</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Sun, 23 May 2021 10:56:45 +0000</pubDate>
      <link>https://forem.com/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-3-3fji</link>
      <guid>https://forem.com/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-3-3fji</guid>
      <description>&lt;h1&gt;
  
  
  Well, well, back again!
&lt;/h1&gt;

&lt;p&gt;I am bored of saying what are we going to do today!! So, here it is, you don't need to ask! BTW - Sorry, if you find me rude. I don't want to be rude. And, if you are coming here the first time, then check these out first - &lt;a href="https://dev.to/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-1-37mh"&gt;Part 1&lt;/a&gt;, &lt;a href="https://dev.to/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-2-4b51"&gt;Part 2&lt;/a&gt;!&lt;/p&gt;

&lt;h1&gt;
  
  
  Today's Plan
&lt;/h1&gt;

&lt;p&gt;Today is no code. We are going to working with Windows and some other non-code things! So, get ready.&lt;/p&gt;

&lt;h1&gt;
  
  
  Prerequisites
&lt;/h1&gt;

&lt;p&gt;Python Libraries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/brentvollebregt/auto-py-to-exe"&gt;&lt;code&gt;auto-py-to-exe&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Be familiar with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Windows Registry&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Installation
&lt;/h1&gt;

&lt;p&gt;We need to install &lt;code&gt;auto-py-to-exe&lt;/code&gt; to convert our application to an executable.&lt;/p&gt;

&lt;p&gt;Install using - &lt;code&gt;$ pip install auto-py-to-exe&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Done! Everything installed!&lt;/p&gt;

&lt;h1&gt;
  
  
  Let's Start
&lt;/h1&gt;

&lt;p&gt;Open a new Command Prompt Window and type - &lt;code&gt;auto-py-to-exe&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;A window similar to this should open - &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FpESsYcw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vi3dkrt7rnqkr1ybo6wu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FpESsYcw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vi3dkrt7rnqkr1ybo6wu.png" alt="autopytoexe" width="360" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, click browse and locate your python file containing the handler. Then select &lt;strong&gt;One File&lt;/strong&gt; in the next section and &lt;strong&gt;Console Based&lt;/strong&gt; in the Console Window Section. Then, expand the Settings section and Put a path you can remember under Output Directory. and finally, click "CONVERT .PY TO .EXE". After it is &lt;strong&gt;complete&lt;/strong&gt;, close the window and go back to the Command Prompt and type &lt;code&gt;regedit&lt;/code&gt; and select &lt;code&gt;yes&lt;/code&gt; if a &lt;a href="https://google.com/search?q=User%20Account%20Control"&gt;UAC&lt;/a&gt; window pops up. &lt;/p&gt;
&lt;h2&gt;
  
  
  Registry Editor
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;It is recommended you make a restore point before following the next steps. Changing anything other than what is mentioned here could even break your whole computer. The author is not liable for any changes you do further. Follow the next steps at your own risk.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After you have read the above, follow these steps - &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inside Registry Editor right-click &lt;strong&gt;HKEY_CLASSES_ROOT&lt;/strong&gt; and create a new key&lt;/li&gt;
&lt;li&gt;Name the key whatever you want your protocol to be called! &lt;code&gt;python&lt;/code&gt; for my case.&lt;/li&gt;
&lt;li&gt;Inside the &lt;code&gt;python&lt;/code&gt; key create a new String Value and name it "URL Protocol"&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;python&lt;/code&gt; create a new key and name it &lt;code&gt;shell&lt;/code&gt;. Under &lt;code&gt;shell&lt;/code&gt; create new key and name it &lt;code&gt;open&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;And finally, under &lt;code&gt;shell&lt;/code&gt; create a key named &lt;code&gt;command&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Now inside &lt;code&gt;command&lt;/code&gt; change the value of &lt;code&gt;(Default)&lt;/code&gt; to this &lt;code&gt;"D:/path/to/your/exe/file/within/quotes" "%1"&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;And Done! Now close registry editor and open up a browser.&lt;/li&gt;
&lt;li&gt;Type - &lt;code&gt;python://D:/path/to/any/python/file.py&lt;/code&gt; in the address bar and press enter.&lt;/li&gt;
&lt;li&gt;Enjoy!&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  I am Super Sorry
&lt;/h1&gt;

&lt;p&gt;I did not post for the past month or so... Don't be mad. I was working on the Documentation for py-everything. And that took all of my time... I had this post written before hand just a tiny part was left and I couldn't complete it. But now I am super happy to publish this post and also announce that py-everything 2.0.0 just got released with tons of new features, CLIs, modules, etc. So go check that out as well. 😢&lt;/p&gt;

&lt;p&gt;py-everything:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/pybash1"&gt;
        pybash1
      &lt;/a&gt; / &lt;a href="https://github.com/pybash1/py_everything"&gt;
        py_everything
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A python package containing all the basic functions and classes for python. From simple addition to advanced file encryption.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;p&gt;
&lt;a rel="noopener noreferrer" href="https://raw.githubusercontent.com/pybash1/py_everything/master/extra/logo.png"&gt;&lt;img width="170px" height="170px" src="https://res.cloudinary.com/practicaldev/image/fetch/s--0Xg3jw8R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/pybash1/py_everything/master/extra/logo.png" alt="Logo"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;h1&gt;
py_everything&lt;/h1&gt;
&lt;p&gt;A python module containing all the functions and classes from basic to advanced for Python. From simple calculations  to advanced file encryption. &lt;strong&gt;Everything&lt;/strong&gt; is included in this one package.&lt;/p&gt;
&lt;p&gt;It allows you to use all of its functions and classes without having to write huge complex code. It is a very simple and easy to use library.&lt;/p&gt;
&lt;p&gt;Downloads -&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/3de79d81be2a1f83ecc139f76e4130921e71991e390791a9b9955f0a6e3a3816/68747470733a2f2f706570792e746563682f62616467652f70792d65766572797468696e67" alt="Downloads"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/2b5276fd15d37286459bec90c6a1581f42c5311116b65237bcc5c3a15d736014/68747470733a2f2f706570792e746563682f62616467652f70792d65766572797468696e672f6d6f6e7468" alt="Downloads"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/4667e36864415eef162d62cf3eec9a09e7077dfa7230dbe7fe8188efdce89a30/68747470733a2f2f706570792e746563682f62616467652f70792d65766572797468696e672f7765656b" alt="Downloads"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PyPI -&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/b9e52fa97c1a758f996615b8a57a8dabca0e4cb4ee1e780699f3cb766b507881/68747470733a2f2f696d672e736869656c64732e696f2f707970692f696d706c656d656e746174696f6e2f70792d65766572797468696e673f6c6f676f3d707974686f6e266c6f676f436f6c6f723d79656c6c6f77" alt="PyPI - Implementation"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/ad152d315cf2789110a99c65ae96e99a8ac9c47989cebb62c416f6524dd24f6c/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f70792d65766572797468696e673f6c6f676f3d70797069266c6f676f436f6c6f723d677265656e" alt="PyPI - Python Version"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/99ffaad510491fc39ee4b309e113469dfa835c28ae9fb43ad089483ffd69971a/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f70792d65766572797468696e673f6c6f676f3d70797069266c6f676f436f6c6f723d677265656e" alt="PyPI"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/52435af913722fe1b94d89d59d5485a4774203344d211fb588db0a150b9aa631/68747470733a2f2f696d672e736869656c64732e696f2f707970692f776865656c2f70792d65766572797468696e67" alt="PyPI - Wheel"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/c9153c82e1a6cbac52987e591f7477a2f6cdf53181d0b1468473489f8aab05a8/68747470733a2f2f696d672e736869656c64732e696f2f707970692f7374617475732f70792d65766572797468696e67" alt="PyPI - Status"&gt;&lt;/a&gt;
&lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/f8cefe6242545a638076b14b444524a2a6e020c37160ac1e46c088384d7e4b86/68747470733a2f2f696d672e736869656c64732e696f2f707970692f6c2f70792d65766572797468696e673f636f6c6f723d73756363657373" alt="PyPI - License"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Status -&lt;/p&gt;
&lt;p&gt;&lt;a href="https://libraries.io/pypi/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/1714279d5a48bcb03f426c486b5d6df7c03c436af81b633b5ff3cf2a0e175bf0/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f707970692f70792d65766572797468696e67" alt="Libraries.io dependency status for latest release"&gt;&lt;/a&gt;
&lt;a href="https://libraries.io/pypi/py-everything" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/7eb9941c9c0406ad6342ba31185103f64d962d86537800a0ceffc633d9c4a3a4/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f736f7572636572616e6b2f707970692f70792d65766572797468696e67" alt="Libraries.io SourceRank"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything/issues"&gt;&lt;img src="https://camo.githubusercontent.com/ddeb818ea699b0da66649b75102aab7ab059f1eca84e5d28118146a844310361/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f707962617368312f70795f65766572797468696e67" alt="GitHub issues"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything/pulls"&gt;&lt;img src="https://camo.githubusercontent.com/d1645bf9b9700c2f3c7fb26738c474d80a5d4de120df7a502033ab395f52438f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f707962617368312f70795f65766572797468696e67" alt="GitHub pull requests"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything"&gt;&lt;img src="https://camo.githubusercontent.com/7eda024822e8fda63a71353eb67f437f353356f1dc47622806928e1072dcc342/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b732d7374617475732f707962617368312f70795f65766572797468696e672f6d6173746572" alt="GitHub branch checks state"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything"&gt;&lt;img src="https://camo.githubusercontent.com/51d0ebba3c4ecce609708fb0044195127a63c434158c280d42b4cd1f5ce51e95/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f707962617368312f70795f65766572797468696e672f546573742532305061636b616765" alt="GitHub Workflow Status"&gt;&lt;/a&gt;
&lt;a href="https://py-everything.readthedocs.io/en/latest/?badge=latest" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/05cfb8ec6f82d679bc503298a035a75770563e2aa4d91c84afb7ff4b493ddf4b/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f70792d65766572797468696e672f62616467652f3f76657273696f6e3d6c6174657374" alt="Documentation Status"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything"&gt;&lt;img src="https://camo.githubusercontent.com/ffac9d2ec378f0bd78c3592c508c0bc3ed55eb1f8c86780554bf3ca0faf0db49/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707962617368312f70795f65766572797468696e67" alt="Codecov"&gt;&lt;/a&gt;
&lt;a href="https://deepsource.io/gh/pybash1/py_everything/?ref=repository-badge" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/e6e9ae2948d9a254d309e9a380db73df2bfd262cbdaaa0b87de8e7df4e25865f/68747470733a2f2f64656570736f757263652e696f2f67682f707962617368312f70795f65766572797468696e672e7376672f3f6c6162656c3d6163746976652b6973737565732673686f775f7472656e643d74727565" alt="DeepSource"&gt;&lt;/a&gt;
&lt;a href="https://lgtm.com/projects/g/pybash1/py_everything/" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/3a719843f9630e57814915e7255aca30554b7842dd1047dbde3120269393766d/68747470733a2f2f696d672e736869656c64732e696f2f6c67746d2f67726164652f707974686f6e2f6769746875622f707962617368312f70795f65766572797468696e67" alt="LGTM Grade"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;GitHub -&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/pybash1/py_everything/network"&gt;&lt;img src="https://camo.githubusercontent.com/79d8fe438cf38572dd08ea175f3734412932db085883608dfc7aabf6e6863d8e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f707962617368312f70795f65766572797468696e673f7374796c653d736f6369616c" alt="GitHub forks"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything/stargazers"&gt;&lt;img src="https://camo.githubusercontent.com/88c5e4fa4f56f2e6734d6b83632c12802dcddb95e9eadbe0b6b38fc80713e79f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f707962617368312f70795f65766572797468696e673f7374796c653d736f6369616c" alt="GitHub Repo stars"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything"&gt;&lt;img src="https://camo.githubusercontent.com/0de96dccd8e473c1b77026f810c2aabfc4fecfc7d334fddf7686675081aea5b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f707962617368312f70795f65766572797468696e673f7374796c653d736f6369616c" alt="GitHub watchers"&gt;&lt;/a&gt;
&lt;a href="https://github.com/pybash1/py_everything"&gt;&lt;img src="https://camo.githubusercontent.com/5dee5927d7aa7c83679099acc18e3f17ea7706e1cb779107db017633381421ab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f707962617368312f70795f65766572797468696e673f6c6f676f3d676974687562" alt="GitHub repo size"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
Got Queries? Join our Discord!&lt;/h1&gt;
&lt;p&gt;Have questions? Or find docs boring to read through? Then join our discord to get help and chat with the devs!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://discord.gg/DUeaUDxC7t" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/03388edaee11c8e932e97135156b60d381e77ab263dd242b75678793c82d8d12/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f383338333738373034363733333038363833" alt="Discord"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
Installation&lt;/h1&gt;
&lt;p&gt;py_everything is available on &lt;a href="https://pypi.org/project/py-everything" rel="nofollow"&gt;PyPi&lt;/a&gt;, and you can install it as follows:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ python -m pip install py-everything&lt;/code&gt;&lt;/p&gt;
&lt;h1&gt;
Features&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;You can make use of the huge number of functions and classes available to you.&lt;/li&gt;
&lt;li&gt;Has an in-built CLI tool that generates a python package project structure for you. - setupPyGen&lt;/li&gt;
&lt;li&gt;setupPyGen now comes with support for…&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/pybash1/py_everything"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;h1&gt;
  
  
  Goodbye! And see you soon!
&lt;/h1&gt;

&lt;p&gt;Hope you are enjoying this series so far. And stay tuned for Part 4. You are gonna love it. I am going to keep Part 4 a surprise and not spoil it. And as always, byeeeeeee!&lt;/p&gt;

</description>
      <category>python</category>
      <category>web</category>
      <category>url</category>
      <category>uri</category>
    </item>
    <item>
      <title>Where should I put this?😕</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Wed, 28 Apr 2021 11:53:55 +0000</pubDate>
      <link>https://forem.com/pybash/where-should-i-put-this-3dn3</link>
      <guid>https://forem.com/pybash/where-should-i-put-this-3dn3</guid>
      <description>&lt;h1&gt;
  
  
  I need a small help!
&lt;/h1&gt;

&lt;p&gt;Well, just now I wanted to add a new function to my python library - py-everything! But I am not sure in which module I should put it? First I thought, ok, it should go into maths. But then I thought it is not really a mathematical operation, you are checking if a number is even or not? I Will, be happy if you helped!&lt;/p&gt;

&lt;p&gt;The function takes in a number and returns True if it is even, False otherwise.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, should I put it in &lt;code&gt;maths&lt;/code&gt; or &lt;code&gt;__init__&lt;/code&gt; - the base module?
&lt;/h2&gt;

</description>
      <category>help</category>
      <category>developers</category>
      <category>python</category>
      <category>programming</category>
    </item>
    <item>
      <title>Unofficial Python Binaries - What is it?</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Tue, 27 Apr 2021 11:28:05 +0000</pubDate>
      <link>https://forem.com/pybash/unofficial-python-binaries-what-is-it-20a8</link>
      <guid>https://forem.com/pybash/unofficial-python-binaries-what-is-it-20a8</guid>
      <description>&lt;h1&gt;
  
  
  Your Support was amazing! 💣
&lt;/h1&gt;

&lt;p&gt;Thanks for such great support on my previous post! It was awesome and amazing! And since you requested this post, here it is! Keep it up!&lt;/p&gt;

&lt;h1&gt;
  
  
  So, what is Unofficial Python Binaries?!
&lt;/h1&gt;

&lt;p&gt;Well, when I first tried to install PyInstaller, it just failed to build the wheel! I got frustrated! I always searched for a solution - YouTube, Google, SO, whatnot! And then I came across this website - &lt;a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/"&gt;www.lfd.uci.edu&lt;/a&gt;. And then I started searching for PyInstaller. I found it, downloaded it, tried installing using &lt;a href="https://pypi.org/project/pip"&gt;&lt;code&gt;pip&lt;/code&gt;&lt;/a&gt; - and guess what, that worked! And since then I use this website for any python library that fails for some reason!&lt;/p&gt;

&lt;h1&gt;
  
  
  Why, use it, though?
&lt;/h1&gt;

&lt;p&gt;Well, this website has built wheels for almost any package! Not Enough? It has wheels for all versions of python ranging from 2.7 - 3.9, based on which the package supports! Not Enough, still? It also has 32-bit and 64-bit wheels for most packages and versions. And if not happy yet, go check out the website yourself! They also, have all tools and environments used listed there!&lt;/p&gt;

&lt;h1&gt;
  
  
  Just a &lt;strong&gt;NOTE&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt; - The website is a bare-bones HTML file! It does not look pretty at all. It contains thousands of direct download links.&lt;/p&gt;

&lt;h1&gt;
  
  
  And, that's kind of it, actually!
&lt;/h1&gt;

&lt;p&gt;Well, there is nothing more about this I have to say! If you find the website useful let me know by liking the post! Thanks! and byeeeeeeee!&lt;/p&gt;

</description>
      <category>python</category>
      <category>web</category>
      <category>requested</category>
    </item>
    <item>
      <title>Awesome Tools and Technologies I Use as a Developer!</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Sat, 24 Apr 2021 11:06:26 +0000</pubDate>
      <link>https://forem.com/pybash/awesome-tools-and-technologies-i-use-as-a-developer-1cn</link>
      <guid>https://forem.com/pybash/awesome-tools-and-technologies-i-use-as-a-developer-1cn</guid>
      <description>&lt;h1&gt;
  
  
  Hey, There!👋
&lt;/h1&gt;

&lt;p&gt;Welcome, back to another post of &lt;a href="https://dev.to/pybash/series/12145"&gt;Top N&lt;/a&gt;! It's a series where I post Top 10, Best 5, etc. kind of things! And, well, today's post is about a few awesome tools I actually use as a developer!&lt;/p&gt;

&lt;h1&gt;
  
  
  Common Tools(Irrespective of Language)
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://getsharex.com"&gt;&lt;strong&gt;ShareX&lt;/strong&gt;&lt;/a&gt; - For screenshots, screen recs., etc. Software. Open Source. Cross-platform.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://photopea.com"&gt;&lt;strong&gt;Photopea&lt;/strong&gt;&lt;/a&gt; - For a photoshop experience online. Website. Free with Ads.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://inloop.github.io/sqlite-viewer/"&gt;&lt;strong&gt;SQLite Viewer&lt;/strong&gt;&lt;/a&gt; - Online .db, .sqlite3, etc. File Viewer. Open Source. Website.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://sqlitebrowser.org/"&gt;&lt;strong&gt;DB Browser for SQLite&lt;/strong&gt;&lt;/a&gt; - Software for viewing .db, .sqlite3, etc. files. Software.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://devdocs.io"&gt;&lt;strong&gt;DevDocs&lt;/strong&gt;&lt;/a&gt; - To view documentation for any programming language, technology, framework, etc. online. Website. Can be Installed as an app.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://shields.io"&gt;&lt;strong&gt;Shields.io&lt;/strong&gt;&lt;/a&gt; - For generating badges for GitHub. Open Source. Website.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Language Specific
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Python
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://www.kite.com/copilot/"&gt;&lt;strong&gt;Kite Copilot&lt;/strong&gt;&lt;/a&gt; - For Viewing Documentation while you code. Software.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://anaconda.com"&gt;&lt;strong&gt;Anaconda&lt;/strong&gt;&lt;/a&gt; - As Implementation. Software.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.lfd.uci.edu/~gohlke/pythonlibs"&gt;&lt;strong&gt;Unofficial Python Binaries&lt;/strong&gt;&lt;/a&gt; - For installing packages that are failing through &lt;a href="https://pypi.org/project/pip"&gt;pip&lt;/a&gt;. Website.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://pypi.org/project/PyQt5/"&gt;&lt;strong&gt;PyQt5&lt;/strong&gt;&lt;/a&gt; - For GUI development. Library.&lt;/li&gt;
&lt;li&gt;[&lt;strong&gt;Flask&lt;/strong&gt;]h(ttps://flask.palletsprojects.com/en/1.1.x/) - For Easy and Simple back-ends. Library. Has Plugin Support.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://flask-sqlalchemy.palletsprojects.com/en/2.x/"&gt;&lt;strong&gt;Flask-SQLAlchemy&lt;/strong&gt;&lt;/a&gt; - For Database Management in Flask. Library.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.djangoproject.com/"&gt;&lt;strong&gt;Django&lt;/strong&gt;&lt;/a&gt; - For complex back-ends. With more functionality. Library.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.python-requests.org/en/master/"&gt;&lt;strong&gt;Requests&lt;/strong&gt;&lt;/a&gt; - For dealing with web requests and responses. Library.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.sphinx-doc.org/en/master/"&gt;&lt;strong&gt;Sphinx&lt;/strong&gt;&lt;/a&gt; - For Generating Documentation. Library.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  HTML, CSS, JS - Static or Front-end
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://getbootstrap.com/"&gt;&lt;strong&gt;Bootstrap&lt;/strong&gt;&lt;/a&gt; - To quickly boot up a simple front-end. UI Framework. Open Source.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://keyframes.app"&gt;&lt;strong&gt;keyframes.app&lt;/strong&gt;&lt;/a&gt; - For quick CSS animations. Website. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://undraw.co"&gt;&lt;strong&gt;UnDraw&lt;/strong&gt;&lt;/a&gt; - For SVGs at hand. Website. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://fonts.google.com/icons?selected=Material+Icons"&gt;&lt;strong&gt;Material IO&lt;/strong&gt;&lt;/a&gt; - For quick and simple icons. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://fontflipper.com"&gt;&lt;strong&gt;FontFlipper&lt;/strong&gt;&lt;/a&gt; - To quickly get a set of custom Fonts. Website. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://unsplash.com"&gt;&lt;strong&gt;Unsplash&lt;/strong&gt;&lt;/a&gt; - For High-Quality Stock Photo API. Website. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://pexels.com"&gt;&lt;strong&gt;Pexels&lt;/strong&gt;&lt;/a&gt; - For downloading High-Quality Stock Photos. Website. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://jsfiddle.net/"&gt;&lt;strong&gt;JSFiddle&lt;/strong&gt;&lt;/a&gt; - Client-Side Code Sandbox. Website. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://netlify.com/"&gt;&lt;strong&gt;Netlify&lt;/strong&gt;&lt;/a&gt; - For Deploying Static Websites. Website. Free and Paid.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Back-end
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://nodejs.org/en/"&gt;&lt;strong&gt;NodeJS&lt;/strong&gt;&lt;/a&gt; - For JavaScript Back-Ends. Uses Chrome's V8 Engine. Free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://expressjs.com/"&gt;&lt;strong&gt;Express(JS)&lt;/strong&gt;&lt;/a&gt; - For easy routing and server management. Package.&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://heroku.com/"&gt;&lt;strong&gt;Heroku&lt;/strong&gt;&lt;/a&gt; - For Deploying Back-ends. PaaS.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://rubyonrails.org/"&gt;&lt;strong&gt;Ruby on Rails&lt;/strong&gt;&lt;/a&gt; - For server-side programming with Ruby. Web-application Framework.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.mongodb.com/"&gt;&lt;strong&gt;MongoDB&lt;/strong&gt;&lt;/a&gt; - For Database management in JavaScript and Node.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Browser Extensions
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp"&gt;&lt;strong&gt;ColorZilla&lt;/strong&gt;&lt;/a&gt; - For Instant Color Picker from the screen.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg"&gt;&lt;strong&gt;Wappalyzer&lt;/strong&gt;&lt;/a&gt; - For Seeing the tech stack of a website.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/open-in-vscode/pfakkjlkpobjeghlgipljkjmbgcanpji"&gt;&lt;strong&gt;Open in VS Code&lt;/strong&gt;&lt;/a&gt; - For opening GitHub files directly inside VS Code.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/cssviewer/ggfgijbpiheegefliciemofobhmofgce"&gt;&lt;strong&gt;CSSViewer&lt;/strong&gt;&lt;/a&gt; - For viewing and inspecting CSS on a page.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/grammarly-for-chrome/kbfnbcaeplbcioakkpcpgfkobkghlhen"&gt;&lt;strong&gt;Grammarly&lt;/strong&gt;&lt;/a&gt; - For writing better GitHub comments and Dev. Blogs.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/momentum/laookkfknpbbblfpciffpaejjkokdgca"&gt;&lt;strong&gt;Momentum&lt;/strong&gt;&lt;/a&gt; - For a Better New Tab experience.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/take-webpage-screenshots/mcbpblocgmgfnpjjppndjkmgjaogfceg"&gt;&lt;strong&gt;FireShot&lt;/strong&gt;&lt;/a&gt; - For Taking Screenshots.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  That's The End!
&lt;/h1&gt;

&lt;p&gt;Well, I talked about a lot of tools, today! And I use these. If you want I could publish a slightly more detailed post on &lt;strong&gt;Unofficial Python Binaries&lt;/strong&gt;. Comment below! But anyway, good byeeeeeeee for today!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>python</category>
      <category>vscode</category>
    </item>
    <item>
      <title>Quick Post - I found the meaning... LOL!</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Thu, 22 Apr 2021 11:16:48 +0000</pubDate>
      <link>https://forem.com/pybash/quick-post-i-found-the-meaning-lol-1fnj</link>
      <guid>https://forem.com/pybash/quick-post-i-found-the-meaning-lol-1fnj</guid>
      <description>&lt;h4&gt;
  
  
  Meaning of what? - This is the question in your mind right now, correct?
&lt;/h4&gt;

&lt;p&gt;Well, I know why they named the language Python and not anything else! So, let's start with some animals - &lt;strong&gt;Python&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You know, like when a &lt;strong&gt;Python&lt;/strong&gt; has caught you and is crawling around you, there is no way you can escape, right?!&lt;/p&gt;

&lt;p&gt;Similarly, once you start using &lt;strong&gt;Python&lt;/strong&gt;, there is no way you can escape and use another language!!! 😂😂&lt;/p&gt;

&lt;p&gt;And, byeee!!!&lt;/p&gt;

</description>
      <category>python</category>
      <category>jokes</category>
      <category>programming</category>
    </item>
    <item>
      <title>Making a Custom Protocol Handler and URI Scheme! - Part 2</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Sat, 17 Apr 2021 12:13:34 +0000</pubDate>
      <link>https://forem.com/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-2-4b51</link>
      <guid>https://forem.com/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-2-4b51</guid>
      <description>&lt;h1&gt;
  
  
  Welcome Back,
&lt;/h1&gt;

&lt;p&gt;To this miniseries! In today's post, I will be showing you how to actually execute the script! So, let's get started! BTW, if you don't know what I am talking about then go read &lt;a href="https://dev.to/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-1-37mh"&gt;Part 1&lt;/a&gt; first to understand!&lt;/p&gt;

&lt;h1&gt;
  
  
  What are we making today?
&lt;/h1&gt;

&lt;p&gt;Well, I thought you would ask. Today, just like I said we will be actually executing the code from the file! Excited?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr5c180blm70roiv8m28h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr5c180blm70roiv8m28h.png" alt="a-small-explanation"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  But How?
&lt;/h1&gt;

&lt;p&gt;Basically, we will be changing or modifying the Handler's &lt;code&gt;python_open&lt;/code&gt; function!&lt;/p&gt;

&lt;h2&gt;
  
  
  New Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;sys(Included in the standard library)&lt;/li&gt;
&lt;li&gt;subprocess(Included in the standard library)&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Let's Start
&lt;/h1&gt;

&lt;p&gt;So, we are going to change the Handler's &lt;code&gt;python_open&lt;/code&gt; function such that, it executes the script passed as an argument!&lt;/p&gt;

&lt;p&gt;First, change&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;urlreq&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlopen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;pytohn://something/random/file.txt&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;to&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;urlArg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;argv&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;urlreq&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlopen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;urlArg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;this, and don't forget to add &lt;code&gt;import sys&lt;/code&gt; at the top!&lt;/p&gt;

&lt;p&gt;Now, our handler will read the URL passed as an argument instead of a hardcoded input! YAY!&lt;/p&gt;

&lt;p&gt;Next, we need to edit the Handler - &lt;br&gt;
The previous code looked like this -&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;PyProtoHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;urlreq&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BaseHandler&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;python_open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;fullUrl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_full_url&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="n"&gt;filePath&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;""&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fullUrl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;://&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:])&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;filePath&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The new code will look like this -&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;PyProtoHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;urlreq&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BaseHandler&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;python_open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;fullUrl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_full_url&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="n"&gt;filePath&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;""&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fullUrl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;://&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:])&lt;/span&gt;
        &lt;span class="n"&gt;parsed_cmd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;python {}&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;filePath&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;subprocess&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;parsed_cmd&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;So, what did we change here? We created a new variable named &lt;code&gt;parsed_cmd&lt;/code&gt;, which is a string containing a command that is executed by &lt;code&gt;subprocess&lt;/code&gt; in the next line. And the result of the execution is printed automatically.&lt;/p&gt;

&lt;p&gt;And, we are done with today's code!&lt;/p&gt;
&lt;h1&gt;
  
  
  Lastly, Testing it!
&lt;/h1&gt;

&lt;p&gt;Now we need to test our code!&lt;/p&gt;

&lt;p&gt;We need to open our terminal(cmd or bash or whatever), locate to the directory where our code is located, run the file! So, let's do it! But remember to add a file path after the command! (depending upon your system.)&lt;/p&gt;

&lt;p&gt;demo.py - &lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;python pyProto.py D:/Programming/Python/demo.py
If this printed &lt;span class="k"&gt;then &lt;/span&gt;the code works!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  The End?
&lt;/h1&gt;

&lt;p&gt;This was a short article since we just modified few parts of the code! But don't think it's over yet! Part 3 is coming soon! Hope to see you there! Also, I have changed the name of the file from &lt;code&gt;protoHandler.py&lt;/code&gt; to &lt;code&gt;pyProto.py&lt;/code&gt;. Also, there's a bonus for you, I have made a repository on my GitHub which contains code from all of my &lt;a href="https://dev.to"&gt;dev.to&lt;/a&gt; Posts, including this one! Here is the link - &lt;a href="https://github.com/pybash1/devtoCode" rel="noopener noreferrer"&gt;pybash1/devtoCode&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And, Bye!!&lt;/p&gt;

</description>
      <category>uri</category>
      <category>url</category>
      <category>python</category>
      <category>web</category>
    </item>
    <item>
      <title>My Visual Studio Code Setup!</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Sat, 10 Apr 2021 12:30:48 +0000</pubDate>
      <link>https://forem.com/pybash/my-visual-studio-code-setup-32po</link>
      <guid>https://forem.com/pybash/my-visual-studio-code-setup-32po</guid>
      <description>&lt;h1&gt;
  
  
  Why &lt;a href="https://code.visualstudio.com" rel="noopener noreferrer"&gt;Visual Studio Code&lt;/a&gt;?
&lt;/h1&gt;

&lt;p&gt;So, this post has an awkward start, but please don't mind that. So, why did I choose &lt;a href="https://code.visualstudio.com" rel="noopener noreferrer"&gt;VS Code&lt;/a&gt; after all? Well, it's a long story - First when I started, I used to use different IDEs for different languages, like &lt;a href="https://www.jetbrains.com/idea/" rel="noopener noreferrer"&gt;IntelliJ&lt;/a&gt; for Java, &lt;a href="https://www.jetbrains.com/pycharm/" rel="noopener noreferrer"&gt;PyCharm&lt;/a&gt; for Python, etc. And, they were great but for every language, a separate IDE just didn't seem right to me! So I moved to &lt;a href="https://www.sublimetext.com" rel="noopener noreferrer"&gt;Sublime Text&lt;/a&gt; and it was great, I used it for many days, until one day when suddenly my &lt;a href="https://python.org/" rel="noopener noreferrer"&gt;Python&lt;/a&gt; and &lt;a href="https://www.sublimetext.com" rel="noopener noreferrer"&gt;Sublime&lt;/a&gt; broke! So, I had to change. I later found that my &lt;code&gt;Tcl/Tk&lt;/code&gt;(basically Tkinter) module had &lt;strong&gt;broken&lt;/strong&gt;! So, I switched over to &lt;a href="https://atom.io" rel="noopener noreferrer"&gt;Atom&lt;/a&gt;! And I had just one problem, It was not exactly an IDE it was just a Code Editor! And after all this, I came across &lt;a href="https://code.visualstudio.com" rel="noopener noreferrer"&gt;VS Code&lt;/a&gt; - The perfect IDE/Code editor for me! And now I have been using it for more than &lt;strong&gt;1 and 1/2 years&lt;/strong&gt;!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;NOTE: Do check all of these amazing editors and IDEs out! All of them deserve equal respect!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  So, my setup?
&lt;/h1&gt;

&lt;p&gt;Yeah, so now the actual fun stuff, my setup!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1t2p6oz2dm3cmovrle91.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1t2p6oz2dm3cmovrle91.png" alt="my-setup"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Themes and Customisation
&lt;/h1&gt;

&lt;h2&gt;
  
  
  My Theme
&lt;/h2&gt;

&lt;p&gt;Well, my theme also has a little story - I  used to use &lt;a href="https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme" rel="noopener noreferrer"&gt;GitHub Dark&lt;/a&gt; as my theme, but recently I have switched over to &lt;a href="https://marketplace.visualstudio.com/items?itemName=kohlbachjan.the-best-theme" rel="noopener noreferrer"&gt;The Best Theme&lt;/a&gt; and I do not regret doing that! I love its colors and color scheme - they are so vibrant! It's just awesome although it doesn't have many downloads! (Only 8K)!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkohlbachjan.gallerycdn.vsassets.io%2Fextensions%2Fkohlbachjan%2Fthe-best-theme%2F2.0.5%2F1614456574849%2FMicrosoft.VisualStudio.Services.Icons.Default" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkohlbachjan.gallerycdn.vsassets.io%2Fextensions%2Fkohlbachjan%2Fthe-best-theme%2F2.0.5%2F1614456574849%2FMicrosoft.VisualStudio.Services.Icons.Default" alt="the-best-theme"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Icon Packs
&lt;/h2&gt;

&lt;p&gt;I won't go into much detail with this! I'll just list them!&lt;/p&gt;

&lt;p&gt;File Icon Theme - &lt;a href="https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme" rel="noopener noreferrer"&gt;Material Icon Theme&lt;/a&gt;&lt;br&gt;
Product Icon Theme - &lt;a href="https://marketplace.visualstudio.com/items?itemName=antfu.icons-carbon" rel="noopener noreferrer"&gt;Carbon Product Icons&lt;/a&gt;&lt;br&gt;
Previously Used Prod. Icon Theme - &lt;a href="https://marketplace.visualstudio.com/items?itemName=miguelsolorio.fluent-icons" rel="noopener noreferrer"&gt;Fluent Icons&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fantfu.gallerycdn.vsassets.io%2Fextensions%2Fantfu%2Ficons-carbon%2F0.2.2%2F1615284100314%2FMicrosoft.VisualStudio.Services.Icons.Default" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fantfu.gallerycdn.vsassets.io%2Fextensions%2Fantfu%2Ficons-carbon%2F0.2.2%2F1615284100314%2FMicrosoft.VisualStudio.Services.Icons.Default" alt="carbon-icons"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Other Customization
&lt;/h2&gt;

&lt;p&gt;My Font - &lt;a href="https://github.com/tonsky/FiraCode" rel="noopener noreferrer"&gt;Fira Code&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/tonsky/FiraCode/releases/download/5.2/Fira_Code_v5.2.zip" rel="noopener noreferrer"&gt;Direct Download Link&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Settings! - I don't even wanna talk about this madness!
&lt;/h1&gt;

&lt;p&gt;Just poking in - I really love AutoSave!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"python.analysis.autoImportCompletions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"python.analysis.completeFunctionParens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Terminal&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"terminal.integrated.profiles.windows"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Git Bash"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"E:&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;Git&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;bin&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;bash.exe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"overrideName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Command Prompt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"C:&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;Windows&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;system32&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;cmd.exe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"overrideName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Cygwin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"E:&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;Cygwin&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;bin&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;bash.exe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"--login"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"overrideName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"terminal.integrated.shell.windows"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"E:&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;Git&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;bin&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;bash.exe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"terminal.integrated.cursorStyle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"line"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Files&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"files.autoSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"afterDelay"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"files.autoSaveDelay"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"files.autoGuessEncoding"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"files.insertFinalNewline"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"files.associations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"*.txt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"plaintext"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Editor&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.suggestSelection"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"first"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.formatOnSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.formatOnType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.fontLigatures"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.fontFamily"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;/*Fira&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Code&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;added&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;manually*/&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"'Fira Code', 'Courier New', monospace"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.defaultFormatter"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"esbenp.prettier-vscode"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"editor.definitionLinkOpensInPeek"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Editor&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;(Format&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Specific)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"[javascript]"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.defaultFormatter"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"esbenp.prettier-vscode"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"[json]"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.defaultFormatter"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"esbenp.prettier-vscode"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Workbench&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"workbench.productIconTheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"icons-carbon"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"workbench.colorTheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"The Best Theme"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"workbench.iconTheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"material-icon-theme"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"workbench.editorAssociations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"viewType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"jupyter.notebook.ipynb"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"filenamePattern"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"*.ipynb"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Other&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;VS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Code&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Stuff&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"explorer.incrementalNaming"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"smart"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"debug.node.autoAttach"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"on"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"window.zoomLevel"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"python.defaultInterpreterPath"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"C:&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;Users&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;{USERNAME}&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;anaconda3&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="s2"&gt;python.exe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="err"&gt;rd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Party&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Extensions&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Pylance&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"python.languageServer"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Pylance"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Live&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Server&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"liveServer.settings.donotShowInfoMsg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"liveServer.settings.donotVerifyTags"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Visual&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Studio&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;IntelliCode&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"vsintellicode.modify.editor.suggestSelection"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"automaticallyOverrodeDefaultValue"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Kite&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"kite.showWelcomeNotificationOnStartup"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;CodeRunner&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"code-runner.runInTerminal"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;GitHub&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"githubPullRequests.remotes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"origin_new"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"origin"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"githubPullRequests.queries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Open PRs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"is:pr is:open"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Closed PRs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"is:pr is:closed"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"githubIssues.queries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"My Open Issues"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"is:open author:@me"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"My Closed Issues"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"is:closed author:@me"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"py_everything Open Issues"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"author:@me state:open repo:Play4Tutorials/py_everything sort:created-desc"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"py_everything Closed Issues"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"author:@me state:closed repo:Play4Tutorials/py_everything sort:created-desc"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;TabNine&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"tabnine.experimentalAutoImports"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&gt;/*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;TODO&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Highlight&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;*/&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"todohighlight.keywords"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"FIX:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"color"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgb(255, 0, 0)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"backgroundColor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgba(255, 0, 0, 0.2)"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"TIP:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"color"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgb(0, 255, 0)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"backgroundColor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgba(0, 255, 0, 0.2)"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"TODO:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"color"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgb(255, 0, 0)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"backgroundColor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgba(0, 0, 225, 0.5)"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"NOTE:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"color"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgb(255, 255, 0)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"backgroundColor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rgba(255, 255, 0, 0.2)"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Extensions
&lt;/h1&gt;

&lt;p&gt;Well, I have a lot of extensions, so I am going to give the ones here that I actually use!&lt;/p&gt;

&lt;p&gt;My Extensions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag" rel="noopener noreferrer"&gt;Auto Close Tag&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag" rel="noopener noreferrer"&gt;Auto Rename Tag&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks" rel="noopener noreferrer"&gt;Bookmarks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2" rel="noopener noreferrer"&gt;Bracket Pair Colorizer 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools" rel="noopener noreferrer"&gt;C/C++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp" rel="noopener noreferrer"&gt;C#&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case" rel="noopener noreferrer"&gt;change-case&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner" rel="noopener noreferrer"&gt;Code Runner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens" rel="noopener noreferrer"&gt;Error Lens&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint" rel="noopener noreferrer"&gt;ESLint&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph" rel="noopener noreferrer"&gt;GitGraph&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github" rel="noopener noreferrer"&gt;GitHub Pull Requests and Issues&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens" rel="noopener noreferrer"&gt;GitLens - git supercharged&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow" rel="noopener noreferrer"&gt;indent-rainbow&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=WyattFerguson.jinja2-snippet-kit" rel="noopener noreferrer"&gt;Jinja2 Snippet Kit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter" rel="noopener noreferrer"&gt;Jupyter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=kiteco.kite" rel="noopener noreferrer"&gt;Kite Autocomplete&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass" rel="noopener noreferrer"&gt;Live Sass Compiler&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer" rel="noopener noreferrer"&gt;Live Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare" rel="noopener noreferrer"&gt;Live Share&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one" rel="noopener noreferrer"&gt;Markdown All in One&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=techer.open-in-browser" rel="noopener noreferrer"&gt;open in browser&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode" rel="noopener noreferrer"&gt;Prettier - Code Formatter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance" rel="noopener noreferrer"&gt;Pylance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=ms-python.python" rel="noopener noreferrer"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=KevinRose.vsc-python-indent" rel="noopener noreferrer"&gt;Python Indent&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=dongli.python-preview" rel="noopener noreferrer"&gt;Python Preview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=frhtylcn.pythonsnippets" rel="noopener noreferrer"&gt;python snippets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter" rel="noopener noreferrer"&gt;Python Test Explorer UI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=tht13.rst-vscode" rel="noopener noreferrer"&gt;RST Preview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=burkeholland.simple-react-snippets" rel="noopener noreferrer"&gt;Simple React Snippets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode" rel="noopener noreferrer"&gt;TabNine Autocomplete&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer" rel="noopener noreferrer"&gt;Test Explorer UI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight" rel="noopener noreferrer"&gt;TODO Highlight&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode" rel="noopener noreferrer"&gt;Visual Studio IntelliCode&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Conclusion?
&lt;/h1&gt;

&lt;p&gt;Well, so it ended at last! I would just like to say that - &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Everyone has different opinions. And I do not want to say other editors are bad or VS Code is better - it's just that I like VS Code more! You might like Atom more or Sublime! This varies from person to person - and I completely agree with that!&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>vscode</category>
      <category>extension</category>
      <category>theme</category>
      <category>editor</category>
    </item>
    <item>
      <title>A Small Note!</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Fri, 09 Apr 2021 10:35:49 +0000</pubDate>
      <link>https://forem.com/pybash/a-small-note-4blp</link>
      <guid>https://forem.com/pybash/a-small-note-4blp</guid>
      <description>&lt;h2&gt;
  
  
  Hello, There
&lt;/h2&gt;

&lt;p&gt;If you visited my blog, you will notice that all of my posts are published on April 9th! It's because I imported them, today from Hashnode! So, don't get confused please!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Making A Custom Protocol Handler and URI Scheme! - Part 1</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Fri, 09 Apr 2021 10:18:00 +0000</pubDate>
      <link>https://forem.com/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-1-37mh</link>
      <guid>https://forem.com/pybash/making-a-custom-protocol-handler-and-uri-scheme-part-1-37mh</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In this miniseries, I will be telling you, how to make a custom URI scheme or URI and a Protocol Handler for that URI. An example of one such URI is &lt;code&gt;vscode:///&lt;/code&gt;! You might have seen this when you try to sign in to GitHub using VS Code, right? But we are not going to be making exactly this, slightly different! The Finished Product is given below!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Finished Product?
&lt;/h2&gt;

&lt;p&gt;Well, so what are we actually, going to make? Well, we will be making a protocol &lt;code&gt;python://&lt;/code&gt; that will enable us to execute any python script on our computer right from our browser! Isn't that cool? And maybe in the future, we could make it so that it could run any python file on the internet! A video of the finished product is given below! Sorry for the bad quality, I had to reduce it for Hashnode to fit inside the article!&lt;/p&gt;

&lt;h2&gt;
  
  
  So, what are we making today?
&lt;/h2&gt;

&lt;p&gt;Today we are going to be making the basic handler in Python using urllib! I will be using Python 3, but this can easily be translated into Python 2 using the urllib2 module! So, let's get started!&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;urllib module - included in the standard library&lt;/li&gt;
&lt;li&gt;StringIO - included in the standard library&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Actual Code!
&lt;/h2&gt;

&lt;p&gt;Well, in this post we will just be making the basic handler, the script execution will be in the next post!&lt;/p&gt;

&lt;h3&gt;
  
  
  Imports
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import urllib.request as urlreq
from io import StringIO as strio

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We need a urllib.request for parsing the protocol address and creating the handler! We will not be needing StringIO, from the next post, it's just for this post!&lt;/p&gt;

&lt;h3&gt;
  
  
  The Handler
&lt;/h3&gt;

&lt;p&gt;Alright, so the imports are done, now let's move on to the actual handler! This will use some very basic Object-Oriented Programming(OOP), so even if you are not familiar with it there will be no problem, but if you are familiar, it will help!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class PyProtoHandler(urlreq.BaseHandler):
    def python_open(self, req):
        fullUrl = req.get_full_url()
        return strio(fileUrl)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So, in the above code, we made a class named &lt;code&gt;PyProtoHandler&lt;/code&gt; which inherits from &lt;code&gt;urllib.request.BaseHandler&lt;/code&gt;. &lt;strong&gt;Inside this class we define a new function named &lt;code&gt;python_open&lt;/code&gt;, which takes in 1 parameter &lt;code&gt;req&lt;/code&gt;, but here comes the crucial bit, This function has to be named in a specific way, i.e., &lt;code&gt;{the protocol name}_open&lt;/code&gt;. If you for example define the function as &lt;code&gt;myproto_open&lt;/code&gt; and your actual protocol is &lt;code&gt;protomy&lt;/code&gt;, then it is just going to give an error, so keep this in mind!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then, we store the full URL returned by &lt;code&gt;req.get_full_url()&lt;/code&gt; in fullUrl. And finally return &lt;code&gt;fullUrl&lt;/code&gt; wrapped in StringIO.&lt;/p&gt;

&lt;h3&gt;
  
  
  Installing the Handler
&lt;/h3&gt;

&lt;p&gt;Alright, so the handler is made, let's install and build it. This step is really simple, we just need to call 2 built-in functions of urllib!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;opener = urlreq.build_opener(PyProtoHandler())
urlreq.install_opener(opener)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So, we build the opener using &lt;code&gt;urlreq.build_opener(PyProtoHandler)&lt;/code&gt; and store the returned result or output in the variable &lt;code&gt;opener&lt;/code&gt;. Next, we install the &lt;code&gt;opener&lt;/code&gt; using &lt;code&gt;urlreq.install_opener(opener)&lt;/code&gt;. And we are done! viola! So, let's test it!&lt;/p&gt;

&lt;h3&gt;
  
  
  Testing the Handler
&lt;/h3&gt;

&lt;p&gt;We will be using another line of code with this file to test it!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(urlreq.urlopen("python://something/random/file.txt").read())

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now to test, we have to run the file from our Terminal or Bash or Command Prompt, whatever you wish! You might have to use &lt;code&gt;python&lt;/code&gt; or &lt;code&gt;python3&lt;/code&gt; depending on your system.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ python protoHandler.py
python://something/random/file.txt

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Running the file once again with changes to the code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(urlreq.urlopen("python://hashnode/non-existing/dir/non/existing/file.py").read())

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And, output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ python protoHandler.py
python://hashnode/non-existing/dir/non/existing/file.py

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;del&gt;The End&lt;/del&gt; Get the file path!?
&lt;/h2&gt;

&lt;p&gt;I didn't think I would include this here, but finally, I did! so, enjoy, everyone!&lt;/p&gt;

&lt;p&gt;Well, Now that, we can get the whole protocol, we can now extract the path to the file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class PyProtoHandler(urlreq.BaseHandler):
    def python_open(self, req):
        fullUrl = req.get_full_url()
        filePath = "".join(fullUrl.split("://")[1:])
        return filePath

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So, as you can see, I have just added a line to the &lt;code&gt;python_open&lt;/code&gt; function. Which splits the protocol into a list, where, the 1st element is the protocol("python") and the second element is the file path. And we wrap that up in &lt;code&gt;"".join()&lt;/code&gt; to convert the path into a string and join all the elements from and after element at the index 1 with "" as the separator. Even though there should be one element at index 1 if a correct path is entered.&lt;/p&gt;

&lt;h2&gt;
  
  
  Finally, The End
&lt;/h2&gt;

&lt;p&gt;I should not refer to this as the end, since part 2 is still to come! Anyway, goodbye for today, and subscribe to the mailing list to get notified when I post part 2! Good byeeeeeeee!&lt;/p&gt;

</description>
      <category>python</category>
      <category>pythonprojects</category>
      <category>projects</category>
    </item>
    <item>
      <title>Quick Post: How to go up/down a directory structure using Python!</title>
      <dc:creator>PyBash</dc:creator>
      <pubDate>Mon, 05 Apr 2021 12:40:49 +0000</pubDate>
      <link>https://forem.com/pybash/quick-post-how-to-go-up-down-a-directory-structure-using-python-571p</link>
      <guid>https://forem.com/pybash/quick-post-how-to-go-up-down-a-directory-structure-using-python-571p</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Introducing Quick Posts - Small posts containing useful tips and tricks! This is a series! These posts will not have a Subtitle or Cover photo&lt;/p&gt;

&lt;h2&gt;
  
  
  Content
&lt;/h2&gt;

&lt;p&gt;So suppose, you're in a directory &lt;code&gt;C:\Windows\system32&lt;/code&gt; and want to go to &lt;code&gt;C:\Windows&lt;/code&gt;, so how do you do that? Well, you can use &lt;code&gt;os.chdir()&lt;/code&gt;, yeah! But how? Code below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import os

print(os.getcwd())
os.chdir("..")
print("\n", os.getcwd())

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output Below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Windows\system32&amp;gt; python quick-post-1.py
C:\Windows\system32

C:\Windows

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  End
&lt;/h2&gt;

&lt;p&gt;Thanks, for reading Quick Posts! More coming soooooooon! Stay Alert!&lt;/p&gt;

</description>
      <category>questions</category>
      <category>python</category>
      <category>files</category>
      <category>os</category>
    </item>
  </channel>
</rss>
