Re: [staf-users] Staf Stax Python Code Indentation

2009-08-18 Thread Sangram Bakshi
t; 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 > Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* > > > -- > > > > *Sangram Bakshi * > > 08/18/2009 07:24 AM >To >

Re: [staf-users] Staf Stax Python Code Indentation

2009-08-18 Thread David Bender
Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com Sangram Bakshi 08/18/2009 07:24 AM To staf-users@lists.sourceforge.net cc Subject Re: [staf-users] Staf Stax Python Code Indentation Hi , I

Re: [staf-users] Staf Stax Python Code Indentation

2009-08-18 Thread Sangram Bakshi
Hi , I observe the code compiles with four spaces after a "if" or "for " , but it fails to compile if by mistake we give a "tab"(equivalent to four spaces). I am able to work fine , my code compiles fine. Do suggest any other tips for indentation. Regards On Tue, Aug 18, 2009 at 5:12 PM, San

[staf-users] Staf Stax Python Code Indentation

2009-08-18 Thread Sangram Bakshi
Hi , I was coding python in staf stax job. I follow basic python indentation. For e.g: nodeList = document.getElementsByTagName("machine_name") x = nodeList.getLength() if nodeList.getLength(): nodeList = document.getElementsByTagName("machine_name") for i in range(nodeList.