<?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: fernandocavill</title>
    <description>The latest articles on DEV Community by fernandocavill (@fernandocavill).</description>
    <link>https://dev.to/fernandocavill</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%2F895395%2F99b0aca7-f8e9-43d3-b499-7d56a3406b9f.png</url>
      <title>DEV Community: fernandocavill</title>
      <link>https://dev.to/fernandocavill</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fernandocavill"/>
    <language>en</language>
    <item>
      <title>The different syntax of import packages between python and Nodejs</title>
      <dc:creator>fernandocavill</dc:creator>
      <pubDate>Thu, 21 Jul 2022 03:21:51 +0000</pubDate>
      <link>https://dev.to/fernandocavill/the-different-syntax-of-import-packages-between-python-and-nodejs-2ldd</link>
      <guid>https://dev.to/fernandocavill/the-different-syntax-of-import-packages-between-python-and-nodejs-2ldd</guid>
      <description>&lt;p&gt;In the ES6 and Nodejs, we import packages like&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;default_package_name&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;module-name&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;However, it is total opposite in python, the from keyword is at beginning&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="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;package_name&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;module_name&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;why the two syntax are so similar but the order is completely difference.  &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>python</category>
      <category>node</category>
    </item>
  </channel>
</rss>
