How to use F2Py
through Python instead of calling it in command line?
I have a portable Python in use, am not able to install Python. Thus it is not possible to install packages except those work if I unzip the package and copy all to the folder 'site-packages'. Having these mentioned, it is also impossible to change environmental variables, i.e., path
(cannot be changed, appended;) though it is not possible to call commands 'F2Py' in short form.
Although F2Py
is part of numpy and numpy is installed in the portable Python, there is no 'F2Py.py' installed anywhere.
The question is how to use F2Py
to compile Fortran code being used in Python considering the access limtation etc?
Note that there is a GFortran
binary unpacked in a folder.