diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-04-14 15:47:42 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-04-14 15:47:42 -0400 |
commit | 1842e2754334ffc8e1a5127c19a397fa594f5ee8 (patch) | |
tree | fe26d328b9099ca93469fc7350f6eb79179196c3 /worker/worker1.py | |
parent | 0c30d2a1ac3ff3ea9fdb0df7443f1f9659040f46 (diff) | |
download | htcondor_examples-1842e2754334ffc8e1a5127c19a397fa594f5ee8.tar.gz |
Add documentation
Diffstat (limited to 'worker/worker1.py')
-rwxr-xr-x | worker/worker1.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/worker/worker1.py b/worker/worker1.py index ae2f9d8..8a31501 100755 --- a/worker/worker1.py +++ b/worker/worker1.py @@ -1,4 +1,11 @@ #!/usr/bin/env python +''' All this does is: + 1. Open an input file + 2. Read a list of integers (x) + 3. Add to the integers: x += 1 + 4. Write list of integers to a new file +''' + import os import argparse @@ -32,4 +39,4 @@ if __name__ == '__main__': for infile in ARGS.INFILE: do_work(os.path.abspath(infile)) - exit(0)
\ No newline at end of file + exit(0) |