<?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: Rohit Nishad</title>
    <description>The latest articles on DEV Community by Rohit Nishad (@rohitnishad613).</description>
    <link>https://dev.to/rohitnishad613</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%2F548579%2F4339fd9a-b7a9-41ee-b865-52b914ff80a0.jpeg</url>
      <title>DEV Community: Rohit Nishad</title>
      <link>https://dev.to/rohitnishad613</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rohitnishad613"/>
    <language>en</language>
    <item>
      <title>Multiple Classes in Material UI or MUI</title>
      <dc:creator>Rohit Nishad</dc:creator>
      <pubDate>Mon, 04 Oct 2021 11:55:55 +0000</pubDate>
      <link>https://dev.to/rohitnishad613/multiple-classes-in-material-ui-or-mui-3ee6</link>
      <guid>https://dev.to/rohitnishad613/multiple-classes-in-material-ui-or-mui-3ee6</guid>
      <description>&lt;p&gt;You can either use a proper String concatenation or if your needs are wide and highly used then I recommend adding a package for this purpose. In this post, we talk about Multiple classes in Material UI.&lt;/p&gt;

&lt;p&gt;So let’s add Multiple classes in Material UI with or without usestyles, withstyles, makestyle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Method #1: Concat classes properly in className property
&lt;/h2&gt;

&lt;p&gt;You can concat your classes with backticks&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const classes = usestyles()
className={`${classes.container} ${classes.spacious}`}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For more info and credit &lt;a href="https://360techexplorer.com/material-ui-multiple-classes/"&gt;read this blog post from 360TechExplorer.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
      <category>react</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Convert python 2 to python 3 [In 1 Single Click]</title>
      <dc:creator>Rohit Nishad</dc:creator>
      <pubDate>Sat, 24 Jul 2021 07:46:04 +0000</pubDate>
      <link>https://dev.to/rohitnishad613/convert-python-2-to-python-3-in-1-single-click-2a8p</link>
      <guid>https://dev.to/rohitnishad613/convert-python-2-to-python-3-in-1-single-click-2a8p</guid>
      <description>&lt;p&gt;After 1 January 2020 many companies and individuals are worried about their Python 2 code because Python’s organization stops support for Python 2, and the new development era was moving to python3 to solve this problem. There. They are few packages developed over time, one of them is official and extremely powerful.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Library that is used to convert your Python 2 code to Python 3 code.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;2to3 (Offical, recommended)&lt;/li&gt;
&lt;li&gt;Python Future + Futurize&lt;/li&gt;
&lt;li&gt;Six + Modernize&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now at this point, you definitely thinking well, what’s the difference between, 2to3, Python Future + Futurize, and Six + Modernize.&lt;/p&gt;

&lt;p&gt;Here’s your answer!&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s the difference between
&lt;/h2&gt;

&lt;p&gt;Automated tools for PY2 to PY3 conversion/compatibility?&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%2Fhp4o1qrnf22mwnmqld1e.jpg" 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%2Fhp4o1qrnf22mwnmqld1e.jpg" alt="2to3, Python Future + Futurize, and Six + Modernize"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to convert Python 2 to Python 3
&lt;/h2&gt;

&lt;p&gt;This can be very easy if you use any of the above libraries (do not forget to make sure the compatibility)&lt;br&gt;
There are two approaches for converting Python 2 to python 3.&lt;/p&gt;

&lt;h3&gt;
  
  
  Method #1: Convert Python 2 to python 3 using web-tool.
&lt;/h3&gt;

&lt;p&gt;There is a simple tool for converting python 2 to python 3.&lt;/p&gt;

&lt;h4&gt;
  
  
  you can use a &lt;a href="https://360techexplorer.com/tools/python-2-to-3-converter/" rel="noopener noreferrer"&gt;web application to convert python 2 to 3&lt;/a&gt;.
&lt;/h4&gt;

&lt;p&gt;This tool is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;100% FREE&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Compatible with All versions of Python&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Actively maintained&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Method #2: Convert Python 2 to python 3 using a python library.
&lt;/h3&gt;

&lt;p&gt;We can convert Python2 scripts to Python3 scripts by using the 2to3 module. It changes Python2 syntax to Python3 syntax. We can change all the files in a particular folder from python2 to python3.&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 1: Open your terminal and navigate to your File
&lt;/h4&gt;

&lt;p&gt;Open your terminal or CMD depend on whatever you are using Windows or Linux.&lt;/p&gt;

&lt;p&gt;Navigate to the directory where your python file(s) is/are located. (of course, using the “cd” command)&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 2: Install the library
&lt;/h4&gt;

&lt;p&gt;As usable, use pip to install 2to3, use can use any other library as well, I like 2to3&lt;/p&gt;

&lt;p&gt;Commnd: pip install 2to3&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 3: Convert the files
&lt;/h4&gt;

&lt;p&gt;Excute: 2to3 [file or folder] -w&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
