bundles / numpy 2.4.4 / numpy / f2py / f2py2e / run_main
function
numpy.f2py.f2py2e:run_main
source: /numpy/f2py/f2py2e.py :431
Signature
def run_main ( comline_list ) Summary
Equivalent to running::
Extended Summary
f2py <args>
where <args>=string.join(<list>,' '), but in Python. Unless -h is used, this function returns a dictionary containing information on generated modules and their dependencies on source files.
You cannot build extension modules with this function, that is, using -c is not allowed. Use the compile command instead.
Examples
The command ``f2py -m scalar scalar.f`` can be executed from Python as follows. .. literalinclude:: ../../source/f2py/code/results/run_main_session.dat :language: pythonAliases
-
numpy.f2py.run_main