<?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: Himanshu Bhatnagar</title>
    <description>The latest articles on DEV Community by Himanshu Bhatnagar (@himan10).</description>
    <link>https://dev.to/himan10</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%2F154899%2F70407679-6922-43ab-83e5-2e4dbe0d7eec.jpeg</url>
      <title>DEV Community: Himanshu Bhatnagar</title>
      <link>https://dev.to/himan10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/himan10"/>
    <language>en</language>
    <item>
      <title>BLACK-JACK with Python</title>
      <dc:creator>Himanshu Bhatnagar</dc:creator>
      <pubDate>Tue, 12 Nov 2019 07:13:26 +0000</pubDate>
      <link>https://dev.to/himan10/black-jack-with-python-30ho</link>
      <guid>https://dev.to/himan10/black-jack-with-python-30ho</guid>
      <description>&lt;p&gt;Hey guys... Recently I learned about Object-oriented Programming (with python) and It was really cool experience, so I put all that I learned from OOP's theories and Classes and objects into a project of card game (named BlackJack)... &lt;br&gt;
So here's the link of my project - &lt;a href="https://github.com/Himan10/Black-Jack"&gt;https://github.com/Himan10/Black-Jack&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like it... also project is still in progress,&lt;br&gt;
So if you have any suggestions or issues then please let me know &lt;br&gt;
Thankyou.&lt;/p&gt;

</description>
      <category>python</category>
      <category>oop</category>
    </item>
    <item>
      <title>Explain TimeComplexity Like I'm Five</title>
      <dc:creator>Himanshu Bhatnagar</dc:creator>
      <pubDate>Thu, 09 May 2019 16:07:18 +0000</pubDate>
      <link>https://dev.to/himan10/explain-x-like-i-m-five-37pg</link>
      <guid>https://dev.to/himan10/explain-x-like-i-m-five-37pg</guid>
      <description>&lt;p&gt;Hello Everyone, currently I was working on time complexity for python programs  ... I know about time complexity and yeah I reduced the complexity from a huge amount of seconds but still, I can't figure out some reasons i.e.,&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Why adding some external functions(like logging.debug()) in my algorithm somewhere results in an increase the run time of an algorithm?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;what if I choose a mathematical equation over iterations, assignment and return process. How can the time complexity affect our algorithm in this case?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Time complexity is an essential part to calculate but in some cases, it may affect the average clock and CPU usage by keeping one cpu busy. How to resolve this problem?&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>complexity</category>
    </item>
    <item>
      <title>FileSearching With Python</title>
      <dc:creator>Himanshu Bhatnagar</dc:creator>
      <pubDate>Sun, 21 Apr 2019 15:10:54 +0000</pubDate>
      <link>https://dev.to/himan10/filesearching-with-python-15ki</link>
      <guid>https://dev.to/himan10/filesearching-with-python-15ki</guid>
      <description>&lt;p&gt;Hi guys ...&lt;br&gt;
I designed a python program for searching, Sending the files from the searched location to the newly created directory.&lt;/p&gt;

&lt;p&gt;It can searches any file from any location also sending of permission restricted file is also possible(i don't exclude any dot files from the os.walk() function but the folders which don't contain anything in it or folders which don't have any file is excluded).&lt;/p&gt;

&lt;p&gt;How FileSearching Works ??&lt;br&gt;
-&amp;gt; So, the main working of FileSearching rely on some functions and modules i.e.,&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;OS - This module helped me with its several functions so that i can be able to communicate with my operating system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shutil - Helped in Sending Files from source to destination location.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;os.walk() - Helped in iterating over a list of folders, sub-directories, files.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Regex - Helped in creating a pattern for searching that particular files(based on some extension ex. mp3, pdf, 7z, bz, mp4 and lot more).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These four masterpieces helped me to get my job perfectly done and there're also other functions but this Four is like a blueprint so that an end-user can understand how FileSearching works without even check every line of the code.&lt;/p&gt;

&lt;p&gt;Project is still in development, If anybody needs to look the source code or test the project then he'll check my GitHub repo. of FileSearching -&amp;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--vJ70wriM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Himan10"&gt;
        Himan10
      &lt;/a&gt; / &lt;a href="https://github.com/Himan10/FileSearching"&gt;
        FileSearching
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Make your file searching (Based on Extensions) more Accurate and Effective
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
What FileSearching is all about -&lt;/h1&gt;
&lt;p&gt;Well FileSearcing program provide you the better way to search your files( based on extension ) from anywhere in the system.&lt;/p&gt;

&lt;p&gt;It also provide a copy of searched items in a newly created directory along with a file which consist of paths. Here path referred to that location where those items exist.&lt;/p&gt;

&lt;p&gt;User need to provide the file extension and Location in order to search item and in return user have names/paths of searched items, and able to copy searched items.&lt;/p&gt;

&lt;p&gt;For example :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;input -&amp;gt; mp3
         location (/home/Downloads , /usr/bin)
output -&amp;gt; Names/Paths of mp3 files
                or
          Copy files to a newly created directory
&lt;/code&gt;&lt;/pre&gt;

&lt;h1&gt;
How This Works -&lt;/h1&gt;

&lt;p&gt;-&amp;gt; OS - &lt;a href="https://docs.python.org/3/library/os.html" rel="nofollow"&gt;https://docs.python.org/3/library/os.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; Shutil - &lt;a href="https://docs.python.org/3/library/shutil.html" rel="nofollow"&gt;https://docs.python.org/3/library/shutil.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; Regex - &lt;a href="https://docs.python.org/3/library/re.html" rel="nofollow"&gt;https://docs.python.org/3/library/re.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; Sys - &lt;a href="https://docs.python.org/3/library/sys.html" rel="nofollow"&gt;https://docs.python.org/3/library/sys.html&lt;/a&gt;&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;# -&amp;gt; os.walk()&lt;br&gt;
os.walk() helps me to iterate over a list of folders, subfolders, files&lt;br&gt;
Using os.walk(path) we&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Himan10/FileSearching"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
 

&lt;p&gt;This is my first post in dev.to community ... So, Guys Please look at the repo. and provide suggestions for its improvement. &lt;/p&gt;

&lt;p&gt;Thankyou.&lt;/p&gt;

</description>
      <category>python</category>
      <category>regex</category>
    </item>
  </channel>
</rss>
