| | from os.path import expanduser |
| | |
| | -home = expanduser( "~" ) |
| | -app_home = home + "/bin" |
| | +dir_home = expanduser( "~" ) |
| | +app_home = dir_home + "/bin" |
| | app_bin = app_home + "/scrivenvar.jar" |
| | |
 |
| | type( c ) |
| | random_wait() |
| | + |
| | +# ----------------------------------------------------------------------------- |
| | +# Type a line of text followed by typing the ENTER key. |
| | +# ----------------------------------------------------------------------------- |
| | +def typeln( text ): |
| | + typer( text ) |
| | + enter() |
| | |
| | # ----------------------------------------------------------------------------- |
 |
| | # Writes a heading to the document using the given text value as the content. |
| | # ----------------------------------------------------------------------------- |
| | -def header( text ): |
| | +def heading( text ): |
| | typer( "# " + text ) |
| | paragraph() |