PlasmaCalcs
Usage
PlasmaCalcs API
plasma_calculator
quantities
dimensions
units
hookups
addons
other_calculators
mhd
multi_run_analysis
tools
array_select
arrays
display
docs_tools
fft_tools
history
imports
io_tools
attempt_literal_eval
read_idl_params_file
read_python_params_file
updated_idl_params_file
iterables
math
multiprocessing
oop_tools
os_tools
properties
pytools
sentinels
supercomputer
timing
trees
xarray_tools
plotting
defaults
errors
PlasmaCalcs
PlasmaCalcs API
tools
io_tools
attempt_literal_eval
View page source
attempt_literal_eval
PlasmaCalcs.tools.io_tools.
attempt_literal_eval
(
s
)
returns ast.literal_eval(s), or s if the literal_eval fails.