Sun Grid Engine / NFS and Python shell execution question

2010-07-22 Thread J.B. Brown
e (which performs cross validation by repeatedly executing in a subshell) in terms of a shell script language filled with a large number of conditional statements, does anyone know of a way to execute external programs in the middle of a script without referencing the shell resource file located on an NFS mounted directory? I have read through the >help(os) documentation repeatedly, but just can't find a solution. Even a small lead or thought would be greatly appreciated. With thanks from humid Kyoto, J.B. Brown -- http://mail.python.org/mailman/listinfo/python-list

Re: python styles: why Use spaces around arithmetic operators?

2010-07-28 Thread J.B. Brown
minimum of 1 comment line per 3 code lines (1:3) though I often code 1:2 or 1:1, I use the parenthesis style above. Example: # The true positive rate of an experiment is calculated as: TPR = [ TP / ( TP + FN ) ] . Just food for thought. J.B. Brown Kyoto University -- http://mail.python.org/mailman/listinfo/python-list

Re: Python "why" questions

2010-08-19 Thread J.B. Brown
es the internal conversion from 1 to 0 as the starting index? Better yet, include a method which sets/specifies the 0/1 behavior, and have item() reference the 0/1 setting to obtain the proper offset. Just a thought. J.B. Brown Kyoto University -- http://mail.python.org/mailman/listinfo/python-list