User Manual
14-27
u File Content Display and Editing
Opening a py file that satisfies conditions (A) and (B) below in the PYTHON mode will produce
a normal display of all of the file contents. A py file that shows contents can be displayed
normally and edited in the PYTHON mode.
(A) py file written in ASCII characters only and saved using UTF-8 or other ASCII-compatible
codes
• If a file saved with character codes that are not compatible with ASCII, none of its
contents will be displayed if you open it in the PYTHON mode. All of the character will be
replaced by spaces, or appear garbled.
(B) py file with up to 150 lines, each line containing up to 127 characters
• The contents of a py file that exceeds the number of characters and/or number of lines
specified above cannot be displayed in the PYTHON mode. Attempting to open such a
file will display an “Invalid Data Size” error.
• Though the contents of a py file that exceeds the number of characters and/or number of
lines specified above cannot be displayed or edited in the PYTHON mode, you may be
able to run it. See “Running a py File” (
page 14-27).
• All tab codes in a py file will be replaced by two spaces when the file is opened in the
PYTHON mode.
• No type of newline codes (LF, CR, CR+LF) have an effect on PYTHON mode display
contents. All newline codes in a py file will be replaced by CR+LF (Windows standard
newline code) when the file is opened in the PYTHON mode. Before transferring a py file that
was edited and saved in the PYTHON mode to an external device for use on that device,
replace its newline codes with the type that is appropriate for the environment where the file
will be used.
u Running a py File
You may be able to run a py file if that file is displayed on the file list screen in the PYTHON
mode. See “File Name Display” (page 14-26). Note the important points below.
• Running a py file that includes commands not supported by the calculator’s PYTHON mode
will result in an error.
• Using the PYTHON mode to open a py file created on an external device will cause
characters and newline codes to be replaced. For details, see “File Content Display and
Editing” (
page 14-27). Because of this, opening a py file in the PYTHON mode, saving it,
and running it, will change the content from the original py file, which may affect the running
results.