<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How does Python compile code? in Tools</title>
    <link>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301131#M3679</link>
    <description>&lt;P&gt;Hello, everyone.&lt;/P&gt;
&lt;P&gt;I don't quite understand this part that my book explains about Python&lt;BR /&gt;&lt;STRONG&gt;"Python is an interpreted language, which means it executes instructions directly, without the need to compile the program first."&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I haven't programmed much before but isn't the compiler what translates the code that we write into machine readable code? So does Python still use a compiler or not? There has to be something that will translate the code, right?&lt;/P&gt;
&lt;P&gt;That's all,&lt;BR /&gt;David&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jun 2025 15:09:27 GMT</pubDate>
    <dc:creator>Mitrixsen</dc:creator>
    <dc:date>2025-06-20T15:09:27Z</dc:date>
    <item>
      <title>How does Python compile code?</title>
      <link>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301131#M3679</link>
      <description>&lt;P&gt;Hello, everyone.&lt;/P&gt;
&lt;P&gt;I don't quite understand this part that my book explains about Python&lt;BR /&gt;&lt;STRONG&gt;"Python is an interpreted language, which means it executes instructions directly, without the need to compile the program first."&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I haven't programmed much before but isn't the compiler what translates the code that we write into machine readable code? So does Python still use a compiler or not? There has to be something that will translate the code, right?&lt;/P&gt;
&lt;P&gt;That's all,&lt;BR /&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 15:09:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301131#M3679</guid>
      <dc:creator>Mitrixsen</dc:creator>
      <dc:date>2025-06-20T15:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How does Python compile code?</title>
      <link>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301142#M3680</link>
      <description>&lt;P&gt;The book has&amp;nbsp;simplifies as in Python the compilation step is largely invisible for most Python users.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Python is considered "interpreted language" because from the user perspective as a coder, it does act like one. We write our Python code (save this as a .py file) then we can the run it using the Python interpreter, without explicitly compiling it into a standalone executable beforehand. There is a LOT more to this behind the curtain&amp;nbsp;&lt;A href="https://eddieantonio.ca/blog/2023/10/25/python-is-a-compiled-language/" target="_blank"&gt;https://eddieantonio.ca/blog/2023/10/25/python-is-a-compiled-language/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So in short,&amp;nbsp;Yes, Python does&amp;nbsp;use a compiler, but it is an internal step that you typically don't interact with directly. It compiles your code into bytecode, not directly into machine code.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 15:31:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301142#M3680</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-06-20T15:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How does Python compile code?</title>
      <link>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301145#M3681</link>
      <description>&lt;P&gt;Hello David,&lt;/P&gt;
&lt;P&gt;2 yes!&amp;nbsp;Yes&lt;SPAN&gt;, python use a compiler _ but it compiles to &lt;/SPAN&gt;bytecode&lt;SPAN&gt;, not direct machine code. And&amp;nbsp;&lt;/SPAN&gt;yes&lt;SPAN&gt;, Python is interpreted—but by its own runtime that &lt;/SPAN&gt;executes&lt;SPAN&gt; the bytecode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From your everyday coding experiense, it feel like an interpreted language ; no manual compile steps, no standalone executable, just “python myscript.py” and it runs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 15:38:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-does-python-compile-code/m-p/5301145#M3681</guid>
      <dc:creator>M02@rt37</dc:creator>
      <dc:date>2025-06-20T15:38:46Z</dc:date>
    </item>
  </channel>
</rss>

