PythonMonkey v0.9.1 (dev)
|
Enumerations | |
enum | PromiseState { Pending = 0 , Fulfilled = 1 , Rejected = 2 } |
Variables | |
declare const | python |
print(...values:any) eval(code:string, globals?:Record< string, any >, locals?:Record< string, any >) exec(code:string, globals?:Record< string, any >, locals?:Record< string, any >) | stdout |
read (n:number) | |
stderr | __pad0__ |
getenv(key:string) exit(exitCode:number) load(filename:string) | paths |
var declare | __filename |
var declare | __dirname |
var declare | console |
var declare | atob |
var declare | btoa |
var declare | setTimeout |
var declare | clearTimeout |
var declare | setInterval |
var declare | clearInterval |
var declare | URL |
var declare | URLSearchParams |
var declare | XMLHttpRequest |
declare type | TypedArray |
enum PromiseState |
var declare __dirname |
var declare __filename |
stderr __pad0__ |
Python sys.stderr
.
var declare atob |
var declare btoa |
var declare clearInterval |
var declare clearTimeout |
var declare console |
see pm.eval
getenv (key: string) exit (exitCode: number) load (filename: string) paths |
Python os.getenv
. Get an environment variable, return undefined if it doesn't exist. Python exit
. Exit the program. Loads a python module using importlib, prefills it with an exports object and returns the module. Python sys.path
declare const python |
read(n:number) | ( | n:number | ) |
var declare setInterval |
var declare setTimeout |
print (...values: any) eval (code: string, globals?: Record<string, any>, locals?: Record<string, any>) exec (code: string, globals?: Record<string, any>, locals?: Record<string, any>) stdout |
Python print
Python eval
Python exec
Python sys.stdout
.
declare type TypedArray |
var declare URL |
var declare URLSearchParams |
var declare XMLHttpRequest |