Skip to content
Command line Python scripts
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
UFOInstanceGenerator.py
buildAll.py
checkAll.py
generateAllKernFiles.py
generateAllMarkFiles.py
generateSingleKernFile.py
generateSingleMarkFiles.py
hintAll.py
pfa2txt.py
ufo2pfa.py
ufo2txt.py

README.md

Python scripts

Assortment of scripts that run on the command line, i.e. Terminal on Mac OS X, and Command Prompt on Windows.

Installation

Mac OS X: A version of Python is already installed.

Windows: You will need to install one of the 2.x versions available at python.org.

Dependencies

Some of the scripts may require additional Python packages or depend on certain tools being installed and appropriately configured to run on the command line. Here is a list of the locations from which you may need to get the extra tools and packages:

Using the scripts

  1. Download the ZIP package and unzip it.
    • Most of the scripts will run by simply typing python followed by the file name of the script, e.g. python theScript.py.
    • If the script is in a different directory from which you are trying to run it, you will need to provide the full path to the script's file, e.g. python /Users/myself/foldername/theScript.py.
    • Some scripts may allow you to use options, or require that you provide input files. To learn how to use those scripts, open them in a text editor app (e.g. TextEdit, Notepad) and read the documentation near the top of the file.
Something went wrong with that request. Please try again.