[Novalug] Learning Python ???
The Doctor
drwho@virtadpt.net
Sat Mar 23 10:50:44 EDT 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/22/2013 07:26 PM, Rob Sanders wrote:
> Scoping is indicated by indentation, so whitespace is *important*.
Pick an editor
> of choice, disable the use of tab characters (or have them
explicitly replaced by
> spaces - this is what I did with nedit), and decide upon a
CONSISTENT indentation
> style (I tend to use 4 spaces). If I had a nickel for every time
this has bitten me
A good example of setting up your text editor is Google's vimrc.python
file:
https://google-styleguide.googlecode.com/svn/trunk/google_python_style.vim
The settings therein should be fairly easy to port to other text
editors and environments.
- --
The Doctor [412/724/301/703] [ZS]
Developer, Project Byzantium: http://project-byzantium.org/
PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F DD89 3BD8 FF2B 807B 17C1
WWW: https://drwho.virtadpt.net/
"Fate rarely calls upon us at a moment of our choosing." --Optimus Prime
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlFNwUQACgkQO9j/K4B7F8FEQQCfex/vvBLAMI3RvL+n4dwP7PYH
fVEAmwULhyw7lAU10483UZ2HZ3LLSwBZ
=2GyX
-----END PGP SIGNATURE-----
More information about the Novalug
mailing list