<?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>DEV Community: Programmmer</title>
    <description>The latest articles on DEV Community by Programmmer (@iamprogrammmer).</description>
    <link>https://dev.to/iamprogrammmer</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%2F423276%2F6526f120-84ab-48de-840a-38cabc6e8974.png</url>
      <title>DEV Community: Programmmer</title>
      <link>https://dev.to/iamprogrammmer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iamprogrammmer"/>
    <language>en</language>
    <item>
      <title>Command Prompt: Basic Commands You Should Know (CMD)</title>
      <dc:creator>Programmmer</dc:creator>
      <pubDate>Mon, 31 Aug 2020 21:34:29 +0000</pubDate>
      <link>https://dev.to/iamprogrammmer/command-prompt-basic-commands-you-should-know-cmd-4aj</link>
      <guid>https://dev.to/iamprogrammmer/command-prompt-basic-commands-you-should-know-cmd-4aj</guid>
      <description>&lt;p&gt;&lt;strong&gt;A quick guide to basic cmd commands.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;NOTE: All command shared in this tutorial applies to Windows 10, Windows 8.1 and Windows 7.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;01. Lists Installed Drivers&lt;/strong&gt; (driverquery)&lt;br&gt;
Drivers are very important in your PC. Missing a important driver can hamper your work. Use &lt;code&gt;driverquery&lt;/code&gt; command to get a full list of installed drivers in your pc. It’ll help you to find the missing driver.&lt;br&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%2Fi%2Ftjpr1x4fgqep3z7l93sf.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%2Fi%2Ftjpr1x4fgqep3z7l93sf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Use &lt;code&gt;driverquery -v&lt;/code&gt; to obtain more information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;02. Networking Information&lt;/strong&gt; (ipconfig)&lt;br&gt;
&lt;code&gt;ipconfig&lt;/code&gt; will provide you your ip address along with your local network.&lt;br&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%2Fi%2Fb25ywxeg8i84nq2gmmj8.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%2Fi%2Fb25ywxeg8i84nq2gmmj8.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;03. List Hardware Information&lt;/strong&gt; (systeminfo)&lt;br&gt;
Use &lt;code&gt;systeminfo&lt;/code&gt; to know very basic information about your pc’s hardware, like – motherboard, processor &amp;amp; ram.&lt;br&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%2Fi%2Fxbaprl2kz64ai0z5a9hw.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%2Fi%2Fxbaprl2kz64ai0z5a9hw.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;04. Check if Server is Reachable&lt;/strong&gt; (ping)&lt;br&gt;
The &lt;code&gt;ping&lt;/code&gt; command sends packets of data to a specific IP address (or domain) on a network and then lets you know how long it took to transmit that data and get a response.&lt;br&gt;
If you get the response properly then the connection of the device is working properly if not a particular server or your online connection is blocking communication between your computer and another.&lt;br&gt;
&lt;code&gt;ping &amp;lt;ip or domain&amp;gt;&lt;/code&gt;&lt;br&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%2Fi%2Fqf4sw2kr47feh93jgdta.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%2Fi%2Fqf4sw2kr47feh93jgdta.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;05. Scan and Repare System Files&lt;/strong&gt; (sfc /scannow)&lt;br&gt;
&lt;code&gt;sfc /scannow&lt;/code&gt; will scan and repare windown system files. But you must be run the console as an administrator.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;06. List Currently Running Tusk&lt;/strong&gt; (tasklist)&lt;br&gt;
Use &lt;code&gt;tasklist&lt;/code&gt; to get currant list of all tasks running on your pc.&lt;br&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%2Fi%2F516ygeqkylizl3ufg0eq.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%2Fi%2F516ygeqkylizl3ufg0eq.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Use &lt;code&gt;tasklist -v&lt;/code&gt; to obtain more detail of all tasks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;07. Change the Directory / Folder&lt;/strong&gt; (cd)&lt;br&gt;
Use &lt;code&gt;cd\&lt;/code&gt; to go to the top of the directory tree.&lt;br&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%2Fi%2Fr9k702zom2ayt899r2pr.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%2Fi%2Fr9k702zom2ayt899r2pr.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
If you need to go to a specific folder from this drive run the command &lt;code&gt;CD Folder&lt;/code&gt;. The subfolders must be separated by a backslash character: &lt;code&gt;\&lt;/code&gt;.&lt;br&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%2Fi%2Fgreiwlwgblsqj48yk7yj.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%2Fi%2Fgreiwlwgblsqj48yk7yj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Use the &lt;code&gt;cd..&lt;/code&gt; command to go one folder up.&lt;br&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%2Fi%2Fkv2e6x224v8n84ui3nos.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%2Fi%2Fkv2e6x224v8n84ui3nos.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;08. Change the Drive&lt;/strong&gt;&lt;br&gt;
If you wanted to change the drive from “C:” to “D:”, type &lt;code&gt;d:&lt;/code&gt; and then press Enter.&lt;br&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%2Fi%2Fg4uesslq8xzeoydibcnd.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%2Fi%2Fg4uesslq8xzeoydibcnd.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
If you are now on the “D:” drive and you want to go to the Windows folder from the”C:” drive, you should type cd /d C:\Windows and press Enter.&lt;br&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%2Fi%2Frp21nn17ildz1bktt6vf.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%2Fi%2Frp21nn17ildz1bktt6vf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;09. Create a New Directory / Folder&lt;/strong&gt; (mkdir)&lt;br&gt;
You can make a new folder using the &lt;code&gt;mkdir&lt;/code&gt; (Make Directory) command. The syntax of these commands is &lt;code&gt;mkdir Folder&lt;/code&gt;.&lt;br&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%2Fi%2Fep065flpskw8umjamm6i.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%2Fi%2Fep065flpskw8umjamm6i.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
To test if it worked, use the &lt;code&gt;dir&lt;/code&gt; command. The newly created folder appears in the list.&lt;br&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%2Fi%2Fpg51iqq6vptzc21tclnx.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%2Fi%2Fpg51iqq6vptzc21tclnx.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
If you are working on the “C:” drive and you want to create a new folder in “D:,” called Google, type &lt;code&gt;mkdir d:\Google&lt;/code&gt; and then press Enter.&lt;br&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%2Fi%2F5qij2k0kkel53kklkade.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%2Fi%2F5qij2k0kkel53kklkade.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Clear Screen&lt;/strong&gt; (cls)&lt;br&gt;
To clear the existing commands in prompts type &lt;code&gt;cls&lt;/code&gt; and press Enter.&lt;br&gt;
&lt;code&gt;cls&lt;/code&gt;&lt;/p&gt;

