![]() | Method 1: write just the name of the scriptfile:
./datatrans1.py infile outfile # or datatrans1.py infile outfileif . (current working directory) or the directory containing datatrans1.py is in the path |
![]() | Method 2: run an interpreter explicitly:
python datatrans1.py infile outfileUse the first python program found in the path |
![]() | This works on Windows too (method 1 requires the right assoc/ftype bindings for .py files) |