-
Notifications
You must be signed in to change notification settings - Fork 2
Language: Shell Statement
Maurice HT Ling edited this page Dec 6, 2015
·
2 revisions
Launch a language-specific interpreter within TAPPS.
Syntax:
- PYTHONSHELL: Launch a Python interpreter.
For Python interpreter, the following variables are defined, or imported:
- pprint - Pretty print is imported
- all functions in tapps.py are imported
- TAPPS engine is imported as tapps_engine
- session variable points to the current session dictionary
- environment variable points to the current environment dictionary
- dataframe variable points to the current dataframes within session (session['MDF'].frames)
Example:
# Set relative current working directory and load a CSV file
set rcwd data
load csv STI_2015.csv as STI
# Launch a Python interpreter within TAPPS
pythonshell
- Bytecodes generated are:
- pythonshell
Copyright (c) 2015, Maurice HT Ling on behalf of all authors and TAPPS Development Team.