</description>
      <category>cmd</category>
      <category>windows</category>
    </item>
    <item>
      <title>What is the difference between ‘is’ and ‘==’ in python</title>
      <dc:creator>Programmmer</dc:creator>
      <pubDate>Fri, 17 Jul 2020 19:58:07 +0000</pubDate>
      <link>https://dev.to/iamprogrammmer/what-is-the-difference-between-is-and-in-python-56oa</link>
      <guid>https://dev.to/iamprogrammmer/what-is-the-difference-between-is-and-in-python-56oa</guid>
      <description>&lt;p&gt;The ‘is’ operator compares the identity (memory location) of two objects while the ‘==’ operator compares the values of two objects.&lt;/p&gt;

&lt;p&gt;The ‘==’ operator return True when the values of two operands are equal and false otherwise.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(True == 1) 
# True means 1 (Python convert the boolean 'True' into integer 1) so True == 1 means 1 == 1

print('1' == 1) 
# '1' means string one and 1 means integer one, in python two different types are not comparable 

print([] == 1) 
# Empty list can't be equal to one

print(10 == 10.0) 
# Python can convert integer and float number, here Python convert them in the same type

print([1,2,3] == [1,2,3]) 
# I hope you understand it
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;True&lt;br&gt;
False&lt;br&gt;
False&lt;br&gt;
True&lt;br&gt;
True&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The ‘is’ operator return True if the variables on either side of the operator point to the same object (same memory location) and false otherwise.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(True is 1) 
print('1' is 1)
print([] is 1)
print(10 is 10.0)
print([1,2,3] is [1,2,3])
# in all examples both side of 'is' are in the difference location in memory (they are not identical) or you can say they are not same.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;False&lt;br&gt;
False&lt;br&gt;
False&lt;br&gt;
False&lt;br&gt;
False&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>100daysofcode</category>
    </item>
  </channel>
</rss>
