Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple REPL Fortran utility

Project Description

Simple Fortran interface

Beginner Fortran developers are often puzzled with
correctness of FORTRAN statements syntax.
These last just never stop surprising.

Writing little simple programs often can be helful but tedious.
This script simplifies this process.
It maintains a list of FORTRAN statements, and:
* generates FORTRAN source file from a template
* compiles the file
* runs the file and display its output
* uses readline library to provide history of input


$ python -m fytran
!! - compile and execute expressions
!l - print expressions
!d - delete an expressions
!c - clear the list of expressions
!u - remove last stmt
!q - quit
>>> print *, 'hello' world
>>> !!
print *, 'hello' world
Error: Syntax error in PRINT statement at (1)
>>> !u
>>> print *, 'hello'
>>> !!
>>> !q

The FORTRAN template uses:

implicit real*8 (a-h, o-z)

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.0 kB) Copy SHA256 Hash SHA256
Source None May 23, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate