run Fortran from python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SamX

    run Fortran from python

    I know Tcl can run Fortran excutables. Can python do the same?
    Thank you
  • Cameron Laird

    #2
    Re: run Fortran from python

    In article <31e18870.03121 42131.5cf4d329@ posting.google. com>,
    SamX <hs@bluepacif ic-technologies.co m> wrote:[color=blue]
    >I know Tcl can run Fortran excutables. Can python do the same?
    >Thank you[/color]

    Yes.

    Read up on such facilities as os.system and os.popen*
    <URL: http://rgruet.free.fr/PQR2.3.html#osModule >.
    --

    Cameron Laird <claird@phaseit .net>
    Business: http://www.Phaseit.net

    Comment

    • Cameron Laird

      #3
      Re: run Fortran from python

      In article <vtr5hpe8nql5ba @corp.supernews .com>,
      Cameron Laird <claird@phaseit .net> wrote:[color=blue]
      >In article <31e18870.03121 42131.5cf4d329@ posting.google. com>,
      >SamX <hs@bluepacif ic-technologies.co m> wrote:[color=green]
      >>I know Tcl can run Fortran excutables. Can python do the same?
      >>Thank you[/color]
      >
      >Yes.
      >
      >Read up on such facilities as os.system and os.popen*
      ><URL: http://rgruet.free.fr/PQR2.3.html#osModule >.[/color]

      Comment

      • Fernando Perez

        #4
        Re: run Fortran from python

        SamX wrote:
        [color=blue]
        > I know Tcl can run Fortran excutables. Can python do the same?
        > Thank you[/color]

        google('f2py')


        Comment

        Working...