<div dir="ltr">Python is nice (... kind of) in that it gives the user choice!<div><br></div><div>You can use a tab per indent.</div><div>You can use 4 spaces per indent.</div><div>You can use 2 spaces per indent.</div><div><br></div><div>You can even combine the above in a single file! (though not within the same function). </div><div>(Please don't do this.)</div><div><br></div><div>...</div><div><br></div><div>On a more serious note, there is the PEP8 style guide, which you are completely entitled to ignore: <a href="https://www.python.org/dev/peps/pep-0008/">https://www.python.org/dev/peps/pep-0008/</a></div><div>We do try and comply with it at work however, a few of the teams are a bit draconian about it and have pre-commit hooks on their git repos that don't allow you to commit unless your code passes a PEP8 style check :-)  (You learn to write PEP8 compliant code *very* quickly.)</div><div><br></div><div>73</div><div>Mark VK5QI</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 21, 2017 at 8:30 PM, Glen English VK1XX <span dir="ltr"><<a href="mailto:glenlist@pacificmedia.com.au" target="_blank">glenlist@pacificmedia.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">it's only 1 x tab per indent...<br>
<br>
(I never use spaces)<br>
<span class="im HOEnZb">On 20/11/2017 11:58 PM, Matthew Cook wrote:<br>
> I can code in any language however it all looks like C.<br>
><br>
> I'm sort of forced to learn Python since my 10yr old is mad keen to<br>
> learn programming...   <br>
><br>
> However I still can't get used to using it's crazy white space<br>
> indentation for code blocks...<br>
><br>
> 73<br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
OZAPRS mailing list<br>
<a href="mailto:OZAPRS@aprs.net.au">OZAPRS@aprs.net.au</a><br>
<a href="http://lists.aprs.net.au/mailman/listinfo/ozaprs" rel="noreferrer" target="_blank">http://lists.aprs.net.au/<wbr>mailman/listinfo/ozaprs</a><br>
</div></div></blockquote></div><br></div>