Read the script to understand what it is doing.
It extracts =.basdef from an FPLO output file. This =.basdef
will contain the basis actually used during the calculation
(as opposed to the defualt =.basdef). Once extracted, it
will be used henceforth during calculations (and can be modified).


run extractbasdeffromout.py as

  extractbasdeffromout.py

then have a look at =.basdef.


If pyfplo path needs to be set use wrapp.sh. First edit pyfplopath
in wrapp.sh and then just put it in front as in any of the following.

wrapp.sh extractbasdeffromout.py
