Toggle navigation
Forpy
Contents
Source File
Modules
Procedures
Derived Types
Source File
Modules
Procedures
Derived Types
run_string
Function
11 statements
Source File
forpy_mod.F90
forpy_mod
run_string
All Procedures
assign_py
bytes_create
call_py
call_py_noret
cast
cast_nonstrict
dict_create
err_clear
err_print
exception_matches
forpy_finalize
forpy_initialize
forpy_initialize_ext
get_sys_path
have_exception
import_py
is_bool
is_bytes
is_complex
is_dict
is_float
is_int
is_list
is_long
is_ndarray
is_none
is_null
is_str
is_tuple
is_unicode
list_create
ndarray_create
ndarray_create_empty
ndarray_create_nocopy
ndarray_create_ones
ndarray_create_zeros
NoneType_create
print_py
raise_exception
run_string
str_create
tuple_create
unicode_create
unsafe_cast_from_c_ptr
public function run_string(string) result(ierror)
Run Python code that is given as string.
Arguments
Type
Intent
Optional
Attributes
Name
character(kind=C_CHAR,len=*),
intent(in)
::
string
Python code to run.
Return Value
integer(kind=C_INT)
Error code, 0 on success
All Procedures
assign_py
bytes_create
call_py
call_py_noret
cast
cast_nonstrict
dict_create
err_clear
err_print
exception_matches
forpy_finalize
forpy_initialize
forpy_initialize_ext
get_sys_path
have_exception
import_py
is_bool
is_bytes
is_complex
is_dict
is_float
is_int
is_list
is_long
is_ndarray
is_none
is_null
is_str
is_tuple
is_unicode
list_create
ndarray_create
ndarray_create_empty
ndarray_create_nocopy
ndarray_create_ones
ndarray_create_zeros
NoneType_create
print_py
raise_exception
run_string
str_create
tuple_create
unicode_create
unsafe_cast_from_c_ptr