Category:Python: Difference between revisions
Content added Content deleted
(Undo revision 8393 by Special:Contributions/Fq1Q4q (User talk:Fq1Q4q)) |
(Note about indentation) |
||
Line 4: | Line 4: | ||
Python is very readable and easy to create clean bug-free programs due to the motto: "Errors should never pass silently." |
Python is very readable and easy to create clean bug-free programs due to the motto: "Errors should never pass silently." |
||
Python source files (.py files) are typically compiled to an intermediate bytecode language (.pyc files) and executed by a Python Virtual Machine. |
Python source files (.py files) are typically compiled to an intermediate bytecode language (.pyc files) and executed by a Python Virtual Machine. |
||
Note: because Python use whitespace for structure, do not format long code example with leading whitespace, but use <pre></pre> tags. This will make it easier to copy tested code into the wiki, and copying code out of the wiki. Example: |
|||
<pre> |
|||
print 'this line must not have leading indentation!' |
|||
</pre> |
|||
==See Also== |
==See Also== |