What do numbers starting with 0 mean in python?
<p>When I type small integers with a 0 in front into python, they give weird results. Why is this?</p>

<pre><code>&gt;&gt;&gt; 011
9
&gt;&gt;&gt; 0100
64
&gt;&gt;&gt; 027
23
</code></pre>

<p>Note: Python version 2.7.3
I have tested this in Python 3.0, and apparently this is now an error. So it is something version-specific. </p>

<p>Edit: they are apparently still integers:</p>

<pre><code>&gt;&gt;&gt; type(027)
`&lt;type 'int'&gt;`
</code></pre>
